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 AB49710131 for ; Wed, 27 Nov 2013 18:26:06 +0000 (UTC) Received: (qmail 93772 invoked by uid 500); 27 Nov 2013 18:25:47 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 93695 invoked by uid 500); 27 Nov 2013 18:25:44 -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 93581 invoked by uid 99); 27 Nov 2013 18:25:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Nov 2013 18:25:35 +0000 Date: Wed, 27 Nov 2013 18:25:35 +0000 (UTC) From: "Karthik Kambatla (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1241) In Fair Scheduler maxRunningApps does not work for non-leaf 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-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834008#comment-13834008 ] Karthik Kambatla commented on YARN-1241: ---------------------------------------- In the latest set of changes: # If it is not too much of a bother, we should add a test to verify the correctness of counting non-runnable apps. # Would be nice to add a message to the exception thrown for better debugging: {code} + @Override + public void remove() { + throw new UnsupportedOperationException(); + } {code} # Might want to revisit this comment: find *and* gather? {code} + /** + * Traverses the queue hierarchy under the given queue to find gather + * all lists of non-runnable applications. + */ {code} # Typo: {code} + * We maintain positions in each of the lists. Each next() call advances + * the position in one of the lists. We maintain a heap that that orders lists + * by the start time of the app in the current position in that list. {code} > In Fair Scheduler maxRunningApps does not work for non-leaf queues > ------------------------------------------------------------------ > > Key: YARN-1241 > URL: https://issues.apache.org/jira/browse/YARN-1241 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.1.0-beta > Reporter: Sandy Ryza > Assignee: Sandy Ryza > Attachments: YARN-1241-1.patch, YARN-1241-10.patch, YARN-1241-2.patch, YARN-1241-3.patch, YARN-1241-4.patch, YARN-1241-5.patch, YARN-1241-6.patch, YARN-1241-7.patch, YARN-1241-8.patch, YARN-1241-9.patch, YARN-1241.patch > > > Setting the maxRunningApps property on a parent queue should make it that the sum of apps in all subqueues can't exceed it -- This message was sent by Atlassian JIRA (v6.1#6144)