You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2016/06/26 03:51:37 UTC

[jira] [Created] (AMBARI-17440) Allow commands to specify if they should be auto-retried upon failure

Sumit Mohanty created AMBARI-17440:
--------------------------------------

             Summary: Allow commands to specify if they should be auto-retried upon failure
                 Key: AMBARI-17440
                 URL: https://issues.apache.org/jira/browse/AMBARI-17440
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.4.0
            Reporter: Sumit Mohanty
            Assignee: Sumit Mohanty
            Priority: Critical
             Fix For: 2.4.0


During cluster creation using a blueprint, the initial INSTALL and START commands are automatically retried by the agent upon failure. This support was added to allow immediate scheduling of commands (while hosts join the cluster) rather than waiting for all hosts to join.

The feature itself is straight forward - if any command failed then agent will automatically retry them for a configurable duration.

Auto retry itself is useful for other commands where user may want to retry before giving up - e.g. Restart commands. Rather than failing immediately agents can try a few more times. Its particularly useful if the start of a service depends on another service which is also being restarted. 



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