You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/08/03 15:26:04 UTC

[jira] [Commented] (AMBARI-12619) ambari agent return exit code 0 even when start action fails

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

Hudson commented on AMBARI-12619:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3208 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3208/])
AMBARI-12619. ambari agent return exit code 0 even when start action fails (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=316404fe5231b75b590f5a7f5c630d6824451786)
* ambari-agent/etc/init.d/ambari-agent


> 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)