Configure Knox auto-discovery for large clusters
How to configure Knox’s service auto-discovery feature for large clusters.
By default, the auto-discovery feature of Cloudera Manager through Knox uses the API v32 endpoint:
GET /clusters/{clusterName}/services/{serviceName}/roles/{roleName}/config
This method fetches the role configuration parameters for each service role. This causes a large number of REST API calls in case of large clusters.
For large clusters, use the following endpoint:
GET /clusters/{clusterName}/services/{serviceName}/roles/configs
If the endpoint is available in your Cloudera Manager, follow these steps to configure the auto-discovery method in Knox: