Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 34389 invoked from network); 18 Dec 2009 10:00:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Dec 2009 10:00:41 -0000 Received: (qmail 88426 invoked by uid 500); 18 Dec 2009 10:00:41 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 88351 invoked by uid 500); 18 Dec 2009 10:00:40 -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 88341 invoked by uid 99); 18 Dec 2009 10:00:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 10:00:40 +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; Fri, 18 Dec 2009 10:00:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 453F9234C4CA for ; Fri, 18 Dec 2009 02:00:18 -0800 (PST) Message-ID: <480442728.1261130418282.JavaMail.jira@brutus> Date: Fri, 18 Dec 2009 10:00:18 +0000 (UTC) From: "Amar Kamat (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1316) JobTracker holds stale references to retired jobs via speculated tips In-Reply-To: <254578906.1261130178427.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/MAPREDUCE-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792418#action_12792418 ] Amar Kamat commented on MAPREDUCE-1316: --------------------------------------- Consider the following scenario 1) a job is in its end stage waiting on few slow tasks to finish 2) the jobtracker goes ahead and speculates these tasks 3) even before the tasktracker with speculative task reports back, the non-speculative tasks report as complete 4) jobtracker goes ahead and launches cleanup task (if any) which also completes before the task-tracker with speculative tasks report back 5) the job completes and later retires 6) the tracker with speculative task reports back In such a case if the tracker is not lost, then the taskToTIPMap will hold the mapping for the speculative TIP forever which internally hold a reference to its job which has retired. > JobTracker holds stale references to retired jobs via speculated tips > ---------------------------------------------------------------------- > > Key: MAPREDUCE-1316 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1316 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Reporter: Amar Kamat > > JobTracker fails to remove speculative tasks' mapping from _taskToTIPMap_ if the job finishes and retires before the tracker (running the speculative tasks) reports back. In such cases a stale reference is held to TaskInProgress (and thus JobInProgress) long after the job is gone leading to memory leak. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.