From af72916c4c7667b1d22806dffa44fa1a809ecd0f Mon Sep 17 00:00:00 2001 From: Sakthi Date: Thu, 29 Nov 2018 18:52:50 -0800 Subject: [PATCH] HBASE-21453 Convert ReadOnlyZKClient to DEBUG instead of INFO --- .../org/apache/hadoop/hbase/zookeeper/ReadOnlyZKClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ReadOnlyZKClient.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ReadOnlyZKClient.java index fc2d5f0d9df..09f8984abf3 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ReadOnlyZKClient.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ReadOnlyZKClient.java @@ -136,7 +136,7 @@ public final class ReadOnlyZKClient implements Closeable { this.retryIntervalMs = conf.getInt(RECOVERY_RETRY_INTERVAL_MILLIS, DEFAULT_RECOVERY_RETRY_INTERVAL_MILLIS); this.keepAliveTimeMs = conf.getInt(KEEPALIVE_MILLIS, DEFAULT_KEEPALIVE_MILLIS); - LOG.info( + LOG.debug( "Connect {} to {} with session timeout={}ms, retries {}, " + "retry interval {}ms, keepAlive={}ms", getId(), connectString, sessionTimeoutMs, maxRetries, retryIntervalMs, keepAliveTimeMs); @@ -347,7 +347,7 @@ public final class ReadOnlyZKClient implements Closeable { @Override public void close() { if (closed.compareAndSet(false, true)) { - LOG.info("Close zookeeper connection {} to {}", getId(), connectString); + LOG.debug("Close zookeeper connection {} to {}", getId(), connectString); tasks.add(CLOSE); } }