HBASE-5615 the master never does balance because of balancing the parent region (Xufeng)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1305171 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2012-03-25 23:22:00 +00:00
parent 82670f81b8
commit 3c234f13ba
1 changed files with 1 additions and 0 deletions

View File

@ -2464,6 +2464,7 @@ public class AssignmentManager extends ZooKeeperListener {
ServerName regionLocation = region.getSecond();
if (regionInfo == null) continue;
String tableName = regionInfo.getTableNameAsString();
if (regionInfo.isOffline() && regionInfo.isSplit()) continue;
if (regionLocation == null) {
// regionLocation could be null if createTable didn't finish properly.
// When createTable is in progress, HMaster restarts.