[ https://issues.apache.org/jira/browse/AMBARI-19618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yao Lei updated AMBARI-19618: ----------------------------- Fix Version/s: trunk > Make cohost components configurable in metainfo.xml instead of hardcoding in > UI > ------------------------------------------------------------------------------- > > Key: AMBARI-19618 > URL: https://issues.apache.org/jira/browse/AMBARI-19618 > Project: Ambari > Issue Type: Improvement > Affects Versions: trunk > Reporter: Yao Lei > Fix For: trunk, 3.0.0 > > > Cohost components information now is hardcoded in stack_service_component.js > as following: > App.StackServiceComponent.coHost = { > 'WEBHCAT_SERVER': 'HIVE_SERVER' > }; > It's better to move them from javascript to metainfom.xml by adding tag > <coHost></coHost>in stack like following: > <component> > <name>WEBHCAT_SERVER</name> > <displayName>WebHCat Server</displayName> > <category>MASTER</category> > <cardinality>1</cardinality> > <versionAdvertised>true</versionAdvertised> > <reassignAllowed>true</reassignAllowed> > <coHost>HIVE_SERVER</coHost> > </component> > <component> > <name>RANGER_USERSYNC</name> > <displayName>Ranger Usersync</displayName> > <category>MASTER</category> > <cardinality>1</cardinality> > <versionAdvertised>true</versionAdvertised> > <coHost>RANGER_ADMIN</coHost> > </component> -- This message was sent by Atlassian JIRA (v6.3.4#6332)