Support Questions
Find answers, ask questions, and share your expertise

delete host from ambari cluster

delete host from ambari cluster

Hi all

 

We have ambari cluster with 3 Kafka hosts

 

We want to delete all kafka brokers from the cluster ( by option in ambari – delete hosts )

 

Capture.PNG

 

We succeeded to delete the first two kafka – kafka01 and kafka02

 

but when we try to delete the last kafka – kafka03 we get the following:

 

 

Unable to delete host - this host cannot be deleted since the following master components do not have any other instnaces: Kafka Broker, schema_registry,

 

To delete this host, you must first add all the components listed above to other hosts

 

How to resolve this issue?

 

Michael-Bronson
2 REPLIES 2

Re: delete host from ambari cluster

New Contributor

 you need to remove Kafka service first from the whole cluster to be able to delete all master 

as you try to delete the last master in Kafka service 

Re: delete host from ambari cluster

Contributor

@mike_bronson7 

 

https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/managing-and-monitoring-ambari/content/amb_del...

 

It's advised to stop all the components and move master services and delete the host.

 

Remove the kafka service and try to delete the host.