Fix broke build; add amendment to hbase-3708 patch spotted by Ted Yu
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1092546 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8e9918a88a
commit
0641df92c5
|
@ -900,7 +900,7 @@ public class ZKUtil {
|
|||
throws KeeperException {
|
||||
try {
|
||||
ZooKeeper zk = zkw.getZooKeeper();
|
||||
if (zk.exists(znode, false) != null) {
|
||||
if (zk.exists(znode, false) == null) {
|
||||
zk.create(znode, new byte[0], Ids.OPEN_ACL_UNSAFE,
|
||||
CreateMode.PERSISTENT);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue