Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 34603 invoked from network); 25 Sep 2007 18:45:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2007 18:45:15 -0000 Received: (qmail 34559 invoked by uid 500); 25 Sep 2007 18:45:05 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 34326 invoked by uid 500); 25 Sep 2007 18:45:05 -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 34317 invoked by uid 99); 25 Sep 2007 18:45:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2007 11:45:05 -0700 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; Tue, 25 Sep 2007 18:47:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6808F71420C for ; Tue, 25 Sep 2007 11:44:51 -0700 (PDT) Message-ID: <26511235.1190745891422.JavaMail.jira@brutus> Date: Tue, 25 Sep 2007 11:44:51 -0700 (PDT) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1891) "." is converted to an empty path In-Reply-To: <10962760.1189733792179.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530206 ] Doug Cutting commented on HADOOP-1891: -------------------------------------- > Well, "." and fs.getWorkingDirectory() aren't the same thing, as in the above example. Can you describe what you'd expect the example to print? Perhaps the fix is to avoid normalizing URIs until they are dereferenced within a FileSystem implementation? That way "./foo" would print as "./foo" rather than just "foo". > "." is converted to an empty path > --------------------------------- > > Key: HADOOP-1891 > URL: https://issues.apache.org/jira/browse/HADOOP-1891 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.14.1 > Environment: Linux > Reporter: Olga Natkovich > Assignee: Chris Douglas > > Path p = new Path("."); > System.out.println("path=(" + p.toString() +")"); > path =() -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.