Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CA2C10F30 for ; Fri, 27 Dec 2013 09:32:55 +0000 (UTC) Received: (qmail 3096 invoked by uid 500); 27 Dec 2013 09:32:54 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 3031 invoked by uid 500); 27 Dec 2013 09:32:53 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 3000 invoked by uid 99); 27 Dec 2013 09:32:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Dec 2013 09:32:51 +0000 Date: Fri, 27 Dec 2013 09:32:51 +0000 (UTC) From: "Akira AJISAKA (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5701) Fix the CacheAdmin -addPool -maxTtl option name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-5701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira AJISAKA updated HDFS-5701: -------------------------------- Hadoop Flags: Reviewed > 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 [-owner ] [-group ] [-mode ] [-limit ] [-maxttl ] > {code} > We should change the usage to usage "maxTtl" -- This message was sent by Atlassian JIRA (v6.1.5#6160)