[
https://issues.apache.org/jira/browse/HDFS-15821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284867#comment-17284867
]
Jim Brennan commented on HDFS-15821:
------------------------------------
Thanks for the contribution [~zehao.chen]! I have committed this to trunk and
will cherry-pick to earlier branches.
> Add metrics for in-service datanodes
> ------------------------------------
>
> Key: HDFS-15821
> URL: https://issues.apache.org/jira/browse/HDFS-15821
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Zehao Chen
> Assignee: Zehao Chen
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> We currently have metrics for live datanodes but some of the datanodes may be
> in decommissioning state or maintenance state. Adding this metric allows us
> to know how many nodes are currently in service, where NumInServiceDatanodes
> = NumLiveDataNodes - NumDecomLiveDataNodes - NumInMaintenanceLiveDataNodes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]