You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Nate Cole (JIRA)" <ji...@apache.org> on 2015/08/26 22:49:18 UTC
[jira] [Updated] (AMBARI-11826) co-locate does not enforce
co-location for a custom service
[ https://issues.apache.org/jira/browse/AMBARI-11826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nate Cole updated AMBARI-11826:
-------------------------------
Fix Version/s: (was: 2.1.1)
2.1.2
> co-locate does not enforce co-location for a custom service
> -----------------------------------------------------------
>
> Key: AMBARI-11826
> URL: https://issues.apache.org/jira/browse/AMBARI-11826
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 1.7.0
> Reporter: Shantanu Mundkur
> Fix For: 2.1.2
>
>
> Defining "co-locate" for a component or a component dependency seems to be ignored or does not seem to be working with a custom service. Additionally, auto-deploy in the component level dependency did not get enforced.
> For a component:
> <component>
> <name>MYSERVICE_MASTER1</name>
> <displayName>Myservice Master</displayName>
> <category>MASTER</category>
> <cardinality>1</cardinality>
> <versionAdvertised>true</versionAdvertised>
> <auto-deploy>
> <enabled>true</enabled>
> <co-locate>MYSERVICE/MYSERVICE_MASTER2</co-locate>
> </auto-deploy>
> <commandScript>
> <script>scripts/myservice-master1.py</script>
> <scriptType>PYTHON</scriptType>
> <timeout>600</timeout>
> </commandScript>
> </component>
> MYSERVICE_MASTER1 and MYSERVICE_MASTER2 end up not co-located.
> For a component dependency:
> <services>
> <service>
> <name>MYSERVICE</name>
> .....
> <component>
> <name>MY_SERVER</name>
> <displayName>My Server</displayName>
> <category>MASTER</category>
> <cardinality>1</cardinality>
> <dependencies>
> <dependency>
> <name>SVC2/SVC2_MASTER</name>
> <scope>host</scope>
> <auto-deploy>
> <enabled>true</enabled>
> <co-locate>MYSERVICE/MY_SERVER</co-locate>
> </auto-deploy>
> </dependency>
> </dependencies>
> MYSERVICE/MY_SERVER and SVC2/SVC2_MASTER end up not co-located.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)