From a372d437b3fd82b2965620b1eb31c1b24cd0dd51 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 29ce30b8652..03478e42d0a 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 @@ -364,6 +364,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) {