gaborgsomogyi commented on code in PR #20066:
URL: https://github.com/apache/flink/pull/20066#discussion_r906643914
##########
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:
I've modified the code not to change the current user's credentials (since
the framework is partially done).
--
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]