[
https://issues.apache.org/jira/browse/HADOOP-9364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13594269#comment-13594269
]
Ivan Mitic commented on HADOOP-9364:
------------------------------------
bq. I am not so sure why we need the empty string check in Path though.
Thanks Chuan, this is a good question. Java File does not complain about the
empty string. I don't have a strong preference, so we can go both ways. Since I
cannot think of a good scenario that would justify empty paths (other than the
one in this Jira), I'm leaning toward not changing Path. If people generally
think this is appropriate I can make this change.
> PathData#expandAsGlob does not return correct results for absolute paths on
> Windows
> -----------------------------------------------------------------------------------
>
> Key: HADOOP-9364
> URL: https://issues.apache.org/jira/browse/HADOOP-9364
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: trunk-win
> Reporter: Ivan Mitic
> Assignee: Ivan Mitic
> Attachments: HADOOP-9364.branch-trunk-win.pathdata.patch
>
>
> This causes {{FsShell ls}} not to work properly for absolute paths. For
> example:
> {code}
> -fs hdfs://127.0.0.1:58559 -ls -R /dir0
> {code}
> returns
> {code}
> drwxr-xr-x - ivanmi supergroup 0 2013-03-05 11:15 ../../dir0/dir1
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira