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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment