[
https://issues.apache.org/jira/browse/MAPREDUCE-5403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13717603#comment-13717603
]
Sandy Ryza commented on MAPREDUCE-5403:
---------------------------------------
bq. I wanted to point out there are other interesting tidbits of information in
yarn-site.xml besides the classpath that clients may want to access, and I'm
wondering what criteria qualifies a client-consumed property to graduate to an
environment variable or some other mechanism for determining the value besides
parsing yarn-site.xml.
My saying that YARN configs should not be client configs was imprecise, and I
totally agree that the reality has more shares of gray. Regarding the
criteria, my general ideal would be to only keep client configs that relate to
how to locate and communicate with the YARN services. Though that might need
to be amended to cover some requirements I'm not thinking of?
Uploading a patch that makes yarn.application.classpath a server-side config.
Whatever is placed into a NodeManager's yarn.application.classpath gets placed
in the container environment as $YARN_APPLICATION_CLASSPATH.
> Get rid of yarn.application.classpath
> -------------------------------------
>
> Key: MAPREDUCE-5403
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5403
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: client
> Affects Versions: 2.0.5-alpha
> Reporter: Sandy Ryza
> Assignee: Sandy Ryza
>
> yarn.application.classpath is a confusing property because it is used by
> MapReduce and not YARN, and MapReduce already has
> mapreduce.application.classpath, which provides the same functionality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira