HBASE-21453 Convert ReadOnlyZKClient to DEBUG instead of INFO

This commit is contained in:
Sakthi 2018-11-29 18:52:50 -08:00 committed by Peter Somogyi
parent 3f34aed0a9
commit 7cac6eb548
1 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ public final class ReadOnlyZKClient implements Closeable {
this.retryIntervalMs = this.retryIntervalMs =
conf.getInt(RECOVERY_RETRY_INTERVAL_MILLIS, DEFAULT_RECOVERY_RETRY_INTERVAL_MILLIS); conf.getInt(RECOVERY_RETRY_INTERVAL_MILLIS, DEFAULT_RECOVERY_RETRY_INTERVAL_MILLIS);
this.keepAliveTimeMs = conf.getInt(KEEPALIVE_MILLIS, DEFAULT_KEEPALIVE_MILLIS); this.keepAliveTimeMs = conf.getInt(KEEPALIVE_MILLIS, DEFAULT_KEEPALIVE_MILLIS);
LOG.info( LOG.debug(
"Connect {} to {} with session timeout={}ms, retries {}, " + "Connect {} to {} with session timeout={}ms, retries {}, " +
"retry interval {}ms, keepAlive={}ms", "retry interval {}ms, keepAlive={}ms",
getId(), connectString, sessionTimeoutMs, maxRetries, retryIntervalMs, keepAliveTimeMs); getId(), connectString, sessionTimeoutMs, maxRetries, retryIntervalMs, keepAliveTimeMs);
@ -347,7 +347,7 @@ public final class ReadOnlyZKClient implements Closeable {
@Override @Override
public void close() { public void close() {
if (closed.compareAndSet(false, true)) { if (closed.compareAndSet(false, true)) {
LOG.info("Close zookeeper connection {} to {}", getId(), connectString); LOG.debug("Close zookeeper connection {} to {}", getId(), connectString);
tasks.add(CLOSE); tasks.add(CLOSE);
} }
} }