Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9685

StopDecommission for datanode should remove the underReplicatedBlocks

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When one node removed from exclude file, and its state from decommission-in-progress to in service. But the underReplicatedBlocksNum of cluster has not been decreased. Most of these underReplicatedBlocks are not needed and it will costs namenode much time to deal with. And frequently namenode will find there are enough replications. So in stopDecommissioned operation, we should remove neededReplicatedBlocks of decomNodes.

        Attachments

        1. HDFS-9685.001.patch
          7 kB
          Yiqun Lin

          Activity

            People

            • Assignee:
              linyiqun Yiqun Lin
              Reporter:
              linyiqun Yiqun Lin

              Dates

              • Created:
                Updated:

                Issue deployment