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

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1392617 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-10-01 21:20:22 +00:00
parent c7b246edd2
commit 7adcc74aeb
1 changed files with 9 additions and 0 deletions

View File

@ -1493,6 +1493,15 @@ public class AssignmentManager extends ZooKeeperListener {
return; 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 " LOG.warn("Failed assignment of "
+ state.getRegion().getRegionNameAsString() + state.getRegion().getRegionNameAsString()
+ " to " + " to "