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

ConcurrentModificationException in invalidateCorruptReplicas()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20-append, 0.20.205.0, 0.21.0
    • 0.20-append, 0.20.205.0, 0.21.0
    • namenode
    • None
    • Reviewed

    Description

      BlockManager.invalidateCorruptReplicas() iterates over DatanodeDescriptor-s while removing corrupt replicas from the descriptors. This causes ConcurrentModificationException if there is more than one replicas of the block. I ran into this exception debugging different scenarios in append, but it should be fixed in the trunk too.

      Attachments

        1. CMEinCorruptReplicas.patch
          0.9 kB
          Konstantin Shvachko
        2. hdfs-606-branch20.txt
          4 kB
          Todd Lipcon
        3. hdfs-606-20s.patch
          3 kB
          Suresh Srinivas

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: