ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-12619) ambari agent return exit code 0 even when start action fails
Date Mon, 03 Aug 2015 12:00:05 GMT
Andrew Onischuk created AMBARI-12619:
----------------------------------------

             Summary: ambari agent return exit code 0 even when start action fails
                 Key: AMBARI-12619
                 URL: https://issues.apache.org/jira/browse/AMBARI-12619
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.1


When "service ambari-agent start" fails, the exit code should be non-zero. The
script (/etc/init.d/ambari-agent) currently returns 0 no matter what. We use
the exit code in our agent to determine whether we need to retry starting up
ambari-agent or not.





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

Mime
View raw message