zuston commented on a change in pull request #15131:
URL: https://github.com/apache/flink/pull/15131#discussion_r596509990



##########
File path: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterDescriptor.java
##########
@@ -1079,15 +1080,24 @@ private ApplicationReport startAppMaster(
 
         // setup security tokens
         if (UserGroupInformation.isSecurityEnabled()) {
-            // set HDFS delegation tokens when security is enabled
-            LOG.info("Adding delegation token to the AM container.");
-            List<Path> yarnAccessList =
-                    ConfigUtils.decodeListFromConfig(
-                            configuration, YarnConfigOptions.YARN_ACCESS, 
Path::new);
+            List<Path> yarnAccessList = new ArrayList<>();

Review comment:
       You mean that when `YARN_ACCESS` and `YARN_SECURITY_ENABLED` are existed 
together, Flink client should fast fail through throwing exception or exit 
Non-zero code.
   Right? @wangyang0918 




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


Reply via email to