Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 73081 invoked from network); 13 Nov 2008 16:43:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Nov 2008 16:43:11 -0000 Received: (qmail 94896 invoked by uid 500); 13 Nov 2008 16:43:14 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 94642 invoked by uid 500); 13 Nov 2008 16:43:13 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 94607 invoked by uid 99); 13 Nov 2008 16:43:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2008 08:43:13 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2008 16:42:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA601234C293 for ; Thu, 13 Nov 2008 08:42:44 -0800 (PST) Message-ID: <357388675.1226594564696.JavaMail.jira@brutus> Date: Thu, 13 Nov 2008 08:42:44 -0800 (PST) From: "Hudson (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4471) Capacity Scheduler should maintain the right ordering of jobs in its running queue In-Reply-To: <1920306785.1224578744405.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647327#action_12647327 ] Hudson commented on HADOOP-4471: -------------------------------- Integrated in Hadoop-trunk #660 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/660/]) . Sort running jobs by priority in the capacity scheduler. Contributed by Amar Kamat. > Capacity Scheduler should maintain the right ordering of jobs in its running queue > ---------------------------------------------------------------------------------- > > Key: HADOOP-4471 > URL: https://issues.apache.org/jira/browse/HADOOP-4471 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/capacity-sched > Affects Versions: 0.19.0 > Reporter: Vivek Ratan > Assignee: Amar Kamat > Priority: Blocker > Fix For: 0.19.0 > > Attachments: HADOOP-4471-v1.patch > > > Currently, the Capacity Scheduler maintains a simple linked list of jobs which are running. This implies that running jobs are sorted by when they started running (i.e., when they were added to the queue). The Scheduler should maintain the same ordering among running jobs that it does for waiting jobs. Jobs should be sorted by priority (if the queue supports priorities) and by their submit time. > This sorting would be more fair in deciding which running jobs get access to a free TT. It also does not penalize jobs that have a longer setup task, which affects when they enter the run queue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.