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/05/19 17:37:13 UTC

[jira] [Commented] (AMBARI-16749) Auto-start services: Ambari agent should set auto_start_only to True when recovery_type is AUTO_START

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

Hudson commented on AMBARI-16749:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4878 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4878/])
AMBARI-16749: Auto-start services: Ambari agent should set (nsomasundaram: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6a03b338143857eb5c7325c070315c59ab513794])
* ambari-agent/src/main/python/ambari_agent/RecoveryManager.py


> Auto-start services: Ambari agent should set auto_start_only to True when recovery_type is AUTO_START
> -----------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-16749
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16749
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.4.0
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>             Fix For: 2.4.0
>
>         Attachments: rb47555.patch
>
>
> In ambari agent recoveryManager.py, if recovery type is AUTO_START, recovery_enabled and auto_start_only should be set to True explicitly. However, only recovery_enabled is set to True while auto_start_only is initially set to True and then flipped to False if the recovery type is FULL. When recovery is not enabled, auto_start_only is True which is not correct though auto_start_only is not used if recovery_enabled is False. But this is just a side effect and is a potential bug.



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