You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/03/24 18:35:25 UTC
[jira] [Commented] (AMBARI-15558) ambari-agent upstart script
broken in RHEL6
[ https://issues.apache.org/jira/browse/AMBARI-15558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15210607#comment-15210607 ]
Hudson commented on AMBARI-15558:
---------------------------------
FAILURE: Integrated in Ambari-branch-2.2 #552 (See [https://builds.apache.org/job/Ambari-branch-2.2/552/])
AMBARI-15558. ambari-agent upstart script broken in RHEL6 (aonishuk) (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ad9fce8a872f79912176c0221d156d456a968d88])
* ambari-agent/src/main/python/ambari_agent/ExitHelper.py
* ambari-agent/src/main/python/ambari_agent/HeartbeatHandlers.py
* ambari-agent/src/test/python/ambari_agent/TestMain.py
* ambari-agent/etc/init/ambari-agent.conf
* ambari-agent/src/test/python/ambari_agent/TestController.py
* ambari-agent/src/main/python/ambari_agent/main.py
> ambari-agent upstart script broken in RHEL6
> -------------------------------------------
>
> Key: AMBARI-15558
> URL: https://issues.apache.org/jira/browse/AMBARI-15558
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.2.2
>
> Attachments: AMBARI-15558.patch
>
>
> Ambari 2.2.1.1 comes with the following upstart patch:
> <https://issues.apache.org/jira/browse/AMBARI-14842>
> This seems to break the Ambari upstart script in RHEL/CentOS6:
>
>
> [root@slave-01 ~]# cat /etc/redhat-release
> CentOS release 6.7 (Final)
> [root@slave-01 ~]# rpm -qa|grep upstart
> upstart-0.6.5-13.el6_5.3.x86_64
> [root@slave-01 ~]# status ambari-agent
> status: Unknown job: ambari-agent
> [root@slave-01 ~]# ls -l /etc/init/ambari-agent.conf
> -rwxr-xr-x 1 root root 1035 Mar 10 18:33 /etc/init/ambari-agent.conf
>
> This is due to the following line present in /etc/init/ambari-agent.conf:
> kill signal SIGKILL
> Apparently, the upstart version shipped with RHEL6 doesn't support the kill
> feature.
> I'm not sure why this kill is required, as the ambari-server /etc/init/ambari-
> server.conf doesn't contain it.
> Can we have this kill line removed please? Or a separate /etc/init/ambari-
> agent.conf file only for RHEL6 without this kill line?
> IN ADDITION:
> * the upstart script is deployed even on RHEL/CentOS7, where there is no upstart - it would be cleaner to only deploy the upstart script if upstart is actually installed on the system...
> * request for systemd configs for both ambari-agent and ambari-server, since systemd is default in centos7
> A proposed patch is: <https://issues.apache.org/jira/browse/AMBARI-14526>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)