Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 12232 invoked from network); 30 Jul 2009 18:17:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jul 2009 18:17:36 -0000 Received: (qmail 55087 invoked by uid 500); 30 Jul 2009 18:17:36 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 55039 invoked by uid 500); 30 Jul 2009 18:17:36 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 55029 invoked by uid 99); 30 Jul 2009 18:17:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2009 18:17:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2009 18:17:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E3FAB234C1EF for ; Thu, 30 Jul 2009 11:17:14 -0700 (PDT) Message-ID: <585688789.1248977834932.JavaMail.jira@brutus> Date: Thu, 30 Jul 2009 11:17:14 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Resolved: (HBASE-1722) Add support for exporting HBase metrics via JMX In-Reply-To: <489137485.1248914354798.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-1722. -------------------------- Resolution: Fixed Fix Version/s: 0.19.4 Hadoop Flags: [Reviewed] Thanks for the nice patch Gary. Any chance of one for hbase TRUNK with maybe a bit of documentation on how to set things up so metrics show in something like jconsole? Only issue was missing Apache copyright. In future, just watch line lengths. Hadoop project is 80 characters generally. > 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 > > > 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.