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:
parent
9924b66e25
commit
e541b46b63
|
@ -110,8 +110,6 @@ public class MetricsHBaseServerSourceImpl extends BaseSourceImpl
|
|||
|
||||
@Override
|
||||
public void getMetrics(MetricsCollector metricsCollector, boolean all) {
|
||||
metricsRegistry.snapshot(metricsCollector.addRecord(metricsRegistry.info()), all);
|
||||
|
||||
MetricsRecordBuilder mrb = metricsCollector.addRecord(metricsName)
|
||||
.setContext(metricsContext);
|
||||
|
||||
|
|
Loading…
Reference in New Issue