ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Mohanty (JIRA)" <>
Subject [jira] [Created] (AMBARI-11804) Improvements to agent level command retry
Date Mon, 08 Jun 2015 22:21:00 GMT
Sumit Mohanty created AMBARI-11804:

             Summary: Improvements to agent level command retry
                 Key: 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


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

View raw message