hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1891) "." is converted to an empty path
Date Tue, 25 Sep 2007 18:44:51 GMT

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


Mime
View raw message