You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2009/03/25 12:21:00 UTC

[jira] Updated: (HADOOP-5473) Race condition in command-line kill for a task

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

Amareshwari Sriramadasu updated HADOOP-5473:
--------------------------------------------

    Attachment: patch-5473-1.txt

Patch accepts the state as SUCCEEDED and ignores user request to kill,  when TT reports task as SUCCEEDED, and there was user request to kill the task.
Patch has been tested for the same.

> Race condition in command-line kill for a task
> ----------------------------------------------
>
>                 Key: HADOOP-5473
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5473
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>         Attachments: patch-5473-1.txt
>
>
> The race condition occurs in following sequence of events:
> 1. User issues a command-line kill for a RUNNING map-task. JT stores the task in tasksToKill mapping.
> 2. TT reports the task status as SUCCEEDED.
> 3. JT creates a TaskCompletionEvent as SUCCEEDED. Also sends a killTaskAction.
> 4. Reducers fail fetching the map output.
> 5. finally, the task would fail with Fetch failures. After HADOOP-4759, the task is left as FAILED_UNCLEAN task, since the task is present in tasksToKill mapping.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.