Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.0
-
None
Description
Add support for discovery-only service params in descriptor service declarations, such that the ClouderaManager discovery process can be controlled for HA and other deployments where there are multiple sources of endpoint information that should not be combined for a given topology.
One example is HDFS HA, where a nameservice can be specified. (Similar support for this exists for Ambari discovery)
{ "discovery-type":"ClouderaManager", "discovery-address":"https://cm-host:7183", "discovery-user":"admin", "discovery-pwd-alias":"cm.discovery.pwd", "provider-config-ref":"pam", "cluster":"Cluster 1", "services":[ { "name":"WEBHDFS", "params": { "discovery-nameservice":"ns2" } } ] }
Another example is a cluster with multiple SOLR instances.
{ "discovery-type":"ClouderaManager", "discovery-address":"https://cm-host:7183", "discovery-user":"admin", "discovery-pwd-alias":"cm.discovery.pwd", "provider-config-ref":"pam", "cluster":"Cluster 1", "services":[ { "name":"SOLR", "params": { "discovery-service-display-name":"SOLR-1" } } ] }
These discovery-only service parameters are prefixed with discovery-, and must not manifest in the generated topologies.
Attachments
Issue Links
- links to