hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1392617 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Date Mon, 01 Oct 2012 21:20:22 GMT
Author: stack
Date: Mon Oct  1 21:20:22 2012
New Revision: 1392617

URL: http://svn.apache.org/viewvc?rev=1392617&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/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java?rev=1392617&r1=1392616&r2=1392617&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Mon Oct  1 21:20:22 2012
@@ -1493,6 +1493,15 @@ public class AssignmentManager extends Z
             return;
           }
         }
+        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