ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12923) Ambari Server Restart Kills Program Group
Date Sun, 11 Oct 2015 20:31:05 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952426#comment-14952426
] 

Hudson commented on AMBARI-12923:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3624 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3624/])
AMBARI-12923. Prevent accidental kill of program group in Docker.        (eyang: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1e49680b14107f22e40c93ef2dd8f84167c899cc])
* ambari-server/src/main/python/ambari-server.py


> Ambari Server Restart Kills Program Group 
> ------------------------------------------
>
>                 Key: AMBARI-12923
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12923
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.7.0, 2.1.2
>            Reporter: David M. Lyle
>            Assignee: David M. Lyle
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-12923.patch, AMBARI-12923.patch
>
>
> ambari-server.py realizes it kill command with os.killpg(os.getpgid(pid), signal.SIGKILL).
This has a undesirable side effect of killing a container when Ambari is launched via Docker
under Serf or Consul. I believe it is no longer required.
> Any objection to changing it to os.kill(pid, signal.SIGKILL)? If not, happy to put up
a patch.
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message