hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-13847 getWriteRequestCount function in HRegionServer uses int variable to return the count (Abhilash)
Date Tue, 09 Jun 2015 03:35:54 GMT
Repository: hbase
Updated Branches:
  refs/heads/master c19bc6d6e -> c62b396f9


HBASE-13847 getWriteRequestCount function in HRegionServer uses int variable to return the
count (Abhilash)


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

Branch: refs/heads/master
Commit: c62b396f9f4537d121e2661f328674c99a8b7fb7
Parents: c19bc6d
Author: stack <stack@apache.org>
Authored: Mon Jun 8 20:35:43 2015 -0700
Committer: stack <stack@apache.org>
Committed: Mon Jun 8 20:35:43 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/regionserver/HRegionServer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/c62b396f/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 2e38898..fb998ea 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
@@ -1114,7 +1114,7 @@ public class HRegionServer extends HasThread implements
    * @return Current write count for all online regions.
    */
   private long getWriteRequestCount() {
-    int writeCount = 0;
+    long writeCount = 0;
     for (Map.Entry<String, Region> e: this.onlineRegions.entrySet()) {
       writeCount += e.getValue().getWriteRequestsCount();
     }


Mime
View raw message