[
https://issues.apache.org/jira/browse/HADOOP-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ravi Gummadi updated HADOOP-2721:
---------------------------------
Attachment: HADOOP-2721.patch
Attached the patch for review.
This patch uses setsid while creating tasks(map/reduce) and uses "kill --
-processGroupID" to kill all the processes in the process group, thus killing
the whole subtree of processes.
Of course, this will not work if the mapper/reducer itself uses setsid or
setpgid for any of the processes in the subtree of processes we are trying to
handle.
> Use job control for tasks (and therefore for pipes and streaming)
> -----------------------------------------------------------------
>
> Key: HADOOP-2721
> URL: https://issues.apache.org/jira/browse/HADOOP-2721
> Project: Hadoop Core
> Issue Type: Improvement
> Components: contrib/streaming, mapred, pipes
> Reporter: Owen O'Malley
> Assignee: Devaraj Das
> Attachments: HADOOP-2721.patch
>
>
> We should use the setsid command when the task is launched to create a new
> session. We should be able to use the setsid program when we launch the bash
> process to create a new session. That will allow us to kill the entire
> session with a single signal and remove the need for the ping methods in both
> TaskTracker.Child and pipes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.