hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject svn commit: r1570742 - /hbase/branches/0.96/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
Date Fri, 21 Feb 2014 22:52:33 GMT
Author: mbertozzi
Date: Fri Feb 21 22:52:33 2014
New Revision: 1570742

URL: http://svn.apache.org/r1570742
Log:
HBASE-10586 hadoop2-compat IPC metric registred twice

Modified:
    hbase/branches/0.96/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java

Modified: hbase/branches/0.96/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java?rev=1570742&r1=1570741&r2=1570742&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
(original)
+++ hbase/branches/0.96/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
Fri Feb 21 22:52:33 2014
@@ -110,8 +110,6 @@ public class MetricsHBaseServerSourceImp
 
   @Override
   public void getMetrics(MetricsCollector metricsCollector, boolean all) {
-    metricsRegistry.snapshot(metricsCollector.addRecord(metricsRegistry.info()), all);
-
     MetricsRecordBuilder mrb = metricsCollector.addRecord(metricsName)
         .setContext(metricsContext);
 



Mime
View raw message