hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10172) hdfs erasurecode command should remove the redundant -usage option
Date Wed, 11 May 2016 00:01:24 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15279266#comment-15279266
] 

Hudson commented on HDFS-10172:
-------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9742 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9742/])
HDFS-10172. hdfs erasurecode command should remove the redundant -usage (zhz: rev 307db61aac9f4b51301ab9d4e74be7632c42d62f)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FsShell.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testErasureCodingConf.xml
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/erasurecode/ECCli.java


> 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
>          Components: erasure-coding
>    Affects Versions: 3.0.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Yuanbo Liu
>            Priority: Minor
>              Labels: newbie
>             Fix For: 3.0.0
>
>         Attachments: HDFS-10172.001.patch, HDFS-10172.002.patch
>
>
> {{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)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message