[ https://issues.apache.org/jira/browse/AMBARI-19618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yao Lei updated AMBARI-19618: ----------------------------- Attachment: AMBARI-19618.patch > Make cohosted 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 > > Attachments: after_patched_hive1.png, after_patched_hive2.png, > after_patched_ranger1.png, after_patched_ranger2.png, > after_patched_ranger3.png, AMBARI-19618.patch > > > Cohosted 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)