From def9d94a40e1ff71a0dc5a4db1f042e2704cb84d Mon Sep 17 00:00:00 2001 From: Xiao Chen Date: Mon, 9 Jul 2018 12:00:32 -0700 Subject: [PATCH] HADOOP-15591. KMSClientProvider should log KMS DT acquisition at INFO level. Contributed by Kitti Nanasi. --- .../org/apache/hadoop/crypto/key/kms/KMSClientProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/kms/KMSClientProvider.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/kms/KMSClientProvider.java index 7b4607507b9..11815da9d21 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/kms/KMSClientProvider.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/kms/KMSClientProvider.java @@ -1036,13 +1036,13 @@ public class KMSClientProvider extends KeyProvider implements CryptoExtension, public Token run() throws Exception { // Not using the cached token here.. Creating a new token here // everytime. - LOG.debug("Getting new token from {}, renewer:{}", url, renewer); + LOG.info("Getting new token from {}, renewer:{}", url, renewer); return authUrl.getDelegationToken(url, new DelegationTokenAuthenticatedURL.Token(), renewer, doAsUser); } }); if (token != null) { - LOG.debug("New token received: ({})", token); + LOG.info("New token received: ({})", token); credentials.addToken(token.getService(), token); tokens = new Token[] { token }; } else {