Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 70392 invoked from network); 26 Feb 2009 05:41:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2009 05:41:31 -0000 Received: (qmail 43033 invoked by uid 500); 26 Feb 2009 05:41:24 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 43002 invoked by uid 500); 26 Feb 2009 05:41:24 -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 42991 invoked by uid 99); 26 Feb 2009 05:41:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 21:41:24 -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, 26 Feb 2009 05:41:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 19E0A234C4A8 for ; Wed, 25 Feb 2009 21:41:02 -0800 (PST) Message-ID: <1024373524.1235626862104.JavaMail.jira@brutus> Date: Wed, 25 Feb 2009 21:41:02 -0800 (PST) From: "Devaraj Das (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5269) TaskTracker.runningTasks holding FAILED_UNCLEAN and KILLED_UNCLEAN taskStatuses forever in some cases. In-Reply-To: <494261824.1234849079483.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-5269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676884#action_12676884 ] Devaraj Das commented on HADOOP-5269: ------------------------------------- I committed this to the 0.19 branch. > TaskTracker.runningTasks holding FAILED_UNCLEAN and KILLED_UNCLEAN taskStatuses forever in some cases. > ------------------------------------------------------------------------------------------------------ > > Key: HADOOP-5269 > URL: https://issues.apache.org/jira/browse/HADOOP-5269 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.19.1 > Reporter: Amareshwari Sriramadasu > Assignee: Amareshwari Sriramadasu > Priority: Blocker > Fix For: 0.19.2, 0.20.0, 0.21.0 > > Attachments: patch-5269-0.19-0.20.txt, patch-5269.txt > > > Tasktracker is holdingup TaskStatus objects in runningTasks forever in somecases. This happens in the following scenario. > -> Task got an exception > -> Sets the phase to CLEANUP > -> The task tries to do cleanup. and it doesn't respond after that. > -> TaskTracker marks the task unresponsive and makes the task FAILED_UNCLEAN > -> TaskTracker doesn't remove it from runningTasks data structure, since phase is CLEANUP and state is FAILED_UNCLEAN (it treats this as cleanupAttempt). > I would propose that once the task goes to CLEANUP phase, kill on the task should mark it a clean failure i.e. The task state should be FAILED/KILLED. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.