Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14669

TestDirectoryScanner#testDirectoryScannerInFederatedCluster fails intermittently in trunk

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: datanode
    • Labels:
    • Environment:

      env free

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner#testDirectoryScannerInFederatedCluster radomlly Failes because of write files of the same name, meaning intent to write 2 files but  2 files are the same name, witch cause a race condition of datanode delete block and the scan action count block.

       

      Ref :: https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/1207/testReport/junit/org.apache.hadoop.hdfs.server.datanode/TestDirectoryScanner/testDirectoryScannerInFederatedCluster/

       

        Attachments

        1. HDFS-14669-trunk.002.patch
          1 kB
          qiang Liu
        2. HDFS-14669-trunk.003.patch
          2 kB
          qiang Liu
        3. HDFS-14669-trunk.004.patch
          1 kB
          qiang Liu
        4. HDFS-14669-trunk-001.patch
          1 kB
          qiang Liu

          Issue Links

            Activity

              People

              • Assignee:
                iamgd67 qiang Liu
                Reporter:
                iamgd67 qiang Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: