Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 88574 invoked from network); 19 May 2009 06:53:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 May 2009 06:53:12 -0000 Received: (qmail 38430 invoked by uid 500); 19 May 2009 06:53:10 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 38357 invoked by uid 500); 19 May 2009 06:53:10 -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 38228 invoked by uid 99); 19 May 2009 06:53:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 06:53:10 +0000 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; Tue, 19 May 2009 06:53:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EA2D029A0030 for ; Mon, 18 May 2009 23:52:45 -0700 (PDT) Message-ID: <1516557751.1242715965958.JavaMail.jira@brutus> Date: Mon, 18 May 2009 23:52:45 -0700 (PDT) From: "Sreekanth Ramakrishnan (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4981) Prior code fix in Capacity Scheduler prevents speculative execution in jobs In-Reply-To: <1105742763.1231144784385.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sreekanth Ramakrishnan updated HADOOP-4981: ------------------------------------------- Attachment: HADOOP-4981-5-br20.patch Attaching branch 20 patch. All test cases passed except {{TestQueueCapacities}} which is failing even in trunk due to fetch failures. I have filed the JIRA HADOOP-5869 for the same. > Prior code fix in Capacity Scheduler prevents speculative execution in jobs > --------------------------------------------------------------------------- > > Key: HADOOP-4981 > URL: https://issues.apache.org/jira/browse/HADOOP-4981 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/capacity-sched > Reporter: Vivek Ratan > Attachments: 4981.1.patch, 4981.2.patch, HADOOP-4981-1.patch, HADOOP-4981-2.patch, HADOOP-4981-3.patch, HADOOP-4981-4.patch, HADOOP-4981-5-br20.patch, HADOOP-4981-5.patch > > > As part of the code fix for HADOOP-4035, the Capacity Scheduler obtains a task from JobInProgress (calling obtainNewMapTask() or obtainNewReduceTask()) only if the number of pending tasks for a job is greater than zero (see the if-block in TaskSchedulingMgr.getTaskFromJob()). So, if a job has no pending tasks and only has running tasks, it will never be given a slot, and will never have a chance to run a speculative task. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.