pzampino opened a new pull request #398:
URL: https://github.com/apache/knox/pull/398


   ## What changes were proposed in this pull request?
   
   In the case of some services, or specific deployments of those services, 
there exists the need to direct the discovery process for topology generation. 
One example is HA HDFS deployments, where a particular nameservice can be 
desired to be proxied. Another example is multiple Solr instances within the 
same cluster, where one should be proxied but not the other(s).
   
   This change introduces for Cloudera Manager discovery the concept of 
discovery-time-only service parameters in simple descriptors. This is already 
supported by Amabari service discovery for the aforementioned HDFS HA scenario, 
and the same pattern is being applied and extended for Cloudera Manager.
   
   Service parameters beginning with "discovery-" can be declared for supported 
services in simple descriptors. The actual names of the parameters are 
service-specific.
   
   This is an example for the HDFS nameservice selection:
   `"services": [
     {
       "name": "WEBHDFS",
       "params": {
         "discovery-nameservice": "ns2"
       }
     },`
   
   ## How was this patch tested?
   
   Manual testing, augmented/modified unit tests for the affected 
ServiceModelGenerator implementations.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to