Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 38607 invoked from network); 11 Feb 2011 02:20:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2011 02:20:19 -0000 Received: (qmail 47526 invoked by uid 500); 11 Feb 2011 02:20:19 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 47489 invoked by uid 500); 11 Feb 2011 02:20:18 -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 47481 invoked by uid 99); 11 Feb 2011 02:20:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 02:20:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 02:20:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F414F19ED3A for ; Fri, 11 Feb 2011 02:19:57 +0000 (UTC) Date: Fri, 11 Feb 2011 02:19:57 +0000 (UTC) From: "Priyo Mustafi (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <824155018.9555.1297390797996.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (MAPREDUCE-1410) Task-Cleanup attempt cannot be given KillTaskAction if the main attempt is killed with a KillTaskAction 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-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Priyo Mustafi updated MAPREDUCE-1410: ------------------------------------- Status: Open (was: Patch Available) My latest patch is not working so deleting. The earlier patch rebased by Doug Cutting applies fine but fails with the below error. Not sure if that is the expected behaviour now. Any help appreciated. Testcase: testWithDFS took 240.679 sec Caused an ERROR File /home/pmustafi/git/hadoop-mapreduce/build/test/logs/userlogs/job_20110210181140136_0004/attempt_20110210181140136_0004_m_000000_0/log.index does not exist. java.io.FileNotFoundException: File /home/pmustafi/git/hadoop-mapreduce/build/test/logs/userlogs/job_20110210181140136_0004/attempt_20110210181140136_0004_m_000000_0/log.index does not exist. at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:446) at org.apache.hadoop.io.SecureIOUtils.openForRead(SecureIOUtils.java:105) at org.apache.hadoop.mapred.TaskLog.getLogFileDetail(TaskLog.java:106) at org.apache.hadoop.mapred.TaskLog.access$100(TaskLog.java:58) at org.apache.hadoop.mapred.TaskLog$Reader.(TaskLog.java:301) at org.apache.hadoop.mapreduce.MapReduceTestUtil.readTaskLog(MapReduceTestUtil.java:443) at org.apache.hadoop.mapred.TestTaskFail.validateAttempt(TestTaskFail.java:166) at org.apache.hadoop.mapred.TestTaskFail.testKillMapperAndKillTaskCleanup(TestTaskFail.java:269) at org.apache.hadoop.mapred.TestTaskFail.testWithDFS(TestTaskFail.java:307) > Task-Cleanup attempt cannot be given KillTaskAction if the main attempt is killed with a KillTaskAction > ------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-1410 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1410 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Affects Versions: 0.20.1 > Reporter: Amareshwari Sriramadasu > Assignee: Amareshwari Sriramadasu > Attachments: MAPREDUCE-1410.patch, patch-1410.txt > > > If the main attempt is killed with a KillTaskAction and is added to tasksReportedClosed, then the cleanup-attempt for the task (with same id) can not be given a KillTaskAction, since tasksReportedClosed already contains the attemptID. > The attemptID should be removed from tasksReportedClosed in incompleteSubTask() method. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira