[
https://issues.apache.org/jira/browse/AMBARI-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thejas M Nair updated AMBARI-145:
---------------------------------
Attachment: AMBARI-145.1.patch
Changes
- in ClusterDefinition, renamed the member activeServices as enabledServices
and also its get/set methods. This is because the term activeServices here
actually means services are turned on. The term active is used in Roles to
determine if the role has any daemon process to be started.
- ClusterImpl creates ServiceImpl only for services(components) that have
active roles.
- a new unit test ClusterImplTest, that uses TestNG and mockito
> State transition object for components should not be created if its roles are
> not active
> ----------------------------------------------------------------------------------------
>
> Key: AMBARI-145
> URL: https://issues.apache.org/jira/browse/AMBARI-145
> Project: Ambari
> Issue Type: Improvement
> Reporter: Thejas M Nair
> Fix For: 0.1.0
>
> Attachments: AMBARI-145.1.patch
>
>
> Components which don't have active roles don't need to be part of the service
> start/stop orchestration.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira