[ 
https://issues.apache.org/jira/browse/HDFS-9391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15800575#comment-15800575
 ] 

Ming Ma commented on HDFS-9391:
-------------------------------

Sure let us keep what you have in patch 02. Just to make sure, can you confirm 
the followings?

* For the case of "one replica is decommissioning and two replicas of the same 
block are entering maintenance", the code will still increment 
maintenanceOnlyReplicas when processing the decommissioning node, because 
NumberReplicas includes all replicas stats. Thus decommissionOnlyReplicas == 
maintenanceOnlyReplicas  == outOfServiceReplicas.
* For the case of "all replicas are decommissioning", then EnteringMaintenance 
page will have nothing to show to begin with given no nodes are entering 
maintenance.

> Update webUI/JMX to display maintenance state info
> --------------------------------------------------
>
>                 Key: HDFS-9391
>                 URL: https://issues.apache.org/jira/browse/HDFS-9391
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Ming Ma
>            Assignee: Manoj Govindassamy
>         Attachments: HDFS-9391-MaintenanceMode-WebUI.pdf, HDFS-9391.01.patch, 
> HDFS-9391.02.patch, Maintenance webUI.png
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to