ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <>
Subject [jira] [Created] (AMBARI-8224) Support action-level timeouts in Ambari
Date Sat, 08 Nov 2014 00:54:34 GMT
Alejandro Fernandez created AMBARI-8224:

             Summary: Support action-level timeouts in Ambari
                 Key: AMBARI-8224
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 1.7.0
            Reporter: Alejandro Fernandez

In Ambari 1.7.0, there are several timeouts for running commands/actions

First, has agent.task.timeout, which is a system-level timeout. If not specified,

Further, in the stacks, each Component is free to define its own timeout, e.g.,


Normal actions (INSTALL, START, STOP) use the timeouts of the Component they are affecting.
However, there is no way to set a specific timeout just for the INSTALL action, or the INSTALL
action of any service.

If a Component does not specify a timeout, it should inherit one from the Service.
If the type of action also has a timeout, then the command of action T on Component Foo should
use the maximum of the effective timeout of the Component, and the timeout specified for T
(assuming that it exists).

In Ambari 1.7.0, the code had to apply special logic just for the INSTALL action in order
to get the yum commands to pass during the INSTALL action.
See related Jira AMBARI-8220.

This message was sent by Atlassian JIRA

View raw message