hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1304817 - in /hbase/branches/0.90: CHANGES.txt src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Date Sat, 24 Mar 2012 14:57:57 GMT
Author: tedyu
Date: Sat Mar 24 14:57:57 2012
New Revision: 1304817

URL: http://svn.apache.org/viewvc?rev=1304817&view=rev
Log:
HBASE-5615  The master never does balance because of balancing the parent region (Xufeng)

Modified:
    hbase/branches/0.90/CHANGES.txt
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java

Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1304817&r1=1304816&r2=1304817&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Sat Mar 24 14:57:57 2012
@@ -9,6 +9,7 @@ Release 0.90.7 - Unreleased
                (David S. Wang)
    HBASE-5466  Opening a table also opens the metatable and never closes it (Ashley Taylor)
    HBASE-5563  Add comparison of regionId to HRegionInfo#compareTo (chunhui and jmhsieh)
+   HBASE-5615  The master never does balance because of balancing the parent region (Xufeng)
 
   IMPROVEMENT
    HBASE-5588  Deprecate/remove AssignmentManager#clearRegionFromTransition

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java?rev=1304817&r1=1304816&r2=1304817&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
(original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Sat Mar 24 14:57:57 2012
@@ -1667,6 +1667,7 @@ public class AssignmentManager extends Z
       HServerInfo regionLocation = region.getSecond();
       HRegionInfo regionInfo = region.getFirst();
       String tableName = regionInfo.getTableDesc().getNameAsString();
+      if (regionInfo.isOffline() && regionInfo.isSplit()) continue;
       
       if (regionLocation == null) {
         // Region not being served, add to region map with no assignment



Mime
View raw message