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

Document time unit to NameNodeMetrics.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0-beta
    • 2.3.0
    • documentation
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: