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

StopDecommission for datanode should remove the underReplicatedBlocks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.7.1
    • None
    • None
    • 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

            linyiqun Yiqun Lin
            linyiqun Yiqun Lin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: