You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2013/08/28 23:43:52 UTC

[jira] [Created] (HADOOP-9913) Document time unit to metrics

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