HADOOP-18715. Add debug log for getting details of tokenKindMap (#5608). Contributed by Pralabh Kumar.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
Pralabh Kumar 2023-04-29 17:28:49 +05:30 committed by GitHub
parent 1a2cd965a7
commit d75c6d9d57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,7 @@ public byte[] getIdentifier() {
while (tokenIdentifiers.hasNext()) { while (tokenIdentifiers.hasNext()) {
try { try {
TokenIdentifier id = tokenIdentifiers.next(); TokenIdentifier id = tokenIdentifiers.next();
LOG.debug("Added {}:{} into tokenKindMap", id.getKind(), id.getClass());
tokenKindMap.put(id.getKind(), id.getClass()); tokenKindMap.put(id.getKind(), id.getClass());
} catch (ServiceConfigurationError | LinkageError e) { } catch (ServiceConfigurationError | LinkageError e) {
// failure to load a token implementation // failure to load a token implementation