hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sreekanth Ramakrishnan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5420) Support killing of process groups in LinuxTaskController binary
Date Mon, 11 May 2009 06:13:45 GMT

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

Sreekanth Ramakrishnan updated HADOOP-5420:

    Attachment: hadoop-5420-4.patch

Attaching latest patch incorporating Vinod's comment:

* Changed {{TestKillSubProcesses}} to use both {{LocalFileSystem}} and {{HDFSFileSystem}}
* Added a new method {{TestKillSubProcesses.isAlive(pid)}} instead of using {{ProcessTree.isAlive(pid)}}
because in case {{TestKillSubProcessesWithLinuxTaskController}} would always return false
since the task are run as different user.
*  Changed the all the child process so that they now ignore SIGTERM and would exit only if
SIGKILL is passed.

Patch applies to trunk after HADOOP-5771 patch is applied.

> Support killing of process groups in LinuxTaskController binary
> ---------------------------------------------------------------
>                 Key: HADOOP-5420
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5420
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Sreekanth Ramakrishnan
>            Assignee: Sreekanth Ramakrishnan
>         Attachments: hadoop-5420-1.patch, hadoop-5420-2.patch, hadoop-5420-3.patch, hadoop-5420-4.patch,
> Support setsid based kill in LinuxTaskController.

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

View raw message