[ https://issues.apache.org/jira/browse/HADOOP-9913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira AJISAKA updated HADOOP-9913: ---------------------------------- Description: 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. was: 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. > Document time unit to RpcMetrics.java > ------------------------------------- > > Key: HADOOP-9913 > URL: https://issues.apache.org/jira/browse/HADOOP-9913 > Project: Hadoop Common > Issue Type: Improvement > Components: documentation, metrics > Affects Versions: 3.0.0, 2.1.0-beta > Environment: trunk > Reporter: Akira AJISAKA > Assignee: Akira AJISAKA > Priority: Minor > Labels: newbie > Attachments: HADOOP-9913.2.patch, HADOOP-9913.patch > > > 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