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:35:25 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 5383e476d -> 00636cc99


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

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


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

Branch: refs/heads/branch-1
Commit: 00636cc998ff4e935977fa334db152bd7e7dd4f5
Parents: 5383e47
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:31:40 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/00636cc9/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 4272671..b1b297c 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.info("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