From ea7639748f6f6885cd2014429b14894f766d2625 Mon Sep 17 00:00:00 2001 From: anaeimian Date: Fri, 6 Sep 2019 16:31:50 -0400 Subject: [PATCH] Avoiding logging Sasl message Based on a previous issue (HADOOP-11962), Sasl message should not be logged. Also, all of the instances of logging Sasl message have been removed except this one. --- .../main/java/org/apache/hadoop/security/SaslRpcClient.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslRpcClient.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslRpcClient.java index a63ad4fdbbb..53ba48b42ab 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslRpcClient.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslRpcClient.java @@ -449,9 +449,6 @@ public class SaslRpcClient { private void sendSaslMessage(OutputStream out, RpcSaslProto message) throws IOException { - if (LOG.isDebugEnabled()) { - LOG.debug("Sending sasl message "+message); - } ResponseBuffer buf = new ResponseBuffer(); saslHeader.writeDelimitedTo(buf); message.writeDelimitedTo(buf); @@ -693,4 +690,4 @@ public class SaslRpcClient { } } } -} \ No newline at end of file +}