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

Hudson commented on HDFS-11061:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10724 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/10724/])
HDFS-11061. Update dfs -count -t command line help and documentation. (weichiu: 
rev 112f04eb1b771e410ffd232a46e0ee2bc7b99d06)
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Count.java
* (edit) 
hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md
* (edit) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java


> Update dfs -count -t command line help and documentation
> --------------------------------------------------------
>
>                 Key: HDFS-11061
>                 URL: https://issues.apache.org/jira/browse/HDFS-11061
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation, fs
>            Reporter: Wei-Chiu Chuang
>            Assignee: Yiqun Lin
>            Priority: Minor
>              Labels: docuentation, supportability
>             Fix For: 2.8.0, 3.0.0-beta1
>
>         Attachments: HDFS-11061.001.patch, HDFS-11061.002.patch, 
> HDFS-11061.003.patch, HDFS-11061.004.patch
>
>
> 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 ignored. 
> * 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to