Github user danny0405 commented on a diff in the pull request:
https://github.com/apache/storm/pull/2520#discussion_r162780179
--- Diff:
external/storm-autocreds/src/main/java/org/apache/storm/common/AbstractHadoopAutoCreds.java
---
@@ -113,10 +113,14 @@ private void addTokensToUGI(Subject subject) {
if (allTokens != null) {
for (Token<? extends TokenIdentifier> token :
allTokens) {
try {
+ if (token == null) {
+ LOG.debug("Ignoring null token");
+ continue;
+ }
--- End diff --
So in what scenario the token can be null ?
---