[
https://issues.apache.org/jira/browse/HDFS-9391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15803538#comment-15803538
]
Ming Ma edited comment on HDFS-9391 at 1/6/17 4:41 AM:
-------------------------------------------------------
A given replica is only in one admin state, normal, decommission or
maintenance. But {{NumberReplicas}} represents the state of all replicas. Thus
for the case "One replica is decommissioning and two replicas of the same block
are entering maintenance", {{NumberReplicas#decommissionedAndDecommissioning ==
1}}, {{NumberReplicas#maintenanceReplicas() == 2}}. No?
was (Author: mingma):
A given replica is only in one state, either decommission or maintenance. But
{{NumberReplicas}} represents the state of all replicas. Thus for the case "One
replica is decommissioning and two replicas of the same block are entering
maintenance", {{NumberReplicas#decommissionedAndDecommissioning == 1}},
{{NumberReplicas#maintenanceReplicas() == 2}}. No?
> 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: [email protected]
For additional commands, e-mail: [email protected]