HBASE-1704 Better zk error when failed connect

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@797710 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-07-25 03:01:13 +00:00
parent 0159889bba
commit 3184fa2979
2 changed files with 5 additions and 2 deletions

View File

@ -511,6 +511,7 @@ Release 0.20.0 - Unreleased
HBASE-1699 Remove hbrep example as it's too out of date
(Tim Sell via Stack)
HBASE-1683 OOME on master splitting logs; stuck, won't go down
HBASE-1704 Better zk error when failed connect
OPTIMIZATIONS
HBASE-1412 Change values for delete column and column family in KeyValue

View File

@ -348,9 +348,11 @@ public class ZooKeeperWrapper implements HConstants {
} catch (KeeperException.NoNodeException e) {
return ensureParentExists(znode) && ensureExists(znode);
} catch (KeeperException e) {
LOG.warn("Failed to create " + znode + ":", e);
LOG.warn("Failed to create " + znode +
" -- check quorum servers, currenty=" + this.quorumServers, e);
} catch (InterruptedException e) {
LOG.warn("Failed to create " + znode + ":", e);
LOG.warn("Failed to create " + znode +
" -- check quorum servers, currenty=" + this.quorumServers, e);
}
return false;
}