You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jonathan Allen (JIRA)" <ji...@apache.org> on 2014/09/14 15:04:34 UTC

[jira] [Updated] (HADOOP-7713) dfs -count -q should label output column

     [ https://issues.apache.org/jira/browse/HADOOP-7713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Allen updated HADOOP-7713:
-----------------------------------
    Attachment: HADOOP-7713.patch

Removed use of STRING_FORMAT.replace.

My thoughts on the default align with Daryn's, it would be nice to get this into the v2 branch (I can never remember what fields are returned by count and always have to have the help page open in another window).

> dfs -count -q should label output column
> ----------------------------------------
>
>                 Key: HADOOP-7713
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7713
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Nigel Daley
>            Assignee: Jonathan Allen
>            Priority: Trivial
>              Labels: newbie
>         Attachments: HADOOP-7713.patch, HADOOP-7713.patch, HADOOP-7713.patch, HADOOP-7713.patch, HADOOP-7713.patch, HADOOP-7713.patch, HADOOP-7713.patch, HADOOP-7713.patch, HADOOP-7713.patch, HADOOP-7713.patch
>
>
> These commands should label the output columns:
> {code}
> hadoop dfs -count <dir>...<dir>
> hadoop dfs -count -q <dir>...<dir>
> {code}
> Current output of the 2nd command above:
> {code}
> % hadoop dfs -count -q /user/foo /tmp
>         none             inf         9569         9493         6372553322 hdfs://nn1.bar.com/user/foo
>         none             inf          101         2689       209349812906 hdfs://nn1.bar.com/tmp
> {code}
> It is not obvious what these columns mean.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)