Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5144

Document time unit to NameNodeMetrics.java

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta
    • Fix Version/s: 2.3.0
    • Component/s: documentation
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      in o.a.h.hdfs.server.namenode.metrics.NameNodeMetrics.java, metrics are declared as follows:

        @Metric("Duration in SafeMode at startup") MutableGaugeInt safeModeTime;
        @Metric("Time loading FS Image at startup") MutableGaugeInt fsImageLoadTime;
      

      Since some users may confuse which unit (sec or msec) is correct, they should be documented.

        Attachments

        1. HDFS-5144.patch
          1 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                aajisaka Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: