Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 99992 invoked from network); 25 Oct 2010 07:01:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Oct 2010 07:01:48 -0000 Received: (qmail 24212 invoked by uid 500); 25 Oct 2010 07:01:48 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 24171 invoked by uid 500); 25 Oct 2010 07:01:48 -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 24163 invoked by uid 99); 25 Oct 2010 07:01:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 07:01:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 07:01:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9P71Ok5010482 for ; Mon, 25 Oct 2010 07:01:24 GMT Message-ID: <4893479.54841287990084698.JavaMail.jira@thor> Date: Mon, 25 Oct 2010 03:01:24 -0400 (EDT) From: "Mahadev konar (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-2143) HarFileSystem is not able to handle spaces in its path In-Reply-To: <19294455.50471287509307490.JavaMail.jira@thor> 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:all-tabpanel ] Mahadev konar updated MAPREDUCE-2143: ------------------------------------- Fix Version/s: 0.22.0 > 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. - You can reply to this email to add a comment to the issue online.