hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1392620 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Date Mon, 01 Oct 2012 21:23:01 GMT
Author: stack
Date: Mon Oct  1 21:23:00 2012
New Revision: 1392620

URL: http://svn.apache.org/viewvc?rev=1392620&view=rev
Log:
HBASE-6299 RS starts region open while fails ack to HMaster.sendRegionOpen() causes inconsistency
in HMaster's region state and a series of successive problems

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

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java?rev=1392620&r1=1392619&r2=1392620&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
(original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Mon Oct  1 21:23:00 2012
@@ -1678,6 +1678,15 @@ public class AssignmentManager extends Z
             }
           }
         }
+        if (t instanceof java.net.SocketTimeoutException 
+            && this.serverManager.isServerOnline(plan.getDestination())) {
+          LOG.warn("Call openRegion() to " + plan.getDestination()
+              + " has timed out when trying to assign "
+              + region.getRegionNameAsString()
+              + ", but the region might already be opened on "
+              + plan.getDestination() + ".", t);
+          return;
+        }
         LOG.warn("Failed assignment of "
             + state.getRegion().getRegionNameAsString()
             + " to "



Mime
View raw message