Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

accessing variable names in Ambari through REST

Solved Go to solution
Highlighted

accessing variable names in Ambari through REST

Rising Star

How can I list the existing variable names and their values used across various configurations of Ambari through REST API for example {{namenode_heapsize}} ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: accessing variable names in Ambari through REST

Rising Star
3 REPLIES 3
Highlighted

Re: accessing variable names in Ambari through REST

Rising Star

Re: accessing variable names in Ambari through REST

Rising Star

Thanks @krajguru, that was exactly I was looking for :)

Highlighted

Re: accessing variable names in Ambari through REST

@nyadav To add to @krajguru's answer:

You can use query parameter is_current=true to retrieve the latest configuration version in case you have multiple versions of configurations.

E.g

http://<Ambari-hostname>:8080/api/v1/clusters/<cluster-name>/configurations/service_config_versions?...
Don't have an account?
Coming from Hortonworks? Activate your account here