Created 02-18-2016 10:40 PM
A previous question (https://community.hortonworks.com/questions/5482/how-to-fetch-service-level-configuration-using-res.html) detailed how to navigate to particular configurations and extract certain values. Is there a way I can use the REST API to get the configuration that's currently in effect?
For example, this would show me all of the possible hive-site configurations
/api/v1/clusters/cluster/configurations?type=hive-site
How can I programattically determine which one is currently active?
Created 02-19-2016 02:15 AM
@Aaron Dossett the following api call will give you the current config
/api/v1/clusters/<name of cluster>/configurations/service_config_versions?service_name.in(HIVE)&is_current=true
Created 02-19-2016 02:15 AM
@Aaron Dossett the following api call will give you the current config
/api/v1/clusters/<name of cluster>/configurations/service_config_versions?service_name.in(HIVE)&is_current=true
Created 02-19-2016 12:01 PM
@Aaron Dossett: Please review below link.
https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Metrics+API+specification