You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2009/07/07 02:57:14 UTC

[jira] Created: (MAPREDUCE-714) JobConf.findContainingJar unescapes unnecessarily on Linux

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
            Reporter: Todd Lipcon


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.
-
You can reply to this email to add a comment to the issue online.