[ 
https://issues.apache.org/jira/browse/HADOOP-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530154
 ] 

Doug Cutting commented on HADOOP-1891:
--------------------------------------

> Since this fails to do what one would reasonably expect with "." as a path [ 
> ... ]

Hmm.  It does what I'd expect.  "./foo" and "foo" name the same file, no?  
What's unexpected?

> new Path(".") should throw an exception [ ... ]

I don't see why.  Having an unresolved Path that represents the connected 
directory seems reasonable to me.

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