Github user vijikarthi commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84174244 --- Diff: flink-yarn/src/main/java/org/apache/flink/yarn/cli/FlinkYarnSessionCli.java --- @@ -108,6 +111,11 @@ private final Options ALL_OPTIONS; + private static final String fileName = "yarn-app.ini"; + private static final String cookieKey = "secureCookie"; --- End diff -- I agree it is not manageable to have multiple files but there are two main reasons for introducing this new file. - Yarn properties file is stored in /tmp location which is accessible to all the users. We want to store the secure cookie in user home location to prevent cookie leak - Current implementation of Yarn properties file does not take multiple applications (Yarn application ID) in to account which is resolved using the ini file implementation.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---