Details
Description
getRequestsCount() is a function in org.apache.hadoop.hbase.ClusterStatus in HBase Client compoent. The comment says that it is for us to get the number of requests since last report, but the code inside this function return the number of requests since region server start.
Here we should change the code
count += e.getValue().getTotalNumberOfRequests();
to
count += e.getValue().getNumberOfRequests();