[
https://issues.apache.org/jira/browse/HDFS-10404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15288062#comment-15288062
]
Yiqun Lin commented on HDFS-10404:
----------------------------------
Thanks [~cmccabe] for commit!
> Fix formatting of CacheAdmin command usage help text
> ----------------------------------------------------
>
> Key: HDFS-10404
> URL: https://issues.apache.org/jira/browse/HDFS-10404
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: caching
> Affects Versions: 2.7.1
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
> Fix For: 2.9.0
>
> Attachments: HDFS-10404.001.patch, HDFS-10404.002.patch
>
>
> In {{CacheAdmin}}, there are two places that not completely showing the cmd
> usage message.
> {code}
> $ hdfs cacheadmin
> Usage: bin/hdfs cacheadmin [COMMAND]
> [-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>]
> {code}
> The command {{-listDirectives}} and {{-addPool}} are not showing completely,
> they are both lacking a ']' in the end of line.
> In the {{CentralizedCacheManagement.md}}, there is also a similar problem.
> The page of {{CentralizedCacheManagement}} can also showed this,
> https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/CentralizedCacheManagement.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]