From c60e81b5a8802858da20781327599ec2c6556f45 Mon Sep 17 00:00:00 2001 From: Brahma Reddy Battula Date: Fri, 2 Apr 2021 09:56:00 +0530 Subject: [PATCH] HADOOP-17610. DelegationTokenAuthenticator prints token information. Contributed by Ravuri Sushma sree. (cherry picked from commit 478402cc740fa21123b2a332d3ac7e66170a5535) --- .../token/delegation/web/DelegationTokenAuthenticator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticator.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticator.java index 4e2ee4fdbea..3336c44084e 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticator.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticator.java @@ -138,8 +138,8 @@ public abstract class DelegationTokenAuthenticator implements Authenticator { try { // check and renew TGT to handle potential expiration UserGroupInformation.getCurrentUser().checkTGTAndReloginFromKeytab(); - LOG.debug("No delegation token found for url={}, token={}, " - + "authenticating with {}", url, token, authenticator.getClass()); + LOG.debug("No delegation token found for url={}, " + + "authenticating with {}", url, authenticator.getClass()); authenticator.authenticate(url, token); } catch (IOException ex) { throw NetUtils.wrapException(url.getHost(), url.getPort(),