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-5701) Fix the CacheAdmin -addPool -maxTtl option name
Date Tue, 31 Dec 2013 13:41:55 GMT

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

Hudson commented on HDFS-5701:
------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk #1630 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1630/])
HDFS-5701. Fix the CacheAdmin -addPool -maxTtl option name. Contributed by Stephen Chu. (wang:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1554305)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CacheAdmin.java


> Fix the CacheAdmin -addPool -maxTtl option name
> -----------------------------------------------
>
>                 Key: HDFS-5701
>                 URL: https://issues.apache.org/jira/browse/HDFS-5701
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: caching, tools
>    Affects Versions: 3.0.0
>            Reporter: Stephen Chu
>            Assignee: Stephen Chu
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HDFS-5701.patch
>
>
> Currently, the CacheAdmin usage shows the "maxttl" option for -addPool, but the option
should be listed as "maxTtl" instead.
> If users attempt to use "maxttl" they will see the following error:
> {code}
> bash-4.1$ hdfs cacheadmin -addPool pool2 -maxttl 10s
> Can't understand arguments: -maxttl 10s
> Usage is [-addPool <name> [-owner <owner>] [-group <group>] [-mode
<mode>] [-limit <limit>] [-maxttl <maxTtl>]
> {code}
> We should change the usage to usage "maxTtl"



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message