hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liang...@apache.org
Subject svn commit: r1594133 - /hbase/branches/0.98/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
Date Tue, 13 May 2014 05:40:12 GMT
Author: liangxie
Date: Tue May 13 05:40:11 2014
New Revision: 1594133

URL: http://svn.apache.org/r1594133
Log:
Amend HBASE-10561 Forward port: HBASE-10212 New rpc metric: number of active handler

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

Modified: hbase/branches/0.98/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java?rev=1594133&r1=1594132&r2=1594133&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
(original)
+++ hbase/branches/0.98/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.java
Tue May 13 05:40:11 2014
@@ -116,7 +116,9 @@ public class MetricsHBaseServerSourceImp
               REPLICATION_QUEUE_DESC, wrapper.getReplicationQueueLength())
           .addGauge(PRIORITY_QUEUE_NAME, PRIORITY_QUEUE_DESC, wrapper.getPriorityQueueLength())
           .addGauge(NUM_OPEN_CONNECTIONS_NAME,
-              NUM_OPEN_CONNECTIONS_DESC, wrapper.getNumOpenConnections());
+              NUM_OPEN_CONNECTIONS_DESC, wrapper.getNumOpenConnections())
+          .addGauge(NUM_ACTIVE_HANDLER_NAME,
+              NUM_ACTIVE_HANDLER_DESC, wrapper.getActiveRpcHandlerCount());
     }
 
     metricsRegistry.snapshot(mrb, all);



Mime
View raw message