HorizonNet commented on a change in pull request #1743:
URL: https://github.com/apache/hbase/pull/1743#discussion_r428202664
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/FsDelegationToken.java
##########
@@ -104,6 +104,7 @@ public void acquireDelegationToken(final String tokenKind,
final FileSystem fs)
hasForwardedToken = false;
try {
userToken = fs.getDelegationToken(renewer);
+ userProvider.getCurrent().addToken(userToken);
Review comment:
LGTM. Does it make sense to add a small test to have it covered/verified?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]