-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37038/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-12619
    https://issues.apache.org/jira/browse/AMBARI-12619


Repository: ambari


Description
-------

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.


Diffs
-----

  ambari-agent/etc/init.d/ambari-agent 4e255cd 

Diff: https://reviews.apache.org/r/37038/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to