[
https://issues.apache.org/jira/browse/YARN-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13932189#comment-13932189
]
Jian He commented on YARN-1824:
-------------------------------
If I understand you correctly, the following is read from xml file and will
first be parsed and put into a in-memory map,
{code}
<property>
<name>yarn.application.classpath</name>
<value>
/etc/hadoop/conf,/usr/lib/hadoop/*,/usr/lib/hadoop/lib/*,/usr/lib/hadoop-hdfs/*,/usr/lib/hadoop-hdfs/lib/*,/usr/lib/hadoop-yarn/*,/usr/lib/hadoop-yarn/lib/*,/usr/lib/hadoop-mapreduce/*,/usr/lib/hadoop-mapreduce/lib/*
</value>
</property>
{code}
after that the constant <CLASS_PATH_SEPARATOR> will be used to concatenate
the paths as following and sent across to NM. NM will replace the
<CLASS_PATH_SEPARATOR> with its own separator.
{code}
/etc/hadoop/conf<CLASS_PATH_SEPARATOR>/usr/lib/hadoop/*<CLASS_PATH_SEPARATOR>/usr/lib/hadoop/lib/*<CLASS_PATH_SEPARATOR>/usr/lib/hadoop-hdfs/*<CLASS_PATH_SEPARATOR>/usr/lib/hadoop-hdfs/lib/*
.....
{code}
The curly brackets {{VAR}} is used as env expansion marker for indicating env
variables.
> Make Windows client work with Linux/Unix cluster
> ------------------------------------------------
>
> Key: YARN-1824
> URL: https://issues.apache.org/jira/browse/YARN-1824
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.4.0
> Reporter: Jian He
> Assignee: Jian He
> Fix For: 2.4.0
>
> Attachments: YARN-1824.1.patch, YARN-1824.1.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)