You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Erik Krogen (JIRA)" <ji...@apache.org> on 2017/07/12 22:49:00 UTC

[jira] [Created] (HDFS-12131) Add some of the FSNamesystem JMX values as metrics

Erik Krogen created HDFS-12131:
----------------------------------

             Summary: Add some of the FSNamesystem JMX values as metrics
                 Key: HDFS-12131
                 URL: https://issues.apache.org/jira/browse/HDFS-12131
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: hdfs, namenode
            Reporter: Erik Krogen
            Assignee: Erik Krogen
            Priority: Minor


A number of useful numbers are emitted via the FSNamesystem JMX, but not through the metrics system. These would be useful to be able to track over time, e.g. to alert on via standard metrics systems or to view trends and rate changes:
* NumLiveDataNodes
* NumDeadDataNodes
* NumDecomLiveDataNodes
* NumDecomDeadDataNodes
* NumDecommissioningDataNodes
* NumStaleStorages

This is a simple change that just requires annotating the JMX methods with {{@Metric}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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