[ https://issues.apache.org/jira/browse/HDFS-9685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15113543#comment-15113543 ]
Lin Yiqun commented on HDFS-9685: --------------------------------- The failed tests seem not related. > StopDecommission for datanode should remove the underReplicatedBlocks > --------------------------------------------------------------------- > > Key: HDFS-9685 > URL: https://issues.apache.org/jira/browse/HDFS-9685 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.7.1 > Reporter: Lin Yiqun > Assignee: Lin Yiqun > Attachments: HDFS-9685.001.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)