ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <>
Subject [jira] [Commented] (AMBARI-14865) Auto start: Maintenance mode of components should be respected when handling agent registration.
Date Wed, 10 Feb 2016 19:48:18 GMT


Hudson commented on AMBARI-14865:

SUCCESS: Integrated in Ambari-trunk-Commit #4304 (See [])
AMBARI-14865: Auto start - Maintenance mode of components should be (nsomasundaram: [])
* ambari-agent/src/test/python/ambari_agent/
* ambari-agent/src/test/python/ambari_agent/
* ambari-agent/src/main/python/ambari_agent/
* ambari-server/src/main/java/org/apache/ambari/server/agent/
* ambari-server/src/main/java/org/apache/ambari/server/agent/
* ambari-server/src/test/java/org/apache/ambari/server/agent/

> Auto start: Maintenance mode of components should be respected when handling agent registration.
> ------------------------------------------------------------------------------------------------
>                 Key: AMBARI-14865
>                 URL:
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>              Labels: ambari-agent, ambari-server
>             Fix For: 2.4.0
>         Attachments: rb43069 (1).patch, rb43069.patch
> Even if a service or component is set to auto start but is in maintenance mode, it should
not auto start. Components in maintenance mode (because host/service is in maintenance mode)
should not be enabled for auto start.
> Current implementation:
> In the current implementation we have both enabledComponents and disabledComponents.
To determine if a specified component is enabled for recovery, an inclusive and exclusive
test against enabledComponents and disabledComponents is used. There is no support for excluding
a component in maintenance since that state is not available to the agent.
> To determine if a component marked for auto start is in maintenance state, it's maintenance
state has to be queried from the server, which makes it cumbersome and agent managed. 
> New design:
> 1. Components to be enabled for auto start must be explicitly specified as comma separated
values in the enabledComponents section of the recovery configuration. 
> 2. During agent registration, the server will determine if each of the components marked
for auto start is in maintenance mode or not and filter the list before sending the list (enabledComponents)
in the recovery configuration to the agent.

This message was sent by Atlassian JIRA

View raw message