hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8691) FsShell can print "Found xxx items" unnecessarily often
Date Wed, 05 Mar 2014 14:56:23 GMT

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

Hudson commented on HADOOP-8691:
--------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1717 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1717/])
HADOOP-8691. FsShell can print "Found xxx items" unnecessarily often. Contributed By Daryn
Sharp. (wheat9: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1574261)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Ls.java


> FsShell can print "Found xxx items" unnecessarily often
> -------------------------------------------------------
>
>                 Key: HADOOP-8691
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8691
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.23.3, 2.0.0-alpha
>            Reporter: Jason Lowe
>            Assignee: Daryn Sharp
>            Priority: Minor
>             Fix For: 2.4.0
>
>         Attachments: HADOOP-8691.txt
>
>
> The "Found xxx items" header that is printed with a file listing will often appear multiple
times in not-so-helpful ways in light of globbing.  For example:
> {noformat}
> $ hadoop fs -ls 'teradata/*'  
> Found 1 items
> -rw-r--r--   1 someuser somegroup          0 2012-08-06 16:55 teradata/_SUCCESS
> Found 1 items
> -rw-r--r--   1 someuser somegroup       5000 2012-08-06 16:55 teradata/part-m-00000
> Found 1 items
> -rw-r--r--   1 someuser somegroup       5000 2012-08-06 16:55 teradata/part-m-00001
> {noformat}
> Seems like it should just print "Found 3 items" once at the top, or maybe not even print
a header at all.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message