we can stop an entire service like so:
curl --user admin:admin -i -X PUT -d '{"ServiceInfo":{"state":"INSTALLED"}}'
http://ambari-master.foo.com:8080/api/v1/clusters/c1/services/HDFS
but how can I stop all instances of a running component? I had hoped with
something like :
curl --user admin:admin -i -X PUT -d '{"ServiceInfo":{"state":"INSTALLED"}}'
http://ambari-master.foo.com:8080/api/v1/clusters/c1/services/HDFS/component
s/DATANODE
but this throws an invalid property exception
is my URL wrong or are we not allowed to do this sort of thing?
smime.p7s
Description: S/MIME cryptographic signature
