hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11061) Fix dfs -count -t or update its documentation
Date Thu, 27 Oct 2016 02:32:59 GMT

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

Yiqun Lin commented on HDFS-11061:

Thanks [~jojochuang] for reporting this, it's a good catch. I prefer to update related documentations
in this JIRA. Attach a initial patch. Thanks for reviewing,

> Fix dfs -count -t or update its documentation
> ---------------------------------------------
>                 Key: HDFS-11061
>                 URL: https://issues.apache.org/jira/browse/HDFS-11061
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: fs
>            Reporter: Wei-Chiu Chuang
>            Assignee: Yiqun Lin
>            Priority: Minor
>              Labels: supportability
> According to dfs -count command line help, -t option must be used along with -q.
> * However, the current behavior is that  -t can be used without -q, it's just silently
> * In addition, -t may also be used with -u. 
> * The FileSystemShell doc does not state -t must be used along with -q. This should either
be enforced in the code, or update the doc/command line.
> * Also, the list of possible parameters for -t option is not described in the doc. Looking
at the code (Count.java), the list of possible parameters are either empty string (="all"),
"all", "ram_disk", "ssd", "disk" or "archive" (caseless)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message