GitHub user fredji97 opened a pull request:
https://github.com/apache/samza/pull/191
SAMZA-1280 document for the general/universal resource localization in YARN
This PR added a MD for explaining localizing any resource in Samza on YARN
by configuring 4 key configurations.
yarn.resources.<resource-name>.path
yarn.resources.<resource-name>.local.name
yarn.resources.<resource-name>.local.type
yarn.resources.<resource-name>.local.visibility
This PR also updated the configuration table, updated index table and fixed
several broken links in other docs.
The preview was done by following the following instructions and it looked
fine.
1. go to samza/docs dir
2. run "bundle exec jekyll build"
3. run "_docs/local-site-test.sh"
4. run "bundle exec jekyll serve --watch --baseurl --port 4444"
5. open the browser and check
http://localhost:4444/learn/documentation/versioned/
http://localhost:4444/learn/documentation/versioned/yarn/yarn-resource-localization.html
http://localhost:4444/learn/documentation/versioned/jobs/configuration-table.html
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fredji97/samza resourceLocalizationDoc
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/samza/pull/191.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 #191
----
commit 618c9d03ff611d0b4c0876b24968f4b03101e64e
Author: Fred Ji <[email protected]>
Date: 2017-05-12T22:06:44Z
SAMZA-1280 document for the general/universal resource localization in YARN
----
---
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.
---