hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-4601) Windows CMD processor doesn't use double quotes
Date Tue, 28 Aug 2012 21:01:07 GMT

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

Owen O'Malley updated MAPREDUCE-4601:

    Attachment: mr-4601.patch

This changes MapReduce to only put the quotes in if the platform is not Windows.
> Windows CMD processor doesn't use double quotes
> -----------------------------------------------
>                 Key: MAPREDUCE-4601
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4601
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1-win
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>         Attachments: mr-4601.patch
> Currently, the task launch script under windows matches Linux and double quotes all of
the values. Unfortunately, the Windows' CMD processor doesn't need and doesn't ignore the
double quotes. The main symptom of this is that the CLASSPATH loses the first and last entries.
> {code}
> set CLASSPATH="c:\foo;c:\bar;c:\baz"
> {code}
> results in having '"c:\foo' 'c:\bar' and 'c:\baz"' on the classpath. Of those three,
only the 'c:\bar' is valid. 

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