ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [1/2] ambari git commit: AMBARI-15286. Alerts are not triggered when ambari agent is down (aonishuk)
Date Wed, 09 Mar 2016 14:24:03 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 d50d4a845 -> 054c35c39
  refs/heads/trunk 664ccd185 -> dddffd5c6


AMBARI-15286. Alerts are not triggered when ambari agent is down (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/dddffd5c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dddffd5c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dddffd5c

Branch: refs/heads/trunk
Commit: dddffd5c6a54e1fb08bde98dd874edc68add4198
Parents: 664ccd1
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Wed Mar 9 16:23:55 2016 +0200
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Wed Mar 9 16:23:55 2016 +0200

----------------------------------------------------------------------
 ambari-agent/etc/init/ambari-agent.conf | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/dddffd5c/ambari-agent/etc/init/ambari-agent.conf
----------------------------------------------------------------------
diff --git a/ambari-agent/etc/init/ambari-agent.conf b/ambari-agent/etc/init/ambari-agent.conf
index 021eb3b..75c1b06 100644
--- a/ambari-agent/etc/init/ambari-agent.conf
+++ b/ambari-agent/etc/init/ambari-agent.conf
@@ -17,8 +17,6 @@ description     "ambari agent"
 
 stop on runlevel [06]
 
-env PIDFILE=/var/run/ambari-agent/ambari-agent.pid
-
 kill signal SIGKILL
 respawn
 
@@ -27,8 +25,4 @@ script
 
    export AMBARI_AGENT_RUN_IN_FOREGROUND=true
    exec /etc/init.d/ambari-agent start
-end script
-
-post-stop script
-  rm -f $PIDFILE
 end script
\ No newline at end of file


Mime
View raw message