You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/06/27 08:58:12 UTC

[GitHub] [flink] JackWangCS commented on a diff in pull request #20066: [FLINK-25908][runtime][security] Add HadoopFSDelegationTokenProvider

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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org