浏览代码

HDFS-14759. HDFS cat logs an info message.
Contributed by Eric Badger.

Anu Engineer 5 年之前
父节点
当前提交
8aaf5e1a14

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/sasl/SaslDataTransferClient.java

@@ -227,7 +227,7 @@ public class SaslDataTransferClient {
       throws IOException {
       throws IOException {
     boolean localTrusted = trustedChannelResolver.isTrusted();
     boolean localTrusted = trustedChannelResolver.isTrusted();
     boolean remoteTrusted = trustedChannelResolver.isTrusted(addr);
     boolean remoteTrusted = trustedChannelResolver.isTrusted(addr);
-    LOG.info("SASL encryption trust check: localHostTrusted = {}, "
+    LOG.debug("SASL encryption trust check: localHostTrusted = {}, "
         + "remoteHostTrusted = {}", localTrusted, remoteTrusted);
         + "remoteHostTrusted = {}", localTrusted, remoteTrusted);
     if (!localTrusted || !remoteTrusted) {
     if (!localTrusted || !remoteTrusted) {
       // The encryption key factory only returns a key if encryption is enabled.
       // The encryption key factory only returns a key if encryption is enabled.