You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/04/07 17:42:22 UTC
[jira] [Commented] (MAPREDUCE-2143) HarFileSystem is not able to
handle spaces in its path
[ https://issues.apache.org/jira/browse/MAPREDUCE-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016971#comment-13016971 ]
Hudson commented on MAPREDUCE-2143:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk #643 (See [https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk/643/])
> HarFileSystem is not able to handle spaces in its path
> ------------------------------------------------------
>
> Key: MAPREDUCE-2143
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2143
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: harchive
> Reporter: Ramkumar Vadali
> Assignee: Ramkumar Vadali
> Fix For: 0.22.0
>
> Attachments: MAPREDUCE-2143.patch
>
>
> If the Path to the HAR contains spaces, Path.getFileSystem() fails. The problem is in HarFileSystem.initialize(), which uses URI.toString() to get a string for getting to the .har suffix. URI.toString() returns a percent-encoded string when the path contains spaces. When this string is subsequently used to get the _index file, we get a FileNotFoundException. The fix is to use URI.getPath().
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira