Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12940

Ozone: KSM: TestKeySpaceManager#testExpiredOpenKey fails occasionally

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Reviewed

    Description

      TestKeySpaceManager#testExpiredOpenKey is flaky.

      In testExpiredOpenKey we are opening four keys for writing and wait for them to expire (without committing). Verification/Assertion is done by querying MiniOzoneCluster and matching the count. Since the cluster instance of MiniOzoneCluster is shared between test-cases in TestKeySpaceManager, we should not rely on the count. The verification should only happen by matching the keyNames and not with the count.

      Attachments

        1. HDFS-12940-HDFS-7240.000.patch
          5 kB
          Nandakumar
        2. HDFS-12940-HDFS-7240.001.patch
          5 kB
          Nandakumar
        3. HDFS-12940-HDFS-7240.002.patch
          2 kB
          Xiaoyu Yao
        4. HDFS-12940-HDFS-7240.003.patch
          9 kB
          Nandakumar
        5. HDFS-12940-HDFS-7240.004.patch
          9 kB
          Nandakumar

        Activity

          People

            nanda Nandakumar
            nanda Nandakumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: