hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1092581 - /hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
Date Fri, 15 Apr 2011 04:19:57 GMT
Author: stack
Date: Fri Apr 15 04:19:57 2011
New Revision: 1092581

URL: http://svn.apache.org/viewvc?rev=1092581&view=rev
Log:
Fix build broke by HBASE-3708 commit; fix provided by Ted Yu

Modified:
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java?rev=1092581&r1=1092580&r2=1092581&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java (original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java Fri Apr
15 04:19:57 2011
@@ -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);
       }



Mime
View raw message