Akira AJISAKA created HADOOP-9913: ------------------------------------- Summary: Document time unit to metrics Key: HADOOP-9913 URL: https://issues.apache.org/jira/browse/HADOOP-9913 Project: Hadoop Common Issue Type: Improvement Components: documentation, metrics Affects Versions: 2.1.0-beta, 3.0.0 Environment: trunk Reporter: Akira AJISAKA Assignee: Akira AJISAKA Priority: Minor
For example, in o.a.h.hdfs.server.namenode.metrics.NameNodeMetrics.java, metrics are declared as follows: {code} @Metric("Duration in SafeMode at startup") MutableGaugeInt safeModeTime; @Metric("Time loading FS Image at startup") MutableGaugeInt fsImageLoadTime; {code} Since some users may confuse which unit (sec or msec) is correct, they should be documented. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira