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 "Owen O'Malley (JIRA)" <ji...@apache.org> on 2007/05/17 00:41:16 UTC

[jira] Created: (HADOOP-1380) We should have a util.Subprocess class with utilities for starting subprocesses

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
          Issue Type: New Feature
          Components: util
    Affects Versions: 0.12.3
            Reporter: Owen O'Malley
         Assigned To: Owen O'Malley
             Fix For: 0.14.0


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.


[jira] Commented: (HADOOP-1380) We should have a util.Subprocess class with utilities for starting subprocesses

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518014 ] 

Owen O'Malley commented on HADOOP-1380:
---------------------------------------

Of course streaming would be fixed to use this. However, it would just kill the immediate child. Any subprocesses that had forked off of the application, would be the applications responsibility.

> 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
>          Issue Type: New Feature
>          Components: util
>    Affects Versions: 0.12.3
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>
> 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.


[jira] Commented: (HADOOP-1380) We should have a util.Subprocess class with utilities for starting subprocesses

Posted by "Marco Nicosia (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518001 ] 

Marco Nicosia commented on HADOOP-1380:
---------------------------------------

By extension, is there a way to modify streaming to take advantage of this? We have a problem with streaming littering orphaned processes that we need fixed. Is it OK to attach that to this bug, or should I open a new JIRA?


> 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
>          Issue Type: New Feature
>          Components: util
>    Affects Versions: 0.12.3
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>
> 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.