[ https://issues.apache.org/jira/browse/FLINK-6949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272096#comment-17272096 ]
Tang Yan commented on FLINK-6949: --------------------------------- [~m.pryahin] I can see the config folder has been added into yarn job's CLASSPATH from the job manager logs. Am I not using the right API to get the config files? > Add ability to ship custom resource files to YARN cluster > --------------------------------------------------------- > > Key: FLINK-6949 > URL: https://issues.apache.org/jira/browse/FLINK-6949 > Project: Flink > Issue Type: Improvement > Components: Command Line Client, Deployment / YARN > Affects Versions: 1.3.0 > Reporter: Mikhail Pryakhin > Assignee: Mikhail Pryakhin > Priority: Major > > *The problem:* > When deploying a flink job on YARN it is not possible to specify custom > resource files to be shipped to YARN cluster. > > *The use case description:* > When running a flink job on multiple environments it becomes necessary to > pass environment-related configuration files to the job's runtime. It can be > accomplished by packaging configuration files within the job's jar. But > having tens of different environments one can easily end up packaging as many > jars as there are environments. It would be great to have an ability to > separate configuration files from the job artifacts. > > *The possible solution:* > add the --yarnship-files option to flink cli to specify files that should be > shipped to the YARN cluster. -- This message was sent by Atlassian Jira (v8.3.4#803005)