Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

accessing variable names in Ambari through REST

avatar
Expert Contributor

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

avatar
Expert Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
3 REPLIES 3

avatar
Expert Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Expert Contributor

Thanks @krajguru, that was exactly I was looking for 🙂

avatar
Contributor

@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?...