diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ServerLoad.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/ServerLoad.java index 15e5f503012..55a02b7b319 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ServerLoad.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ServerLoad.java @@ -253,8 +253,7 @@ public class ServerLoad { * @return number of requests per second received since the last report */ public double getRequestsPerSecond() { - long msgInterval = serverLoad.getReportEndTime() - serverLoad.getReportStartTime(); - return (msgInterval==0)?0.0:(getNumberOfRequests()/(double)msgInterval); + return getNumberOfRequests(); } /**