[ 
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.

Reply via email to