Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8031 Follow-on work for erasure coding phase I (striping layout)
  3. HDFS-9822

Erasure Coding: Avoids scheduling multiple reconstruction tasks for a striped block at the same time

    XMLWordPrintableJSON

Details

    Description

      Found the following AssertionError in https://builds.apache.org/job/PreCommit-HDFS-Build/14501/testReport/org.apache.hadoop.hdfs.server.namenode/TestReconstructStripedBlocks/testMissingStripedBlockWithBusyNode2/

      AssertionError: Should wait the previous reconstruction to finish
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.validateReconstructionWork(BlockManager.java:1680)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeReconstructionWorkForBlocks(BlockManager.java:1536)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeBlockReconstructionWork(BlockManager.java:1472)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeDatanodeWork(BlockManager.java:4229)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$ReplicationMonitor.run(BlockManager.java:4100)
      	at java.lang.Thread.run(Thread.java:745)
      
      	at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:126)
      	at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:170)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$ReplicationMonitor.run(BlockManager.java:4119)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        1. HDFS-9822-001.patch
          3 kB
          Rakesh Radhakrishnan
        2. HDFS-9822-002.patch
          3 kB
          Rakesh Radhakrishnan

        Activity

          People

            Sammi Sammi Chen
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated: