Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 67017 invoked from network); 17 Jan 2008 09:40:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jan 2008 09:40:58 -0000 Received: (qmail 46817 invoked by uid 500); 17 Jan 2008 09:40:47 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 46802 invoked by uid 500); 17 Jan 2008 09:40:47 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 46793 invoked by uid 99); 17 Jan 2008 09:40:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2008 01:40:47 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2008 09:40:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 35AFD71426D for ; Thu, 17 Jan 2008 01:40:34 -0800 (PST) Message-ID: <29357949.1200562834217.JavaMail.jira@brutus> Date: Thu, 17 Jan 2008 01:40:34 -0800 (PST) From: "Thomas Friol (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-2626) RawLocalFileStatus is badly handling URIs In-Reply-To: <12721843.1200504635017.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2626?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Friol updated HADOOP-2626: --------------------------------- Attachment: (was: patch-Hadoop-2626.diff) > RawLocalFileStatus is badly handling URIs > ----------------------------------------- > > Key: HADOOP-2626 > URL: https://issues.apache.org/jira/browse/HADOOP-2626 > Project: Hadoop > Issue Type: Bug > Components: fs > Affects Versions: 0.15.2 > Reporter: Fr=C3=A9d=C3=A9ric Bertin > Attachments: HADOOP-2626.patch > > > as a result, files with special characters (that get encoded when transla= ted to URIs) are badly handled using a local filesystem. > {{new Path(f.toURI().toString()))}} should be replaced by {{new Path(f.to= URI().getPath()))}} > IMHO, each call to {{toURI().toString()}} should be considered suspicious= . There's another one in the class CopyFiles at line 641. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.