Created 03-31-2017 02:46 PM
How can I list the existing variable names and their values used across various configurations of Ambari through REST API for example {{namenode_heapsize}} ?
Created 03-31-2017 02:48 PM
You can use the below call which will list all the values for that specific service :
Created 03-31-2017 02:48 PM
You can use the below call which will list all the values for that specific service :
Created 03-31-2017 02:52 PM
Thanks @krajguru, that was exactly I was looking for 🙂
Created 04-02-2017 06:18 AM
@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?...