hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brice Arnould (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1380) We should have a util.Subprocess class with utilities for starting subprocesses
Date Fri, 30 May 2008 09:19:45 GMT

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

Brice Arnould updated HADOOP-1380:

    Attachment: SubProcessesManager_v2.patch

Thanks for your comments ! Here is the patch that include them and kills processed that may
otherwise have been left running by Hadoop.

I'm unsure however about what you mean by "Otherwise it is impossible to tell them to stop."
reliablyWaitManaged() will wait for the process to be destroyed, but that process can still
be stopped by other ways (by the cleaner, by the user or by completing). This function serve
only to wait for the process, so we can remove the hook if the process ends before the Runtime.

> 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, SubProcessesManager_v2.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.

View raw message