hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject hbase git commit: HBASE-13677 changed RecoverableZooKeeper logs about retries from info and warn to debug
Date Mon, 18 May 2015 15:41:00 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 9e750369b -> 335258516


HBASE-13677 changed RecoverableZooKeeper logs about retries from info and warn to debug

Signed-off-by: Sean Busbey <busbey@cloudera.com>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/33525851
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/33525851
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/33525851

Branch: refs/heads/0.98
Commit: 3352585160b6ff10069cb587ba1b9ddb1aedea24
Parents: 9e75036
Author: ted malaska <ted.malaska@cloudera.com>
Authored: Mon May 18 11:13:53 2015 -0400
Committer: Sean Busbey <busbey@cloudera.com>
Committed: Mon May 18 10:38:28 2015 -0500

----------------------------------------------------------------------
 .../apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/33525851/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
index 6883a6a..0f3d6d9 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
@@ -182,11 +182,11 @@ public class RecoverableZooKeeper {
           switch (e.code()) {
             case NONODE:
               if (isRetry) {
-                LOG.info("Node " + path + " already deleted. Assuming a " +
+                LOG.debug("Node " + path + " already deleted. Assuming a " +
                     "previous attempt succeeded.");
                 return;
               }
-              LOG.warn("Node " + path + " already deleted, retry=" + isRetry);
+              LOG.debug("Node " + path + " already deleted, retry=" + isRetry);
               throw e;
 
             case CONNECTIONLOSS:
@@ -273,7 +273,7 @@ public class RecoverableZooKeeper {
 
   private void retryOrThrow(RetryCounter retryCounter, KeeperException e,
       String opName) throws KeeperException {
-    LOG.warn("Possibly transient ZooKeeper, quorum=" + quorumServers + ", exception=" + e);
+    LOG.debug("Possibly transient ZooKeeper, quorum=" + quorumServers + ", exception=" +
e);
     if (!retryCounter.shouldRetry()) {
       LOG.error("ZooKeeper " + opName + " failed after "
         + retryCounter.getMaxAttempts() + " attempts");


Mime
View raw message