hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-714) JobConf.findContainingJar unescapes unnecessarily on Linux
Date Sat, 12 Feb 2011 14:31:07 GMT

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

Hudson commented on MAPREDUCE-714:

Integrated in Hadoop-Mapreduce-22-branch #33 (See [https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-22-branch/33/])

> JobConf.findContainingJar unescapes unnecessarily on Linux
> ----------------------------------------------------------
>                 Key: MAPREDUCE-714
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-714
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>         Attachments: mapreduce-714.txt
> In JobConf.findContainingJar, the path name is decoded using URLDecoder.decode(...).
This was done by Doug in r381794 (commit msg "Un-escape containing jar's path, which is URL-encoded.
 This fixes things primarily on Windows, where paths are likely to contain spaces.") Unfortunately,
jar paths do not appear to be URL encoded on Linux. If you try to use "hadoop jar" on a jar
with a "+" in it, this function decodes it to a space and then the job cannot be submitted.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message