HBASE-27626 Suppress noisy logging in client.ConnectionImplementation (#5019)

Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
This commit is contained in:
Nihal Jain 2023-02-09 23:59:32 +05:30 committed by Tak Lon (Stephen) Wu
parent 1843cefa98
commit 9236242dac
1 changed files with 2 additions and 2 deletions

View File

@ -400,7 +400,7 @@ class ConnectionImplementation implements ClusterConnection, Closeable {
return false; return false;
} }
try { try {
LOG.info("Getting master state using rpc call"); LOG.trace("Getting master state using rpc call");
return this.masterServiceState.isMasterRunning(); return this.masterServiceState.isMasterRunning();
} catch (UndeclaredThrowableException e) { } catch (UndeclaredThrowableException e) {
// It's somehow messy, but we can receive exceptions such as // It's somehow messy, but we can receive exceptions such as
@ -1941,7 +1941,7 @@ class ConnectionImplementation implements ClusterConnection, Closeable {
} }
private boolean isKeepAliveMasterConnectedAndRunning() { private boolean isKeepAliveMasterConnectedAndRunning() {
LOG.info("Getting master connection state from TTL Cache"); LOG.trace("Getting master connection state from TTL Cache");
return masterStateSupplier.get(); return masterStateSupplier.get();
} }