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 50FE79D1E for ; Wed, 13 Jun 2012 05:37:44 +0000 (UTC) Received: (qmail 18075 invoked by uid 500); 13 Jun 2012 05:37:44 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 18006 invoked by uid 500); 13 Jun 2012 05:37:43 -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 17967 invoked by uid 99); 13 Jun 2012 05:37:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2012 05:37:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 69671141663 for ; Wed, 13 Jun 2012 05:37:43 +0000 (UTC) Date: Wed, 13 Jun 2012 05:37:43 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <310893099.11191.1339565863433.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HDFS-766) Error message not clear for set space quota out of boundary values. 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-766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron T. Myers updated HDFS-766: -------------------------------- Resolution: Fixed Fix Version/s: 2.0.1-alpha Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've just committed this to trunk and branch-2. Thanks a lot for the contribution, Jon. > Error message not clear for set space quota out of boundary values. > --------------------------------------------------------------------- > > Key: HDFS-766 > URL: https://issues.apache.org/jira/browse/HDFS-766 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.0.0-alpha > Reporter: Ravi Phulari > Assignee: Jon Zuanich > Priority: Minor > Labels: newbie > Fix For: 2.0.1-alpha > > Attachments: HDFS-766.patch, HDFS-766.patch > > > Error message is not clear for upper values of out of boundary quota values . > E.g > Following error message is thrown if we try to apply quota value of 23498752039458723094578 which is out of upper limit of quota. > {noformat} > [hadoo@l20044 ~]$ hadoop dfsadmin -setSpaceQuota 23498752039458723094578 test > setSpaceQuota: For input string: "23498752039458723094578" > {noformat} > Instead of above error message it should print > {noformat} > setSpaceQuota: Invalid values for quota : 9223372036854775807 and 0 > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira