JackWangCS commented on code in PR #20066:
URL: https://github.com/apache/flink/pull/20066#discussion_r907144799


##########
flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterDescriptor.java:
##########
@@ -1294,7 +1294,7 @@ private void removeLocalhostBindHostSetting(
     private void setTokensFor(ContainerLaunchContext containerLaunchContext) 
throws Exception {
         LOG.info("Adding delegation tokens to the AM container.");
 
-        Credentials credentials = 
UserGroupInformation.getCurrentUser().getCredentials();
+        Credentials credentials = new Credentials();

Review Comment:
   Got it, then the HBase delegation token provider could also move forward.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to