[ 
https://issues.apache.org/jira/browse/HADOOP-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537252
 ] 

Arun C Murthy commented on HADOOP-2092:
---------------------------------------

+1

bq.But, I still think that we need to handle the case where the pipes process 
is doing a long computation (without frequent progress reports) and the Java 
side gets killed during that time.

The two options are:
   * Background thread which periodically pings the parent java map/reduce task 
to check if it is alive and kills the c++ process if not.
   * Use unix jobcontrol features i.e. make the java task the session the 
_process group leader_ (via setsid) and then send SIGTERM to the entire process 
group.

Being old-skool, I prefer jobcontrol. *smile*

> Pipes C++ task does not die even if the Java tasks die
> ------------------------------------------------------
>
>                 Key: HADOOP-2092
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2092
>             Project: Hadoop
>          Issue Type: Bug
>          Components: pipes
>            Reporter: Amareshwari Sri Ramadasu
>            Assignee: Amareshwari Sri Ramadasu
>             Fix For: 0.16.0
>
>
> Pipes process does not die, when the java map task  dies.
> Pipes process does not die even when the cluster is down.

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

Reply via email to