HADOOP-16079. Token.toString faulting if any token listed can't load.
Contributed by Steve Loughran. (cherry picked from commit 7f46d13dac8cf85b094f41b3dd68e02c69e5afbc)
This commit is contained in:
parent
3b03ff6fdd
commit
9a31dd4c67
@ -156,7 +156,7 @@ public byte[] getIdentifier() {
|
||||
try {
|
||||
TokenIdentifier id = tokenIdentifiers.next();
|
||||
tokenKindMap.put(id.getKind(), id.getClass());
|
||||
} catch (ServiceConfigurationError e) {
|
||||
} catch (ServiceConfigurationError | LinkageError e) {
|
||||
// failure to load a token implementation
|
||||
// log at debug and continue.
|
||||
LOG.debug("Failed to load token identifier implementation", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user