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

This commit is contained in:
tedyu 2014-12-23 10:26:49 -08:00
parent 8eed26fc3c
commit 59f93e2384
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}