You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2012/10/21 09:38:13 UTC

[jira] [Updated] (YARN-176) Some YARN tests fail to find winutils

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

Chris Nauroth updated YARN-176:
-------------------------------

    Attachment: YARN-176-branch-trunk-win.patch

This patch overrides the Surefire configuration for the YARN modules to use the correct relative path for HADOOP_HOME to find winutils.  This resolves several test failures.
                
> Some YARN tests fail to find winutils
> -------------------------------------
>
>                 Key: YARN-176
>                 URL: https://issues.apache.org/jira/browse/YARN-176
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: api
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>              Labels: trunk-win
>         Attachments: YARN-176-branch-trunk-win.patch
>
>
> All modules inherit a setting in the Surefire configuration for HADOOP_HOME via the hadoop-project pom.xml. This setting is a relative path used in Shell.java to find winutils when running on Windows. The YARN modules have a deeper directory structure, which makes the inherited value of HADOOP_HOME invalid and causes some tests to fail while calling winutils.

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