THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
# Discovery info source
discovery-type: AMBARI
discovery-address: http://c6401.ambari.apache.org:8080
discovery-user: ambariuser
discovery-pwd-alias: ambari.discovery.password
# Provider config reference, the contents of which will be
# included in (or referenced from) the resulting topology descriptor.
# The contents of this reference has a <gateway/> root, and
# contains <provider/> configurations.
provider-config-ref : ambari-cluster-policy.xml
# The cluster for which the service details should be discovered
cluster: mycluster
# The services to declare in the resulting topology descriptor,
# whose URLs will be discovered (unless a value is specified)
services:
- name: NAMENODE
- name: JOBTRACKER
- name: WEBHDFS
- name: WEBHCAT
- name: OOZIE
- name: WEBHBASE
- name: HIVE
- name: RESOURCEMANAGER
- name: AMBARI
urls:
- http://c6401.ambari.apache.org:8080
- name: AMBARIUI
urls:
- http://c6401.ambari.apache.org:8080
# UIs to be proxied through the resulting Knox topology (see KIP-9)
#uis:
# - name: AMBARIUI
# url: http://c6401.ambari.apache.org:8080 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{
"discovery-type":"AMBARI",
"discovery-address":"http://c6401.ambari.apache.org:8080",
"discovery-user":"ambariuser",
"discovery-pwd-alias":"ambari.discovery.password",
"provider-config-ref":"ambari-cluster-policy.xml",
"cluster":"mycluster",
"services":[
{"name":"NAMENODE"},
{"name":"JOBTRACKER"},
{"name":"WEBHDFS"},
{"name":"WEBHCAT"},
{"name":"OOZIE"},
{"name":"WEBHBASE"},
{"name":"HIVE"},
{"name":"RESOURCEMANAGER"},
{"name":"AMBARI", "urls":["http://c6401.ambari.apache.org:8080"]}
],
"uis":[
{"name":"AMBARIUI", "urls":["http://c6401.ambari.apache.org:8080"]}
]
} |
...