This is an automated email from the ASF dual-hosted git repository. ayushsaxena pushed a commit to branch branch-3.3 in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit 6b6bd82bf05c58afe65890d6e00d268623ae7814 Author: Pralabh Kumar <pralabh.ku...@uber.com> AuthorDate: Sat Apr 29 17:28:49 2023 +0530 HADOOP-18715. Add debug log for getting details of tokenKindMap (#5608). Contributed by Pralabh Kumar. Signed-off-by: Ayush Saxena <ayushsax...@apache.org> --- .../src/main/java/org/apache/hadoop/security/token/Token.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java index 33314060a55..3ea32bc41ed 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java @@ -136,6 +136,7 @@ public class Token<T extends TokenIdentifier> implements Writable { while (tokenIdentifiers.hasNext()) { try { TokenIdentifier id = tokenIdentifiers.next(); + LOG.debug("Added {}:{} into tokenKindMap", id.getKind(), id.getClass()); tokenKindMap.put(id.getKind(), id.getClass()); } catch (ServiceConfigurationError | LinkageError e) { // failure to load a token implementation --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org