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 03-08-2017 09:49 AM
Hi,
I have created a cluster using blueprints which has some service running on it(host_group_0) say HDFS , YARN , Zookeeper but now the requirement is i want to add new node to this cluster in which i want to add only HDFS or only YARN or only Zookeeper or some other service say SPARK.
So I cannot use the existing hostgroup or i cannot clone the existing host. I have to write a new host group with the service i need and POST the api with the new node.
How can i achieve this using api.
Created 03-09-2017 05:05 AM
If your cluster is already deployed and ready then you can use the ambari to add a new host as following: following: https://hortonworks.com/hadoop-tutorial/using-apache-ambari-add-new-nodes-existing-cluster/
Once the host is added then you can deploy the desired service components/clients to that host.
But if you want to add a new host only using the Ambari APIs then you can refer to : https://cwiki.apache.org/confluence/display/AMBARI/Add+a+host+and+deploy+components+using+APIs
Created 03-09-2017 04:47 AM
can anyone please share the link for addition nodes to cluster using "Specify an inlined hostgroup" method.
Created 03-09-2017 05:05 AM
If your cluster is already deployed and ready then you can use the ambari to add a new host as following: following: https://hortonworks.com/hadoop-tutorial/using-apache-ambari-add-new-nodes-existing-cluster/
Once the host is added then you can deploy the desired service components/clients to that host.
But if you want to add a new host only using the Ambari APIs then you can refer to : https://cwiki.apache.org/confluence/display/AMBARI/Add+a+host+and+deploy+components+using+APIs
Created 03-09-2017 05:12 AM
Also please refer to the following article to know How to dynamically Add Hosts to a Cluster with Blueprints ?
The Blueprints are not only useful to "initially" provision a cluster but they are also quite helpful to extend the existing cluster as well.