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

ConcurrentModificationException error happens on NameNode occasionally

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.4.0, 3.2.3, 3.3.2
    • Component/s: hdfs
    • Labels:
      None
    • Target Version/s:

      Description

      ConcurrentModificationException error happens on NameNode occasionally.

       

      2021-01-23 20:21:18,107 | ERROR | RedundancyMonitor | RedundancyMonitor thread received Runtime exception.  | BlockManager.java:4746
      java.util.ConcurrentModificationException
      	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
      	at java.util.ArrayList$Itr.next(ArrayList.java:859)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeReconstructionWorkForBlocks(BlockManager.java:1907)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeBlockReconstructionWork(BlockManager.java:1859)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeDatanodeWork(BlockManager.java:4862)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$RedundancyMonitor.run(BlockManager.java:4729)
      	at java.lang.Thread.run(Thread.java:748)
      

       

       

        Attachments

        1. HDFS-15796-0001.patch
          1 kB
          Daniel Ma

          Issue Links

            Activity

              People

              • Assignee:
                Daniel Ma Daniel Ma
                Reporter:
                Daniel Ma Daniel Ma
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: