Hadoop Common
  1. Hadoop Common
  2. HADOOP-4910

NameNode should exclude corrupt replicas when choosing excessive replicas to delete

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.18.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently, when NameNode handles an over-replicated block in FSNamesystem#processOverReplicatedBlock, it excludes ones already in excessReplicateMap and decommissed ones, but it treats a corrupt replica as a valid one. This may lead to unnecessary deletion of more replicas and thus cause data lose. It should exclude corrupt replicas as well.

      1. overReplicated2-br18.patch
        6 kB
        Hairong Kuang
      2. overReplicated2.patch
        6 kB
        Hairong Kuang
      3. overReplicated1.patch
        6 kB
        Hairong Kuang
      4. overReplicated.patch
        1 kB
        Hairong Kuang

        Activity

        Hairong Kuang created issue -
        Hairong Kuang made changes -
        Field Original Value New Value
        Affects Version/s 0.17.0 [ 12312913 ]
        Component/s dfs [ 12310710 ]
        Hairong Kuang made changes -
        Attachment overReplicated.patch [ 12397035 ]
        Hairong Kuang made changes -
        Assignee Hairong Kuang [ hairong ]
        Robert Chansler made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        Fix Version/s 0.18.3 [ 12313494 ]
        Hairong Kuang made changes -
        Attachment overReplicated1.patch [ 12397220 ]
        Hairong Kuang made changes -
        Attachment overReplicated2-br18.patch [ 12397350 ]
        Hairong Kuang made changes -
        Attachment overReplicated2-br18.patch [ 12397350 ]
        Hairong Kuang made changes -
        Attachment overReplicated2-br18.patch [ 12397361 ]
        Hairong Kuang made changes -
        Attachment overReplicated2.patch [ 12397362 ]
        Hairong Kuang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hadoop Flags [Reviewed]
        Hairong Kuang made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Owen O'Malley made changes -
        Component/s dfs [ 12310710 ]

          People

          • Assignee:
            Hairong Kuang
            Reporter:
            Hairong Kuang
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development