Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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