hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1387210 - /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Date Tue, 18 Sep 2012 15:00:17 GMT
Author: tedyu
Date: Tue Sep 18 15:00:16 2012
New Revision: 1387210

URL: http://svn.apache.org/viewvc?rev=1387210&view=rev
Log:
HBASE-6438 Addendum checks regionAlreadyInTransitionException when generating region plan
(Chunhui)


Modified:
    hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java

Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java?rev=1387210&r1=1387209&r2=1387210&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
(original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Tue Sep 18 15:00:16 2012
@@ -1591,7 +1591,7 @@ public class AssignmentManager extends Z
         LOG.debug("Server stopped; skipping assign of " + state);
         return;
       }
-      RegionPlan plan = getRegionPlan(state, forceNewPlan);
+      RegionPlan plan = getRegionPlan(state, !regionAlreadyInTransitionException &&
forceNewPlan);
       if (plan == null) {
         LOG.debug("Unable to determine a plan to assign " + state);
         this.timeoutMonitor.setAllRegionServersOffline(true);



Mime
View raw message