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

Add support for exporting HBase metrics via JMX

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.19.3
    • 0.20.1
    • IPC/RPC, master, regionserver
    • None
    • Reviewed

    Description

      Current HBase metrics collection and reporting (for the 0.19 releases at least) doesn't seem to export any of the metrics as MBeans via JMX.

      This patch adds JMX MBean support for reporting metrics collected in 3 areas:

      • org.apache.hadoop.hbase.ipc.HBaseRpcMetrics
      • org.apache.hadoop.hbase.master.metrics.MasterMetrics
      • org.apache.hadoop.hbase.regionserver.metrics.RegionServerMetrics

      This patch is only against the 0.19 branch, as the metrics API seems to have changed a bit in Hadoop 0.20, including adding support for dynamic MBeans. I'll add a patch reworked for trunk shortly.

      Attachments

        1. metrics_docs_trunk.patch
          4 kB
          Gary Helmling
        2. metrics_docs_0.19.patch
          4 kB
          Gary Helmling
        3. jmx.patch
          9 kB
          Michael Stack
        4. jmx_support-trunk.patch
          10 kB
          Gary Helmling
        5. jmx_metrics-0.19.patch
          19 kB
          Gary Helmling
        6. hbase-bin.patch
          4 kB
          Gary Helmling

        Activity

          People

            ghelmling Gary Helmling
            ghelmling Gary Helmling
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: