HADOOP-17610. DelegationTokenAuthenticator prints token information. Contributed by Ravuri Sushma sree.

This commit is contained in:
Brahma Reddy Battula 2021-04-02 09:56:00 +05:30
parent ed74479ea5
commit 478402cc74

View File

@ -138,8 +138,8 @@ public void authenticate(URL url, AuthenticatedURL.Token token)
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(),