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:
Michael Stack 2011-04-14 23:14:02 +00:00
parent 8e9918a88a
commit 0641df92c5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}