[ https://issues.apache.org/jira/browse/HDFS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118092#comment-13118092 ]
Jonathan Allen commented on HDFS-364: ------------------------------------- Updated hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Count.java to optionally display header record. Added JUnit test class - hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java > dfs -count -q should label output column > ---------------------------------------- > > Key: HDFS-364 > URL: https://issues.apache.org/jira/browse/HDFS-364 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Nigel Daley > Labels: newbie > Attachments: HDFS-364-1.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 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