From 45b09aa4d7b844cb723023bf2bdec05e861760f1 Mon Sep 17 00:00:00 2001 From: Josh Elser Date: Mon, 11 Oct 2021 17:01:06 -0400 Subject: [PATCH] HBASE-26350 Add a DEBUG when we fail the SASL handshake Closes #3743 Signed-off-by: Pankaj Signed-off-by: Tak Lon (Stephen) Wu Signed-off-by: Wellington Chevreuil --- .../java/org/apache/hadoop/hbase/ipc/ServerRpcConnection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/ServerRpcConnection.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/ServerRpcConnection.java index 208ec8ba8f1..08c15427e82 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/ServerRpcConnection.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/ServerRpcConnection.java @@ -372,6 +372,7 @@ abstract class ServerRpcConnection implements Closeable { replyToken = saslServer.evaluateResponse(saslToken.hasArray()? saslToken.array() : saslToken.toBytes()); } catch (IOException e) { + RpcServer.LOG.debug("Failed to execute SASL handshake", e); IOException sendToClient = e; Throwable cause = e; while (cause != null) {