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

Chris Nauroth updated MAPREDUCE-4983:
-------------------------------------

    Attachment: MAPREDUCE-4983-branch-trunk-win.2.patch

Thanks, Vinod and Bikas.  I'm attaching version 2 of the patch to address your 
feedback.

{quote}
Can you change TestMRJobs to use TEST_ROOT_DIR instead of hardcoding /tmp, but 
address the mixed slash issue with Path#toString()?
{quote}

Unfortunately, no, we can't use TEST_ROOT_DIR for this.  In addition to the 
slash issue, TEST_ROOT_DIR will have a drive spec, and HDFS will reject any 
path with a ':' as invalid.  TEST_ROOT_DIR needs to stay fully qualified, with 
drive spec, for some of the local file system setup operations in the test.  I 
have introduced a new constant, OUTPUT_ROOT_DIR, so at least we don't repeat 
"/tmp" in multiple places.

{quote}
Please do fix the existing typo "mapPahseprogress"{quote}

I kept looking right past it.  :-)  Fixed.

                
> multiple MapReduce tests fail on Windows due to platform-specific assumptions 
> in test code
> ------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4983
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4983
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: MAPREDUCE-4983-branch-trunk-win.1.patch, 
> MAPREDUCE-4983-branch-trunk-win.2.patch
>
>
> Multiple MapReduce tests have code that makes platform-specific assumptions 
> which do not hold true on Windows.  This includes assumptions about file path 
> manipulation, the path separator used between classpath elements, environment 
> variable syntax, and order of files returned from a directory listing of the 
> local file system.

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