Yiqun Lin created HDFS-10404:
--------------------------------

             Summary: CacheAdmin command usage message not shows completely
                 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


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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to