hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-12750 getRequestsCount() in ClusterStatus returns total number of request (Weichen Ye)
Date Tue, 23 Dec 2014 18:27:44 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 54a25355a -> 6dfb25807


HBASE-12750 getRequestsCount() in ClusterStatus returns total number of request (Weichen Ye)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/6dfb2580
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6dfb2580
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6dfb2580

Branch: refs/heads/0.98
Commit: 6dfb2580706c9844883622e38ab19d8f8aadbe5c
Parents: 54a2535
Author: tedyu <yuzhihong@gmail.com>
Authored: Tue Dec 23 10:27:34 2014 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Tue Dec 23 10:27:34 2014 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/ClusterStatus.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/6dfb2580/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java
index 7599e3e..40fcfcf 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java
@@ -160,7 +160,7 @@ public class ClusterStatus extends VersionedWritable {
   public int getRequestsCount() {
     int count = 0;
     for (Map.Entry<ServerName, ServerLoad> e: this.liveServers.entrySet()) {
-      count += e.getValue().getTotalNumberOfRequests();
+      count += e.getValue().getNumberOfRequests();
     }
     return count;
   }


Mime
View raw message