You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2013/07/26 00:01:48 UTC

[jira] [Resolved] (AMBARI-2741) PackagesAnalyzer is unlikely to kill subprocesses in case of timeout

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

Sumit Mohanty resolved AMBARI-2741.
-----------------------------------

    Resolution: Fixed

committed to branch-1.2.5
                
> PackagesAnalyzer is unlikely to kill subprocesses in case of timeout
> --------------------------------------------------------------------
>
>                 Key: AMBARI-2741
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2741
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.2.5
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 1.2.5
>
>         Attachments: AMBARI-2741.patch
>
>
> watchdog_func at /src/main/python/ambari_agent/PackagesAnalyzer.py uses shell.killprocessgrp to kill subprocesses. This command is known to be not reliable (works not in all cases) , because not all subprocesses are in the same process group. That's why it ,may be better to replace it with shell.kill_process_with_children

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira