Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12328

Need to separate JvmMetrics for Master and RegionServer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.99.2
    • None
    • None

    Description

      tag.ProcessName of JvmMetrics is "IPC".
      It is same both Master and RegionServer.

      HBase(Master and RegionServer)'s Metrics Dump
      ...
      "name": "Hadoop:service=HBase,name=JvmMetrics",
      "modelerType": "JvmMetrics",
      "tag.Context": "jvm",
      "tag.ProcessName": "IPC",
      "tag.SessionId": "",
      ...
      

      When I use HBase with Ganglia,
      I wrote tagsForPrefix.jvm=ProcessName in hadoop-metrics2-hbase.properties.

      hadoop-metrics2-hbase.properties
      ...
      *.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31
      hbase.sink.ganglia.tagsForPrefix.jvm=ProcessName
      ...
      

      But, Ganglia generate only one RRD file because tag.ProcessName is "IPC" both Master and Regionserver.

      I think it need to separate JvmMetrics for Master and RegionServer.

      Attachments

        1. HBASE-12328.patch
          2 kB
          Sanghyun Yun
        2. HBASE-12328.2.patch
          2 kB
          Sanghyun Yun

        Issue Links

          Activity

            People

              yunsh Sanghyun Yun
              yunsh Sanghyun Yun
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: