hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Helmling (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1722) Add support for exporting HBase metrics via JMX
Date Thu, 30 Jul 2009 19:08:14 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Gary Helmling updated HBASE-1722:

    Attachment: jmx_support-trunk.patch

Here's a patch against current trunk.  This one was generated with git, but I was able to
test apply cleanly with patch -p1.

This one was even easier thanks to MetricsDynamicMBeanBase in hadoop 0.20!  I was able to
drop the need for separate interfaces and pass through accessors for each metric.

I'll put up some docs on enable JMX monitoring on the wiki.  For remote monitoring this may
require some tweaks to hbase-env.sh and the hbase shell script -- like separating out option
vars for master vs. regionservers.

> Add support for exporting HBase metrics via JMX
> -----------------------------------------------
>                 Key: HBASE-1722
>                 URL: https://issues.apache.org/jira/browse/HBASE-1722
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: ipc, master, regionserver
>    Affects Versions: 0.19.3
>            Reporter: Gary Helmling
>            Priority: Minor
>             Fix For: 0.19.4
>         Attachments: jmx_metrics-0.19.patch, jmx_support-trunk.patch
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message