Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1184

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • 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.

      Attachments

        1. decommissionOneReplica3.patch
          14 kB
          Dhruba Borthakur
        2. decommissionOneReplica4.patch
          13 kB
          Dhruba Borthakur
        3. decommissionOneReplica5.patch
          13 kB
          Dhruba Borthakur
        4. decommissionOneReplica6.patch
          23 kB
          Dhruba Borthakur

        Activity

          People

            Unassigned Unassigned
            dhruba Dhruba Borthakur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: