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

ConcurrentModificationException in invalidateCorruptReplicas()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20-append, 0.20.205.0, 0.21.0
    • Fix Version/s: 0.20-append, 0.20.205.0, 0.21.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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. hdfs-606-branch20.txt
          4 kB
          Todd Lipcon
        2. hdfs-606-20s.patch
          3 kB
          Suresh Srinivas
        3. CMEinCorruptReplicas.patch
          0.9 kB
          Konstantin Shvachko

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: