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 GitHub
parent 0d88f75b80
commit 4ac84b8aa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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