hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5470) LocalJobRunner does not work on Windows.
Date Thu, 22 Aug 2013 20:53:52 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-5470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747884#comment-13747884

Chris Nauroth commented on MAPREDUCE-5470:

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.

There are no new tests, but I've confirmed that the patch fixes existing tests on Windows.
> LocalJobRunner does not work on Windows.
> ----------------------------------------
>                 Key: MAPREDUCE-5470
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5470
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.1.1-beta
>            Reporter: Chris Nauroth
>            Assignee: Sandy Ryza
>         Attachments: MAPREDUCE-5470.patch
> {{LocalJobRunner#getLocalTaskDir}} creates a directory that is unique to the task ID.
 The logic of this method concatenates the local job dir and a task-specific path, but one
of the arguments is a {{Path}} with a scheme, so the final result has "file:" embedded in
it.  This works on Linux, but the ':' is an invalid character in a file name 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

View raw message