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

Do not invalidate blocks if toInvalidate is empty

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0, 3.0.1
    • Component/s: None
    • Labels:
    • Target Version/s:

      Description

      java.lang.AssertionError: Test resulted in an unexpected exit
      	at org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencingWithReplication.testFencingStress(TestDNFencingWithReplication.java:147)
      :
      :
      2017-10-19 21:39:40,068 [main] INFO  hdfs.MiniDFSCluster (MiniDFSCluster.java:shutdown(1965)) - Shutting down the Mini HDFS Cluster
      2017-10-19 21:39:40,068 [main] FATAL hdfs.MiniDFSCluster (MiniDFSCluster.java:shutdown(1968)) - Test resulted in an unexpected exit
      1: java.lang.AssertionError
      	at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:265)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$RedundancyMonitor.run(BlockManager.java:4437)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.AssertionError
      	at org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.addBlocksToBeInvalidated(DatanodeDescriptor.java:641)
      	at org.apache.hadoop.hdfs.server.blockmanagement.InvalidateBlocks.invalidateWork(InvalidateBlocks.java:299)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.invalidateWorkForOneNode(BlockManager.java:4246)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeInvalidateWork(BlockManager.java:1736)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeDatanodeWork(BlockManager.java:4561)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$RedundancyMonitor.run(BlockManager.java:4418)
      	... 1 more
      

        Attachments

        1. HDFS-12891.01.patch
          2 kB
          Zsolt Venczel
        2. HDFS-12891.02.patch
          1 kB
          Zsolt Venczel

          Activity

            People

            • Assignee:
              zvenczel Zsolt Venczel
              Reporter:
              zvenczel Zsolt Venczel
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: