Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 19089 invoked from network); 9 Nov 2009 09:35:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Nov 2009 09:35:11 -0000 Received: (qmail 40268 invoked by uid 500); 9 Nov 2009 09:35:10 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 40210 invoked by uid 500); 9 Nov 2009 09:35:10 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 40200 invoked by uid 99); 9 Nov 2009 09:35:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 09:35:10 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Mon, 09 Nov 2009 09:35:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BAE4C234C045 for ; Mon, 9 Nov 2009 01:34:47 -0800 (PST) Message-ID: <60491975.1257759287750.JavaMail.jira@brutus> Date: Mon, 9 Nov 2009 09:34:47 +0000 (UTC) From: "Vinod K V (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Resolved: (MAPREDUCE-515) CapacityTaskScheduler.MapSchedulingMgr.killTasksFromJob() will not work as expected 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/MAPREDUCE-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod K V resolved MAPREDUCE-515. --------------------------------- Resolution: Invalid Preemption is removed after HADOOP-5726. This issue is no longer valid. > CapacityTaskScheduler.MapSchedulingMgr.killTasksFromJob() will not work as expected > ----------------------------------------------------------------------------------- > > Key: MAPREDUCE-515 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-515 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Amar Kamat > > Once capacity-scheduler decides on killing tasks, it selects running-jobs from the queue and issues {{killTasksFromJob()}}. The order in which it kills is as follows > - non-local maps > - local maps > _Killing non-local maps :_ > The code here uses {{JobInProgress.getNonLocalRunningMaps()}}. HADOOP-2119 introduced this for handling cases like _random-writer_. Hence this api will return an empty structure if there are reducers in the job. Hence the code fails to serve its purpose. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.