...
Knox currently supports a number of Hadoop services, for which it can dynamically determine endpoint URLs from Ambari. Anyone is welcome to submit a patch to provide support for additional services, which in most cases won't require any code changes. The process for this will be outlined herein. Further, there may be cases where a permanent addition is not immediately desired or necessary (e.g., a proof-of-concept, a customer solution, etc...). In For these cases, this article will describe the process for extending Knox's service discovery support without modifying Knox at all.
...
Following the aforementioned SOLR example, Knox needs to know in which configuration file to find the INFRA_SOLR property, so {GATEWAY_HOME}/conf/ambari-discovery-component-config.properties must be created with the following content:
Code Block | ||
---|---|---|
| ||
INFRA_SOLR=infra-solr-env |
...