[
https://issues.apache.org/jira/browse/HADOOP-10112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829198#comment-13829198
]
Chris Nauroth commented on HADOOP-10112:
----------------------------------------
I don't think it's feasible to do a full backport of {{Globber}}. This was
part of the symlink changes, which were deferred out of the 2.2.x line to
mitigate risk.
I do think it would be valuable to provide a fix in branch-2.2 for
{{FileSystem#globStatusInternal}}. The HADOOP-9981 patch added several special
cases to halt processing early. This was motivated by performance reasons, not
correctness, so it may have just been accidental that the patch fixed this bug.
Fixing branch-2.2 is probably a matter of pulling out which specific special
case (or special cases) fixed this particular bug and translating the code to
something compatible with the current {{FileSystem#globStatusInternal}} code.
> har file listing doesn't work with wild card
> ---------------------------------------------
>
> Key: HADOOP-10112
> URL: https://issues.apache.org/jira/browse/HADOOP-10112
> Project: Hadoop Common
> Issue Type: Bug
> Components: tools
> Affects Versions: 2.2.1
> Reporter: Brandon Li
>
> [test@test001 root]$ hdfs dfs -ls har:///tmp/filename.har/*
> -ls: Can not create a Path from an empty string
> Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [<path> ...]
> It works without "*".
--
This message was sent by Atlassian JIRA
(v6.1#6144)