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
This commit is contained in:
Michael Stack 2012-04-03 15:08:38 +00:00
parent 3d06717256
commit b5b0116712
1 changed files with 1 additions and 3 deletions

View File

@ -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() {