hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject svn commit: r1570737 - /hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
Date Fri, 21 Feb 2014 22:47:41 GMT
Author: mbertozzi
Date: Fri Feb 21 22:47:41 2014
New Revision: 1570737

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

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

Modified: hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java?rev=1570737&r1=1570736&r2=1570737&view=diff
==============================================================================
--- hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
(original)
+++ hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
Fri Feb 21 22:47:41 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