[ 
https://issues.apache.org/jira/browse/HDFS-7933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoyu Yao updated HDFS-7933:
-----------------------------
    Attachment: HDFS-7933.02.patch

Thanks [~jnp] for reviewing the patch. I've updated the patch based on your 
feedback. 

Summary of changes:

1) adding NumberReplicas#decommissioned and NumberReplicas#decommissioning to 
track the decommissioned and decommissioning replicas, respectively. 

2) deprecating NumberReplicas#decommissionedReplicas() by 
NumberReplicas#decommissionedAndDecommissioning() to avoid the misleading name.

3) Display decommissioning and decommissioned replica separately in 
NamenodeFsck#check().

> fsck should also report decommissioning replicas. 
> --------------------------------------------------
>
>                 Key: HDFS-7933
>                 URL: https://issues.apache.org/jira/browse/HDFS-7933
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Jitendra Nath Pandey
>            Assignee: Xiaoyu Yao
>         Attachments: HDFS-7933.00.patch, HDFS-7933.01.patch, 
> HDFS-7933.02.patch
>
>
> Fsck doesn't count replicas that are on decommissioning nodes. If a block has 
> all replicas on the decommissioning nodes, it will be marked as missing, 
> which is alarming for the admins, although the system will replicate them 
> before nodes are decommissioned.
> Fsck output should also show decommissioning replicas along with the live 
> replicas.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to