HBASE-3445 Master crashes on data that was moved from different host
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1061563 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb70397775
commit
2e44b84e73
|
@ -22,6 +22,7 @@ package org.apache.hadoop.hbase.catalog;
|
|||
import java.io.EOFException;
|
||||
import java.io.IOException;
|
||||
import java.net.ConnectException;
|
||||
import java.net.SocketTimeoutException;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
|
@ -388,6 +389,9 @@ public class CatalogTracker {
|
|||
} else {
|
||||
throw e;
|
||||
}
|
||||
} catch (SocketTimeoutException e) {
|
||||
// We were passed the wrong address. Return 'protocol' == null.
|
||||
LOG.debug("Timed out connecting to " + address);
|
||||
} catch (IOException ioe) {
|
||||
Throwable cause = ioe.getCause();
|
||||
if (cause != null && cause instanceof EOFException) {
|
||||
|
|
Loading…
Reference in New Issue