From b5b0116712c170b20c9c13a07bac59f4b8d50ddf Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 3 Apr 2012 15:08:38 +0000 Subject: [PATCH] HBASE-5701 Put RegionServerDynamicStatistics under RegionServer in MBean hierarchy rather than have it as a peer git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308971 13f79535-47bb-0310-9956-ffa450edef68 --- .../regionserver/metrics/RegionServerDynamicStatistics.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/apache/hadoop/hbase/regionserver/metrics/RegionServerDynamicStatistics.java b/src/main/java/org/apache/hadoop/hbase/regionserver/metrics/RegionServerDynamicStatistics.java index aea3a10c611..9b668e0a797 100644 --- a/src/main/java/org/apache/hadoop/hbase/regionserver/metrics/RegionServerDynamicStatistics.java +++ b/src/main/java/org/apache/hadoop/hbase/regionserver/metrics/RegionServerDynamicStatistics.java @@ -38,9 +38,7 @@ public class RegionServerDynamicStatistics extends MetricsDynamicMBeanBase { public RegionServerDynamicStatistics(MetricsRegistry registry) { super(registry, "RegionServerDynamicStatistics"); - mbeanName = MBeanUtil.registerMBean("RegionServerDynamic", - "RegionServerDynamicStatistics", - this); + mbeanName = MBeanUtil.registerMBean("RegionServer", "RegionServerDynamicStatistics", this); } public void shutdown() {