Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 19624 invoked from network); 5 Dec 2006 18:58:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2006 18:58:47 -0000 Received: (qmail 47312 invoked by uid 500); 5 Dec 2006 18:58:54 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 47292 invoked by uid 500); 5 Dec 2006 18:58:54 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 47283 invoked by uid 99); 5 Dec 2006 18:58:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 10:58:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 10:58:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 71A0A7142D7 for ; Tue, 5 Dec 2006 10:58:22 -0800 (PST) Message-ID: <15384225.1165345102462.JavaMail.jira@brutus> Date: Tue, 5 Dec 2006 10:58:22 -0800 (PST) From: "Mahadev konar (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-782) TaskTracker.java:killOverflowingTasks & TaskTracker.java:markUnresponsiveTasks only put the tip in tasksToCleanup queue, they don't update the runningJobs In-Reply-To: <5740798.1165343781034.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 [ http://issues.apache.org/jira/browse/HADOOP-782?page=comments#action_12455727 ] Mahadev konar commented on HADOOP-782: -------------------------------------- Arun yes, that should be done. Infact I had that in my patch for HADOOP-775. If a tasks is killed/failed the tasktracker does not need to maintain state (files/mapoutputs) for these tasks and should remove these tasks from RunningJobs and clean them up. > TaskTracker.java:killOverflowingTasks & TaskTracker.java:markUnresponsiveTasks only put the tip in tasksToCleanup queue, they don't update the runningJobs > ---------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-782 > URL: http://issues.apache.org/jira/browse/HADOOP-782 > Project: Hadoop > Issue Type: Bug > Components: mapred > Reporter: Arun C Murthy > Assigned To: Arun C Murthy > Fix For: 0.9.0 > > > Both killOverflowingTasks and markUnresponsiveTasks only put the tip in 'tasksToCleanup' queue, they should also call 'removeTaskFromJob' to update the 'runningJobs' map to reflect the fact that the task is no longer running. Thoughts? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira