From 4ac84b8aa0c9aa1e1ff75bd06c69fc006204a87b Mon Sep 17 00:00:00 2001 From: Nihal Jain Date: Thu, 9 Feb 2023 23:59:32 +0530 Subject: [PATCH] HBASE-27626 Suppress noisy logging in client.ConnectionImplementation (#5019) Signed-off-by: Tak Lon (Stephen) Wu --- .../apache/hadoop/hbase/client/ConnectionImplementation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java index 7b9dbc54dec..93df9523dd2 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java @@ -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(); }