HBASE-10586 hadoop2-compat IPC metric registred twice

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1570737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
mbertozzi 2014-02-21 22:47:41 +00:00
parent 9924b66e25
commit e541b46b63
1 changed files with 0 additions and 2 deletions

View File

@ -110,8 +110,6 @@ public class MetricsHBaseServerSourceImpl extends BaseSourceImpl
@Override @Override
public void getMetrics(MetricsCollector metricsCollector, boolean all) { public void getMetrics(MetricsCollector metricsCollector, boolean all) {
metricsRegistry.snapshot(metricsCollector.addRecord(metricsRegistry.info()), all);
MetricsRecordBuilder mrb = metricsCollector.addRecord(metricsName) MetricsRecordBuilder mrb = metricsCollector.addRecord(metricsName)
.setContext(metricsContext); .setContext(metricsContext);