HDFS-14759. HDFS cat logs an info message.
Contributed by Eric Badger.
(cherry picked from commit 8aaf5e1a14
)
This commit is contained in:
parent
3e0025d877
commit
2e9482bd20
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue