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

Chris Nauroth commented on HADOOP-10112:
----------------------------------------

It looks like this was fixed by HADOOP-9981, which optimized the new 
{{Globber}} code.  If I revert that patch from branch-2, then I see the bug.  
After restoring that patch, the bug goes away and I see the listing of the har 
contents as I would expect.

HADOOP-9981 was committed to trunk and branch-2, but not branch-2.2, because it 
was a fix in the new {{Globber}} code, which doesn't exist in branch-2.2.

> 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)

Reply via email to