You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2012/08/13 22:24:38 UTC

[jira] [Created] (HADOOP-8691) FsShell can print "Found xxx items" unnecessarily often

Jason Lowe created HADOOP-8691:
----------------------------------

             Summary: 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: Bug
          Components: fs
    Affects Versions: 2.0.0-alpha, 0.23.3
            Reporter: Jason Lowe
            Priority: Minor


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira