[
https://issues.apache.org/jira/browse/HDFS-5900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HDFS-5900:
------------------------------
Attachment: hdfs-5900-1.patch
Patch attached. It turns out that "unlimited" wasn't working for add pool or
modify pool on the command line, so I factored out a new parse method and added
a test.
> Cannot set cache pool limit of "unlimited" via CacheAdmin
> ---------------------------------------------------------
>
> Key: HDFS-5900
> URL: https://issues.apache.org/jira/browse/HDFS-5900
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: caching
> Affects Versions: 2.3.0
> Reporter: Tassapol Athiapinya
> Assignee: Andrew Wang
> Attachments: hdfs-5900-1.patch
>
>
> /usr/bin/hdfs cacheadmin -modifyPool mypool -limit unlimited -maxTtl never
> NumberFormatException: For input string: "unlimited" will be thrown.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)