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

Add some of the FSNamesystem JMX values as metrics

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      A number of useful numbers are emitted via the FSNamesystem JMX, but not through the metrics system. These would be useful to be able to track over time, e.g. to alert on via standard metrics systems or to view trends and rate changes:

      • NumLiveDataNodes
      • NumDeadDataNodes
      • NumDecomLiveDataNodes
      • NumDecomDeadDataNodes
      • NumDecommissioningDataNodes
      • NumStaleStorages
      • VolumeFailuresTotal
      • EstimatedCapacityLostTotal
      • NumInMaintenanceLiveDataNodes
      • NumInMaintenanceDeadDataNodes
      • NumEnteringMaintenanceDataNodes

      This is a simple change that just requires annotating the JMX methods with @Metric.

      Attachments

        1. HDFS-12131-branch-2.8.006.patch
          15 kB
          Erik Krogen
        2. HDFS-12131-branch-2.7.006.patch
          15 kB
          Erik Krogen
        3. HDFS-12131-branch-2.006.patch
          17 kB
          Erik Krogen
        4. HDFS-12131.006.patch
          17 kB
          Erik Krogen
        5. HDFS-12131.005.patch
          17 kB
          Erik Krogen
        6. HDFS-12131.004.patch
          13 kB
          Erik Krogen
        7. HDFS-12131.003.patch
          15 kB
          Erik Krogen
        8. HDFS-12131.002.patch
          10 kB
          Erik Krogen
        9. HDFS-12131.002.patch
          10 kB
          Erik Krogen
        10. HDFS-12131.001.patch
          8 kB
          Erik Krogen
        11. HDFS-12131.000.patch
          2 kB
          Erik Krogen

        Activity

          People

            xkrogen Erik Krogen
            xkrogen Erik Krogen
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: