Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 27440 invoked from network); 28 Sep 2006 23:31:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2006 23:31:45 -0000 Received: (qmail 40533 invoked by uid 500); 28 Sep 2006 23:31:44 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 40505 invoked by uid 500); 28 Sep 2006 23:31:44 -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 40494 invoked by uid 99); 28 Sep 2006 23:31:44 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2006 16:31:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:60622] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 4D/46-00212-F5B5C154 for ; Thu, 28 Sep 2006 16:31:43 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BD8E77141E0 for ; Thu, 28 Sep 2006 23:27:51 +0000 (GMT) Message-ID: <17591806.1159486071773.JavaMail.jira@brutus> Date: Thu, 28 Sep 2006 16:27:51 -0700 (PDT) From: "Wendy Chien (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-423) file paths are not normalized In-Reply-To: <13847288.1154636773936.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-423?page=comments#action_12438585 ] Wendy Chien commented on HADOOP-423: ------------------------------------ You're right, I've changed the logic in the namenode check. I don't understand where you don't want to call Path.toString(), in DFSClient? The namenode only gets a String, which I parse for the offending sequences. Do you mean we should convert it to a Path there? > file paths are not normalized > ----------------------------- > > Key: HADOOP-423 > URL: http://issues.apache.org/jira/browse/HADOOP-423 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.4.0 > Reporter: Christian Kunz > Assigned To: Wendy Chien > Fix For: 0.7.0 > > Attachments: pathnorm2.patch > > > Paths containing '.' or '..' are not normalized -- the corresponding directories actually seem to be created. This is inconsistent and unexpected behavior, and is particularly painful when running from a working directory, using relative paths that start with ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira