Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5473

Race condition in command-line kill for a task

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. patch-5473-1.txt
          2 kB
          Amareshwari Sriramadasu
        2. patch-5473-2.txt
          2 kB
          Amareshwari Sriramadasu

          Activity

            People

            • Assignee:
              amareshwari Amareshwari Sriramadasu
              Reporter:
              amareshwari Amareshwari Sriramadasu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: