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:59:31 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.96 191abb0b6 -> bba67cb91


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/bba67cb9
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bba67cb9
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bba67cb9

Branch: refs/heads/0.96
Commit: bba67cb91c3cb03c04f3f6c5b442af394a0ef3b6
Parents: 191abb0
Author: Michael Stack <stack@duboce.net>
Authored: Tue May 27 08:59:25 2014 -0700
Committer: Michael Stack <stack@duboce.net>
Committed: Tue May 27 08:59:25 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/bba67cb9/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 fc4cfe9..af92525 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
@@ -1304,8 +1304,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