Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
2.3.0
-
None
-
None
-
None
Description
-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
This behavior is new to 2.0. In 1.X it would not print this at all:
-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
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.
Attachments
Issue Links
- duplicates
-
HADOOP-8691 FsShell can print "Found xxx items" unnecessarily often
- Closed