HBASE-3344 Master aborts after RPC to server that was shutting down

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1054837 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-01-04 00:10:39 +00:00
parent 221e8a807e
commit 384f4c93dd
2 changed files with 5 additions and 0 deletions

View File

@ -811,6 +811,7 @@ Release 0.90.0 - Unreleased
doing rolling-restart.sh
HBASE-3383 [0.90RC1] bin/hbase script displays "no such file" warning on
target/cached_classpath.txt
HBASE-3344 Master aborts after RPC to server that was shutting down
IMPROVEMENTS

View File

@ -1122,6 +1122,10 @@ public class AssignmentManager extends ZooKeeperListener {
// Failed to close, so pass through and reassign
LOG.debug("Server " + server + " returned " + ioe + " for " +
region.getEncodedName());
} else if (ioe instanceof EOFException) {
// Failed to close, so pass through and reassign
LOG.debug("Server " + server + " returned " + ioe + " for " +
region.getEncodedName());
} else {
this.master.abort("Remote unexpected exception", ioe);
}