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

Owen O'Malley updated HADOOP-1380:
----------------------------------

    Status: Open  (was: Patch Available)

Brice,
   Thanks for taking this on! It should probably include a call to it from 
streaming and/or pipes so that we aren't adding uncalled code.

The SubProcessManager looks like a singleton, but the get method returns a new 
instance each time. Shouldn't it cache it in a static variable?

In general, InterruptedExceptions should end the thread. Otherwise it is 
impossible to tell them to stop. 

> We should have a util.Subprocess class with utilities for starting 
> subprocesses
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-1380
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1380
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: util
>            Reporter: Owen O'Malley
>            Assignee: Brice Arnould
>         Attachments: SubProcessesManager.patch
>
>
> I'd like a utility class for launching subprocesses. In particular, I want 
> there to be a list of launched subprocesses and when the jvm is shutdown, a 
> hook will destroy all of the subprocesses. Otherwise, when a task is killed, 
> the subprocesses continue on.

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