[
https://issues.apache.org/jira/browse/HDFS-9928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189527#comment-15189527
]
Masatake Iwasaki commented on HDFS-9928:
----------------------------------------
{noformat}
-Usage: `hdfs cacheadmin -addDirective -path <path> -pool <pool-name> [-force]
[-replication <replication>] [-ttl <time-to-live>]`
+Usage:
+
+ hdfs dfsadmin
+ [-addDirective -path <path> -pool <pool-name> [-force] [-replication
<replication>] [-ttl <time-to-live>]]
+ [-modifyDirective -id <id> [-path <path>] [-force] [-replication
<replication>] [-pool <pool-name>] [-ttl <time-to-live>]]
+ [-listDirectives [-stats] [-path <path>] [-pool <pool>] [-id <id>]
+ [-removeDirective <id>]
+ [-removeDirectives -path <path>]
+ [-addPool <name> [-owner <owner>] [-group <group>] [-mode <mode>]
[-limit <limit>] [-maxTtl <maxTtl>]
+ [-modifyPool <name> [-owner <owner>] [-group <group>] [-mode <mode>]
[-limit <limit>] [-maxTtl <maxTtl>]]
+ [-removePool <name>]
+ [-listPools [-stats] [<name>]]
+ [-help <command-name>]
{noformat}
* {{hdfs dfsadmin}} should be {{hdfs cacheadmin}}.
* This usage looks like we can use multiple directives at the same time but it
is not true.
> Make HDFS commands guide up to date
> -----------------------------------
>
> Key: HDFS-9928
> URL: https://issues.apache.org/jira/browse/HDFS-9928
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 3.0.0
> Reporter: Wei-Chiu Chuang
> Assignee: Wei-Chiu Chuang
> Labels: documentation, supportability
> Attachments: HDFS-9928.001.patch
>
>
> A few HDFS subcommands and options are missing in the documentation.
> # envvars: display computed Hadoop environment variables
> I also noticed (in HDFS-9927) that a few OIV options are missing, and I'll be
> looking for other missing options as well.
> Filling this JIRA to fix them all.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)