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 B887C9D11 for ; Wed, 13 Jun 2012 11:43:51 +0000 (UTC) Received: (qmail 26668 invoked by uid 500); 13 Jun 2012 11:43:48 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 26381 invoked by uid 500); 13 Jun 2012 11:43:47 -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 25853 invoked by uid 99); 13 Jun 2012 11:43:46 -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 11:43:46 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 5A1DD14285F for ; Wed, 13 Jun 2012 11:43:46 +0000 (UTC) Date: Wed, 13 Jun 2012 11:43:46 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1829431235.12217.1339587826371.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13294372#comment-13294372 ] Hudson commented on HDFS-766: ----------------------------- Integrated in Hadoop-Hdfs-trunk #1075 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1075/]) HDFS-766. Error message not clear for set space quota out of boundary values. Contributed by Jon Zuanich. (Revision 1349639) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1349639 Files : * /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/DFSAdmin.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml > 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