[
https://issues.apache.org/jira/browse/KNOX-2530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Zampino resolved KNOX-2530.
----------------------------------
Resolution: Fixed
Added support for discovery-time-only service params for HDFS-related services
and Solr.
HDFS: discovery-nameservice (value is the nameservice to proxy)
Solr: discovery-service-name (value is the name of the Solr service to proxy)
discovery-service-display-name (value is the *display* name of the
Solr service to proxy)
One or both of these can be specified, but the display name variant is
likely to be the most used.
> Support qualifying service params for CM discovery control
> ----------------------------------------------------------
>
> Key: KNOX-2530
> URL: https://issues.apache.org/jira/browse/KNOX-2530
> Project: Apache Knox
> Issue Type: Improvement
> Components: cm-discovery
> Affects Versions: 1.5.0
> Reporter: Philip Zampino
> Assignee: Philip Zampino
> Priority: Major
> Fix For: 1.6.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)
> {noformat}
> {
> "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"
> }
> }
> ]
> }{noformat}
> Another example is a cluster with multiple SOLR instances.
> {noformat}
> {
> "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"
> }
> }
> ]
> }{noformat}
> These discovery-only service parameters are prefixed with *discovery-*, and
> must not manifest in the generated topologies.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)