You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2016/03/17 21:44:33 UTC
[jira] [Updated] (HDFS-10172) hdfs erasurecode command should
remove the redundant -usage option
[ https://issues.apache.org/jira/browse/HDFS-10172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Wang updated HDFS-10172:
-------------------------------
Labels: newbie (was: )
> hdfs erasurecode command should remove the redundant -usage option
> ------------------------------------------------------------------
>
> Key: HDFS-10172
> URL: https://issues.apache.org/jira/browse/HDFS-10172
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: Wei-Chiu Chuang
> Priority: Minor
> Labels: newbie
>
> {{hdfs erasurecode}} has two similar options {{-help}} and {{-usage}}.
> {noformat}
> hdfs erasurecode -usage getPolicy
> Usage: hdfs erasurecode [generic options] -getPolicy <path>
> hdfs erasurecode -help getPolicy
> -getPolicy <path> :
> Get erasure coding policy information about at specified path
> {noformat}
> I don't think the -usage option is that useful, because -help option already covers that. No other HDFS commands has the same -usage command.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)