Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 570F3DBDF for ; Mon, 20 Aug 2012 16:15:41 +0000 (UTC) Received: (qmail 18099 invoked by uid 500); 20 Aug 2012 16:15:39 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 18065 invoked by uid 500); 20 Aug 2012 16:15:39 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 17920 invoked by uid 99); 20 Aug 2012 16:15:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 16:15:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 465462C5C08 for ; Mon, 20 Aug 2012 16:15:38 +0000 (UTC) Date: Tue, 21 Aug 2012 03:15:38 +1100 (NCT) From: "Hudson (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: <189534611.30457.1345479338288.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (YARN-27) Failed refreshQueues due to misconfiguration prevents further refreshing of queues 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/YARN-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437976#comment-13437976 ] Hudson commented on YARN-27: ---------------------------- Integrated in Hadoop-Common-trunk-Commit #2605 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2605/]) YARN-27. Fixed location of ms.start call (Revision 1375083) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375083 Files : * /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/TestQueueMetrics.java > Failed refreshQueues due to misconfiguration prevents further refreshing of queues > ---------------------------------------------------------------------------------- > > Key: YARN-27 > URL: https://issues.apache.org/jira/browse/YARN-27 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Ramya Sunil > Assignee: Arun C Murthy > Fix For: 2.1.0-alpha, 0.23.3 > > Attachments: YARN-27.patch > > > Stumbled upon this problem while refreshing queues with incorrect configuration. The exact scenario was: > 1. Added a new queue "newQueue" without defining its capacity. > 2. "bin/mapred queue -refreshQueues" fails correctly with "Illegal capacity of -1 for queue root.newQueue" > 3. However, after defining the capacity of "newQueue" followed by a second "bin/mapred queue -refreshQueues" throws "org.apache.hadoop.metrics2.MetricsException: Metrics source QueueMetrics,q0=root,q1=newQueue already exists!" Also see Hadoop:name=QueueMetrics,q0=root,q1=newQueue,service=ResourceManager metrics being available even though the queue was not added. > The expected behavior would be to refresh the queues correctly and allow addition of "newQueue". -- 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