ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11804) Improvements to agent level command retry
Date Tue, 16 Jun 2015 00:35:02 GMT

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

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

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


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

Mime
View raw message