HDFS-14759. HDFS cat logs an info message.

Contributed by Eric Badger.

(cherry picked from commit 8aaf5e1a14e577a7d8142bc7d49bb94014032afd)
This commit is contained in:
Anu Engineer 2019-08-20 20:24:19 -07:00 committed by Zhankun Tang
parent 3e0025d877
commit 2e9482bd20

View File

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