Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 07296C053 for ; Thu, 7 Jun 2012 20:54:24 +0000 (UTC) Received: (qmail 16180 invoked by uid 500); 7 Jun 2012 20:54:23 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 16116 invoked by uid 500); 7 Jun 2012 20:54:23 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 15997 invoked by uid 99); 7 Jun 2012 20:54:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 20:54:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 62B4A140BEF for ; Thu, 7 Jun 2012 20:54:23 +0000 (UTC) Date: Thu, 7 Jun 2012 20:54:23 +0000 (UTC) From: "Karthik Kambatla (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <242624417.49650.1339102463412.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1666101444.35445.1338833423428.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (MAPREDUCE-4311) Capacity scheduler.xml does not accept decimal values for capacity and maximum-capacity settings 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/MAPREDUCE-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karthik Kambatla updated MAPREDUCE-4311: ---------------------------------------- Attachment: MAPREDUCE-4311.patch > Capacity scheduler.xml does not accept decimal values for capacity and maximum-capacity settings > ------------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-4311 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4311 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: contrib/capacity-sched, mrv2 > Affects Versions: 0.23.3 > Reporter: Thomas Graves > Assignee: Karthik Kambatla > Attachments: MAPREDUCE-4311.patch > > > if capacity scheduler capacity or max capacity set with decimal it errors: > - Error starting ResourceManager > java.lang.NumberFormatException: For input string: "10.5" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:458) > at java.lang.Integer.parseInt(Integer.java:499) > at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:713) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration.getCapacity(CapacitySchedulerConfiguration.java:147) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue.(LeafQueue.java:147) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.parseQueue(CapacityScheduler.java:297) > at > 0.20 used to take decimal and this could be an issue on large clusters that would have queues with small allocations. -- 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