Andrew Wang created HDFS-5565:
---------------------------------

             Summary: CacheAdmin help should match against non-dashed commands
                 Key: HDFS-5565
                 URL: https://issues.apache.org/jira/browse/HDFS-5565
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: caching
    Affects Versions: 3.0.0
            Reporter: Andrew Wang
            Priority: Minor


Using the shell, `hdfs dfsadmin -help refreshNamespace` returns help text, but 
for cacheadmin, you have to specify `hdfs cacheadmin -help -addDirective` with 
a dash before the command name. This is inconsistent with dfsadmin, dfs, and 
haadmin, which also error when you provide a dash.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to