hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nspiegelb...@apache.org
Subject svn commit: r1188425 - /hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWrapper.java
Date Mon, 24 Oct 2011 22:36:37 GMT
Author: nspiegelberg
Date: Mon Oct 24 22:36:37 2011
New Revision: 1188425

URL: http://svn.apache.org/viewvc?rev=1188425&view=rev
Log:
fix log message in zkwrapper

Modified:
    hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWrapper.java

Modified: hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWrapper.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWrapper.java?rev=1188425&r1=1188424&r2=1188425&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWrapper.java
(original)
+++ hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWrapper.java
Mon Oct 24 22:36:37 2011
@@ -1178,7 +1178,8 @@ public class ZooKeeperWrapper implements
       recoverableZK.create(fullyQualifiedZNodeName, data, Ids.OPEN_ACL_UNSAFE, createMode);
       LOG.debug("<" + instanceName + ">" + "Created ZNode " + fullyQualifiedZNodeName
+ " in ZooKeeper");
     } catch (KeeperException.NodeExistsException nee) {
-      LOG.debug("<" + instanceName + "> " + "ZNode " + fullyQualifiedZNodeName + "
already exists, still setting watch");
+      LOG.debug("<" + instanceName + "> " + "ZNode " + fullyQualifiedZNodeName +
+        " already exists" + (watch ? ", still setting watch" : ""));
     } catch (InterruptedException e) {
       LOG.warn("<" + instanceName + ">" + "Failed to create ZNode " + fullyQualifiedZNodeName
+ " in ZooKeeper", e);
       return null;



Mime
View raw message