HBASE-5481 Uncaught UnknownHostException prevents HBase from starting
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1294217 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5b61755b0f
commit
c176d41582
|
@ -662,6 +662,8 @@ public class CatalogTracker {
|
|||
// Pass
|
||||
} catch (ServerNotRunningYetException e) {
|
||||
// Pass -- remote server is not up so can't be carrying root
|
||||
} catch (UnknownHostException e) {
|
||||
// Pass -- server name doesn't resolve so it can't be assigned anything.
|
||||
}
|
||||
return (connection == null)? false:
|
||||
verifyRegionLocation(connection,
|
||||
|
@ -685,6 +687,8 @@ public class CatalogTracker {
|
|||
// Pass
|
||||
} catch (ServerNotRunningYetException e) {
|
||||
// Pass -- remote server is not up so can't be carrying .META.
|
||||
} catch (UnknownHostException e) {
|
||||
// Pass -- server name doesn't resolve so it can't be assigned anything.
|
||||
} catch (RetriesExhaustedException e) {
|
||||
// Pass -- failed after bunch of retries.
|
||||
LOG.debug("Failed verify meta region location after retries", e);
|
||||
|
|
Loading…
Reference in New Issue