From c176d41582c50c95e335d35ed5afc3f4270d2760 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Mon, 27 Feb 2012 16:51:26 +0000 Subject: [PATCH] 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 --- .../java/org/apache/hadoop/hbase/catalog/CatalogTracker.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java b/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java index 4998c15998e..3ba3d016813 100644 --- a/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java +++ b/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java @@ -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);