Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
Frequent Visitor

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
Frequent Visitor

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.