Have you looked at using Blueprints API for "add host"?

https://issues.apache.org/jira/browse/AMBARI-8458



________________________________
From: Pratik Gadiya <[email protected]>
Sent: Sunday, May 17, 2015 1:57 AM
To: [email protected]
Subject: Adding Hosts to Existing Cluster | Ambari 1.7.0

Hi All,

I want to add hosts to the existing hadoop cluster which is deployed via ambari 
rest api's.

For the same, I am referring to link 
https://cwiki.apache.org/confluence/display/AMBARI/Add+a+host+and+deploy+components+using+APIs

In the above link, we can observe that we have to make POST REST calls to 
install the services on the newly added hosts.
Here the number of such REST calls would be equivalent to number of services 
which we want to install (like shown as below )

[cid:[email protected]]

I am wondering, if there is any way by which I can install this many number of 
services such as DATANODE, GANGLIA_MONITOR, NODEMANAGER etc.. in a single REST 
call to the newly added hosts.

Explaining with a small example of that REST call body is much appreciated.

Thanks,
Pratik


DISCLAIMER ========== This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.

Reply via email to