xiaoyuyao commented on a change in pull request #1454: URL: https://github.com/apache/hadoop-ozone/pull/1454#discussion_r497636613
########## File path: hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java ########## @@ -193,10 +196,11 @@ public synchronized void initialize() throws IOException { if (token != null) { UserGroupInformation.getCurrentUser().addToken(token); Review comment: Should we just pass down the token from the caller directly and bypass the UGI addToken/getTokens completely? ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org