[
https://issues.apache.org/jira/browse/HADOOP-10369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Lowe resolved HADOOP-10369.
---------------------------------
Resolution: Duplicate
This is a duplicate of HADOOP-8691.
> hadoop fs -ls prints "Found 1 items" for each entry when globbing
> -----------------------------------------------------------------
>
> Key: HADOOP-10369
> URL: https://issues.apache.org/jira/browse/HADOOP-10369
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.3.0
> Reporter: Chris Li
> Priority: Minor
>
> {noformat}
> -sh-4.1$ hadoop fs -ls /user/chrili/books/84*
> Found 1 items
> -rw-r--r-- 3 chrili gid-chrili 142382 2014-02-25 18:30
> /user/chrili/books/844.other
> Found 1 items
> -rwxr-xr-x 3 chrili gid-chrili 142382 2013-09-24 10:47
> /user/chrili/books/844.txt.utf-8
> {noformat}
> This behavior is new to 2.0. In 1.X it would not print this at all:
> {noformat}
> -sh-4.1$ hadoop fs -ls /user/chrili/books/84*
> -rw-r--r-- 3 chrili gid-chrili 142382 2014-02-25 18:30
> /user/chrili/books/844.other
> -rwxr-xr-x 3 chrili gid-chrili 142382 2013-09-24 10:47
> /user/chrili/books/844.txt.utf-8
> {noformat}
> We can workaround this today by filtering with grep first, but I don't think
> this is the sort of thing that should be printed to stdout in the first
> place. Seems like it would be more appropriate to output to stderr.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)