Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-606

ConcurrentModificationException in invalidateCorruptReplicas()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      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

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development