Hadoop Common
  1. Hadoop Common
  2. HADOOP-1184

Decommission fails if a block that needs replication has only one replica

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      If the only replica of a block resides on a node being decommissioned, then the decommission command does not complete. The blocks do not get added to neededReplication because neededReplications.update() believes that the number of current replicas is zero.

      1. decommissionOneReplica6.patch
        23 kB
        dhruba borthakur
      2. decommissionOneReplica5.patch
        13 kB
        dhruba borthakur
      3. decommissionOneReplica4.patch
        13 kB
        dhruba borthakur
      4. decommissionOneReplica3.patch
        14 kB
        dhruba borthakur

        Activity

        dhruba borthakur created issue -
        dhruba borthakur made changes -
        Field Original Value New Value
        Attachment decommissionOneReplica.patch [ 12354557 ]
        dhruba borthakur made changes -
        Attachment decommissionOneReplica2.patch [ 12355530 ]
        dhruba borthakur made changes -
        Attachment decommissionOneReplica.patch [ 12354557 ]
        dhruba borthakur made changes -
        Attachment decommissionOneReplica2.patch [ 12355530 ]
        dhruba borthakur made changes -
        Attachment decommissionOneReplica3.patch [ 12355645 ]
        dhruba borthakur made changes -
        Attachment decommissionOneReplica4.patch [ 12356275 ]
        dhruba borthakur made changes -
        Attachment decommissionOneReplica5.patch [ 12356530 ]
        dhruba borthakur made changes -
        Attachment decommissionOneReplica6.patch [ 12356583 ]
        dhruba borthakur made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Doug Cutting made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 0.13.0 [ 12312348 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Owen O'Malley made changes -
        Component/s dfs [ 12310710 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            dhruba borthakur
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development