ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Hamilton <>
Subject Switch between existing configurations through API
Date Thu, 24 Apr 2014 14:12:07 GMT
Hi guys,

I'm trying to figure out how to change between configurations in 1.5.x
version of ambari API.

In 1.4.x I could use the following to revert to version 1 of hdfs-site

*curl -u <user>:<password> -X PUT -H "X-Requested-By: ml"
http://<address>:8080/api/v1/cluster/AMCluster1 -d

The API doc here:
to describe the same usage.

However, this now gets a 500 response:
*  "status" : 500,*
*  "message" : "org.apache.ambari.server.controller.spi.SystemException: An
internal system exception occurred: Configuration with tag 'version1'
exists for 'hdfs-site'"*

Is there a different call that I should use switch between existing

Many thanks in advance for any help.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message