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

Hudson commented on AMBARI-11804:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2873 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/2873/])
AMBARI-11804. Improvements to agent level command retry (smohanty) (smohanty: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=52dd06d720a5b6007adffd2feba05b533c405d82)
* ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* 
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
* ambari-agent/src/main/python/ambari_agent/ActionQueue.py
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
* 
ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java


> Improvements to agent level command retry
> -----------------------------------------
>
>                 Key: AMBARI-11804
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11804
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11804.patch
>
>
> Proposal:
> Introduce three config parameters in {{cluster-env}}
> * command_retry_enabled
> * command_retry_max_time_in_sec
> * commands_to_retry
> *command_retry_enabled* - true or false (default is false)
> *command_retry_max_time_in_sec* - how long to retry before giving up, default 
> 0, which allows one try
> *commands_to_retry* - which commands are eligible for retry, if not set or 
> empty then all commands are eligible, default "START"
> By default, retry for service check and custom commands (DECOMMISSION, 
> RESTART, etc) are skipped
> As part of this change. properties from ambari.properties file will be 
> removed. So only way to enable is to to provide configs in type cluster-env. 
> So technically it can be disabled/enabled without restarting Ambari.



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

Reply via email to