Steve Loughran commented on YARN-728:

marking as a duplicate of the (fixed) YARN-1138

> Yarn and MR default classpath are wrong on Windows
> --------------------------------------------------
>                 Key: YARN-728
>                 URL: https://issues.apache.org/jira/browse/YARN-728
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>         Attachments: YARN-728.patch
> On Windows, the environment variables need to be used as %X% not $X as in 
> Linux/Unix. This is handled in code in Yarn in the 
> ApplicationConstants$Environment.$() method. However there are two problems 
> in Windows today where this doesn't work:
> # In yarn-default.xml and mapred-default.xml, the yarn.application.classpath 
> and mapreduce.application.classpath are defined with hard-coded values that 
> use the Linux form (e.g. $HADOOP_CONF_HOME).
> defined using the Linux form for HADOOP_MAPRED_HOME: $HADOOP_MAPRED_HOME.
> This causes MR applications to fail on Windows because it can't find the 
> MRAppMaster class because the classpath is wrong.

This message was sent by Atlassian JIRA

Reply via email to