[ 
https://issues.apache.org/jira/browse/YARN-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated YARN-490:
-------------------------------

    Attachment: YARN-490.1.patch

With this patch, the test passes on Mac and Windows.

In {{Client}}, we need to switch to using platform-specific environment 
variable syntax and path separator.  In {{TestDistributedShell}}, we need to 
shorten the test working directory by using {{Class#getSimpleName}}, similar to 
what we've done in some earlier patches.  We also need to launch "dir" instead 
of "ls" on Windows.

Also, these tests won't pass successfully on Windows unless the patch on 
YARN-488 is applied too.
                
> TestDistributedShell fails on Windows
> -------------------------------------
>
>                 Key: YARN-490
>                 URL: https://issues.apache.org/jira/browse/YARN-490
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications/distributed-shell
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: YARN-490.1.patch
>
>
> There are a few platform-specific assumption in distributed shell (both main 
> code and test code) that prevent it from working correctly on Windows.

--
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