HDFS-14759. HDFS cat logs an info message.

Contributed by Eric Badger.

(cherry picked from commit 8aaf5e1a14)
This commit is contained in:
Anu Engineer 2019-08-20 20:24:19 -07:00 committed by Zhankun Tang
parent 3e0025d877
commit 2e9482bd20
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,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.