Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How do i add a new node to the existing cluster with new host group having different components

avatar
New Contributor

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.

1 ACCEPTED SOLUTION

avatar
Master Mentor

@ashfaq ahamed

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

View solution in original post

3 REPLIES 3

avatar
New Contributor

can anyone please share the link for addition nodes to cluster using "Specify an inlined hostgroup" method.

avatar
Master Mentor

@ashfaq ahamed

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

avatar
Master Mentor

@ashfaq ahamed

Also please refer to the following article to know How to dynamically Add Hosts to a Cluster with Blueprints ?

https://community.hortonworks.com/articles/1333/dynamically-adding-hosts-to-an-existing-cluster-wi.h...

The Blueprints are not only useful to "initially" provision a cluster but they are also quite helpful to extend the existing cluster as well.