hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liang xie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2049) Should add the column name tips for HDFS shell command
Date Mon, 19 Nov 2012 03:38:59 GMT

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

liang xie commented on HDFS-2049:
---------------------------------

After applied patch, the output format just like this :

[root@infra1 bin]# ./hdfs dfs -count -header /
DIR_COUNT FILE_COUNT CONTENT_SIZE FILE_NAME
           7        10002           10292583 /
[root@infra1 bin]# ./hdfs dfs -count -q -header /
QUOTA REMAINING_QUATA SPACE_QUOTA REMAINING_SPACE_QUOTA DIR_COUNT FILE_COUNT CONTENT_SIZE
FILE_NAME
  2147483647      2147473638            none             inf            7        10002   
       10292583 /
                
> Should add the column name tips for HDFS shell command
> ------------------------------------------------------
>
>                 Key: HDFS-2049
>                 URL: https://issues.apache.org/jira/browse/HDFS-2049
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client
>    Affects Versions: 0.21.0
>            Reporter: Denny Ye
>            Assignee: liang xie
>              Labels: comand, newbie, shell
>             Fix For: 3.0.0
>
>         Attachments: HDFS-2049.txt
>
>
> :abc:root > bin/hadoop fs -count -q /ABC
> 11/06/07 18:05:54 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping;
cacheTimeout=300000
> 11/06/07 18:05:54 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use
mapreduce.task.attempt.id
>         none             inf            none             inf           13          372
                 0 hdfs://abc:9000/ABC
> --------------------------------------
> I got the result columns without column name. It make me confused. Actually, it should
like this in a kindly matter.
> :abc:root > bin/hadoop fs -count -q /ABC
> 11/06/07 18:05:54 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping;
cacheTimeout=300000
> 11/06/07 18:05:54 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use
mapreduce.task.attempt.id
>         QUOTA, REMAINING_QUATA, SPACE_QUOTA, REMAINING_SPACE_QUOTA, DIR_COUNT, FILE_COUNT,
CONTENT_SIZE, FILE_NAME
>         none             inf            none             inf           13          372
                 0 hdfs://abc:9000/ABC

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message