hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1393217 - /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Date Tue, 02 Oct 2012 22:26:16 GMT
Author: tedyu
Date: Tue Oct  2 22:26:16 2012
New Revision: 1393217

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


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=1393217&r1=1393216&r2=1393217&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 Oct  2 22:26:16 2012
@@ -1646,6 +1646,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