hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-11839 TestRegionRebalance is flakey
Date Tue, 09 Sep 2014 15:28:32 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 b0e841d2c -> d10b9e3a2


HBASE-11839 TestRegionRebalance is flakey


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

Branch: refs/heads/branch-1
Commit: d10b9e3a21e50678c9300aaa85eeaa15e1170028
Parents: b0e841d
Author: stack <stack@apache.org>
Authored: Tue Sep 9 08:28:22 2014 -0700
Committer: stack <stack@apache.org>
Committed: Tue Sep 9 08:28:22 2014 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/master/RegionStates.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d10b9e3a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
index 5d4bc77..ee93c0b 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
@@ -829,7 +829,7 @@ public class RegionStates {
       Set<HRegionInfo> regions = e.getValue();
       ServerName serverName = e.getKey();
       int regionCount = regions.size();
-      if (regionCount > 0 || serverManager.isServerOnline(serverName)) {
+      if (serverManager.isServerOnline(serverName)) {
         totalLoad += regionCount;
         numServers++;
       }


Mime
View raw message