GitHub user wenlong88 opened a pull request:
https://github.com/apache/flink/pull/3388
[FLINK-5815] Add resource files configuration for Yarn Mode
This PR add three common resource configuration options to yarn mode, which
allow user to set single file resource from both local filesystem and remote
hdfs filesystem as what we can do using mapreduce, including:
1. add -yfiles . -ylibjars for adding local resource file to yarn per-job
cluster, user can provide a list of file paths to add some local jars or
dictionary files to yarn distributed cache.
2. add -yarchives for adding remote resource files to yarn per-job cluster,
user can provide a list of uri of files which can be stored on hdfs, user can
rename the file by fragment of the uri.
all of the files will be distributed to every TM and JM by yarn and added
to classpath of TM and JM.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wenlong88/flink jira-5815
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3388.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3388
----
commit 77f27600368de02c26d9a45b2e575585728a2ddd
Author: wenlong.lwl <[email protected]>
Date: 2017-01-04T02:52:31Z
add -yfiles -ylibjars -yarchives for yarn resource file management
commit e8957721e951d16861aff27af4d58e5ac42ec81b
Author: wenlong.lwl <[email protected]>
Date: 2017-02-22T09:35:55Z
remove useless change
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---