link3280 commented on a change in pull request #7895:
[FLINK-11126][YARN][security] Filter out AMRMToken in TaskManager‘s credentials
URL: https://github.com/apache/flink/pull/7895#discussion_r287555874
##########
File path: flink-yarn/src/main/java/org/apache/flink/yarn/Utils.java
##########
@@ -80,6 +80,9 @@
/** Yarn site xml file name populated in YARN container for secure IT
run. */
public static final String YARN_SITE_FILE_NAME = "yarn-site.xml";
+ /** AM RM delegation token name populated in YARN container. */
+ public static final String AM_RM_TOKEN_NAME = "YARN_AM_RM_TOKEN";
Review comment:
It occurs to me that we can use `AMRMTokenIdentifier.KIND_NAME` directly
without introducing new dependencies since we're in `yarn-test` module.
----------------------------------------------------------------
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]
With regards,
Apache Git Services