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

TestDirectoryScanner#testDirectoryScannerInFederatedCluster fails intermittently in trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • datanode
    • env free

    • 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-001.patch
          1 kB
          qiang Liu
        2. HDFS-14669-trunk.002.patch
          1 kB
          qiang Liu
        3. HDFS-14669-trunk.003.patch
          2 kB
          qiang Liu
        4. HDFS-14669-trunk.004.patch
          1 kB
          qiang Liu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: