Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 67290 invoked from network); 7 Apr 2011 15:44:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2011 15:44:39 -0000 Received: (qmail 45532 invoked by uid 500); 7 Apr 2011 15:44:39 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 45484 invoked by uid 500); 7 Apr 2011 15:44:39 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 45468 invoked by uid 99); 7 Apr 2011 15:44:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 15:44:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 15:44:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D1D9297D60 for ; Thu, 7 Apr 2011 15:42:22 +0000 (UTC) Date: Thu, 7 Apr 2011 15:42:22 +0000 (UTC) From: "Hudson (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1457859341.41267.1302190942856.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-2143) HarFileSystem is not able to handle spaces in its path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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