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:36:26 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 3dfccbd42 -> 14db858a2


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

Branch: refs/heads/branch-1
Commit: 14db858a287750ab784cd3388bd6c0c298fdb5c6
Parents: 3dfccbd
Author: stack <stack@apache.org>
Authored: Mon Jun 8 20:35:43 2015 -0700
Committer: stack <stack@apache.org>
Committed: Mon Jun 8 20:36:14 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/14db858a/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 a70456a..e097e9b 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
@@ -1109,7 +1109,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