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

[jira] [Updated] (MAPREDUCE-4739) Some MapReduce tests fail to find winutils.

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

Chris Nauroth updated MAPREDUCE-4739:
-------------------------------------

    Attachment: MAPREDUCE-4739-branch-trunk-win.patch

This patch overrides the Surefire configuration for the MapReduce modules to use the correct relative path for HADOOP_HOME to find winutils.  This resolves several test failures.

This patch is intended for branch-trunk-win.
                
> Some MapReduce tests fail to find winutils.
> -------------------------------------------
>
>                 Key: MAPREDUCE-4739
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4739
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build, test
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>         Attachments: MAPREDUCE-4739-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 MapReduce 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