Phil Yang created HDFS-9586: ------------------------------- Summary: listCorruptFileBlocks should not output files that all replications are decommissioning Key: HDFS-9586 URL: https://issues.apache.org/jira/browse/HDFS-9586 Project: Hadoop HDFS Issue Type: Bug Reporter: Phil Yang Assignee: Phil Yang
As HDFS-7933 said, we should count decommissioning and decommissioned nodes respectively and regard decommissioning nodes as special live nodes whose file is not corrupt or missing. So in listCorruptFileBlocks which is used by fsck and HDFS namenode website, we should collect a corrupt file only if liveReplicas and decommissioning are both 0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)