You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by el...@apache.org on 2021/10/14 22:26:21 UTC

[hbase] branch branch-2 updated: HBASE-26350 Add a DEBUG when we fail the SASL handshake

This is an automated email from the ASF dual-hosted git repository.

elserj pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 45b09aa  HBASE-26350 Add a DEBUG when we fail the SASL handshake
45b09aa is described below

commit 45b09aa4d7b844cb723023bf2bdec05e861760f1
Author: Josh Elser <el...@apache.org>
AuthorDate: Mon Oct 11 17:01:06 2021 -0400

    HBASE-26350 Add a DEBUG when we fail the SASL handshake
    
    Closes #3743
    
    Signed-off-by: Pankaj <pa...@apache.org>
    Signed-off-by: Tak Lon (Stephen) Wu <ta...@apache.org>
    Signed-off-by: Wellington Chevreuil <wc...@apache.org>
---
 .../src/main/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 208ec8b..08c1542 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) {