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:
parent
408c5c53b1
commit
6b6bd82bf0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue