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 "Daryn Sharp (JIRA)" <ji...@apache.org> on 2014/09/09 18:36:29 UTC

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

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

Daryn Sharp commented on HADOOP-7713:
-------------------------------------

I understand Allen's point but I'm not sure how many options we'll realistically add.  Again, I'd selfishly like the option in 2.x w/o breaking monitoring scripts. :)

Maybe I'm missing something obvious, but why is this needed? {{STRING_FORMAT.replace('d', 's')}}

> 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
>
>
> 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)