HBASE-1348 Move 0.20.0 targeted TRUNK to 0.20.0 hadoop

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@769986 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-04-29 23:08:58 +00:00
parent ce26d714d5
commit 3db051fba3
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,8 @@ public class RegionServerMetrics implements Updater {
if (seconds == 0) {
seconds = 1;
}
sb = Strings.appendKeyValue(sb, "request", Float.valueOf(getRequests()));
sb = Strings.appendKeyValue(sb, "request",
Float.valueOf(this.requests.getPreviousIntervalValue()));
sb = Strings.appendKeyValue(sb, "regions",
Integer.valueOf(this.regions.get()));
sb = Strings.appendKeyValue(sb, "stores",