You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Priyo Mustafi (JIRA)" <ji...@apache.org> on 2011/02/03 23:42:29 UTC

[jira] Updated: (MAPREDUCE-1410) Task-Cleanup attempt cannot be given KillTaskAction if the main attempt is killed with a KillTaskAction

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Priyo Mustafi updated MAPREDUCE-1410:
-------------------------------------

    Attachment: MAPREDUCE-1410.patch

Existing patch wasn't valid anymore because 1) JobTracker.jobs don't hold completed job in memory any longer. 
2) Code was trying to contact namenode.  Added MiniDFSCluster.

The changes are only to Junit's and the original code fix remains as is in the patch

> 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, 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