[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718833#comment-13718833
 ] 

Sandy Ryza commented on MAPREDUCE-5403:
---------------------------------------

bq. why are we using a literal string instead of a programming friendly 
constant?
Good point. Will add a constant in.

bq. Why have we changed YARN_APPLICATION_CLASSPATH to NM_APPLICATION_CLASSPATH? 
The convention for configs that are used (only) by the NodeManager is NM (e.g. 
NM_HEALTH_CHECK_INTERVAL_MS, NM_LINUX_CONTAINER_EXECUTOR_PATH, etc.).  Nearly 
all configs in this category will be the same across all nodes.

bq. Regardless, is this a configuration for the yarn application or the NM?
It is a configuration for the NM, specifying where the framework jars are 
located on the node.

bq. Mixing NM_APPLICATION_CLASSPATH with YARN_APPLICATION_CLASSPATH_DEFAULT???
Ooooops my bad.
                
> yarn.application.classpath requires client to know service internals
> --------------------------------------------------------------------
>
>                 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
>         Attachments: MAPREDUCE-5403-1.patch, MAPREDUCE-5403.patch
>
>
> 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

Reply via email to