hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-11255 Negative request num in region load (Liu Shaohui)
Date Tue, 27 May 2014 15:58:44 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 90ece25b6 -> 2e0ad596f


HBASE-11255 Negative request num in region load (Liu Shaohui)


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

Branch: refs/heads/0.98
Commit: 2e0ad596fd5874f25e558beb42568c276f82bbbb
Parents: 90ece25
Author: Michael Stack <stack@duboce.net>
Authored: Tue May 27 08:58:19 2014 -0700
Committer: Michael Stack <stack@duboce.net>
Committed: Tue May 27 08:58:19 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/regionserver/HRegionServer.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2e0ad596/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
index d6bd45a..569983e 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
@@ -1366,8 +1366,8 @@ public class HRegionServer implements ClientProtos.ClientService.BlockingInterfa
       .setRootIndexSizeKB(rootIndexSizeKB)
       .setTotalStaticIndexSizeKB(totalStaticIndexSizeKB)
       .setTotalStaticBloomSizeKB(totalStaticBloomSizeKB)
-      .setReadRequestsCount((int) r.readRequestsCount.get())
-      .setWriteRequestsCount((int) r.writeRequestsCount.get())
+      .setReadRequestsCount(r.readRequestsCount.get())
+      .setWriteRequestsCount(r.writeRequestsCount.get())
       .setTotalCompactingKVs(totalCompactingKVs)
       .setCurrentCompactedKVs(currentCompactedKVs)
       .setCompleteSequenceId(r.completeSequenceId);


Mime
View raw message