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

ConcurrentModificationException exception during DataNode shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.4.0
    • None
    • datanode
    • None

    Description

      Exception hit during DN shutdown while running TestWebHdfsWithMultipleNameNodes:

      java.util.ConcurrentModificationException: null
      	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:934)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:932)
      	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeImpl.shutdown(FsVolumeImpl.java:251)
      	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList.shutdown(FsVolumeList.java:249)
      	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl.shutdown(FsDatasetImpl.java:1376)
      	at org.apache.hadoop.hdfs.server.datanode.DataNode.shutdown(DataNode.java:1301)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.shutdownDataNodes(MiniDFSCluster.java:1523)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.shutdown(MiniDFSCluster.java:1498)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.shutdown(MiniDFSCluster.java:1482)
      	at org.apache.hadoop.hdfs.web.TestWebHdfsWithMultipleNameNodes.shutdownCluster(TestWebHdfsWithMultipleNameNodes.java:99)
      

      Attachments

        1. HDFS-6098.01.patch
          1 kB
          Arpit Agarwal

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arp Arpit Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: