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 0FA4FE386 for ; Tue, 19 Mar 2013 05:29:18 +0000 (UTC) Received: (qmail 21418 invoked by uid 500); 19 Mar 2013 05:29:17 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 20223 invoked by uid 500); 19 Mar 2013 05:29:16 -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 19904 invoked by uid 99); 19 Mar 2013 05:29:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Mar 2013 05:29:15 +0000 Date: Tue, 19 Mar 2013 05:29:15 +0000 (UTC) From: "Karthik Kambatla (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-469) Make scheduling mode in FS pluggable 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-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karthik Kambatla updated YARN-469: ---------------------------------- Attachment: yarn-469.patch Thanks for your review, Alejandro. Uploading a new patch that # Re-uses the scheduling mode instances instead of creating a new instance for every queue using guava caches # Addresses Alejandro's first 2 comments (nits) # Configures SchedulingMode.DEFAULT_MODE to defaultSchedulingMode Will address Alejandro's last point about non-leaf queue in YARN-482 that adds the ability to configure intermediate queues. > Make scheduling mode in FS pluggable > ------------------------------------ > > Key: YARN-469 > URL: https://issues.apache.org/jira/browse/YARN-469 > Project: Hadoop YARN > Issue Type: Sub-task > Components: scheduler > Affects Versions: 2.0.3-alpha > Reporter: Karthik Kambatla > Assignee: Karthik Kambatla > Labels: scheduler > Attachments: yarn-469.patch, yarn-469.patch, yarn-469.patch > > > Currently, scheduling mode in FS is limited to Fair and FIFO. The code typically has an if condition at multiple places to determine the correct course of action. > Making the scheduling mode pluggable helps in simplifying this process, particularly as we add new modes (DRF in this case). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira