Created 01-28-2016 12:29 AM
Hi,
I have installed Kafka on my HDP cluster using Ambari. With the default configuration, Ambari installed only one Kafka broker. However, now had installed another two Kafla brokers in the clusters. My requirement is to remove the Kafka broker on the initial machine, on which it was installed.
When I checked Ambari, it doesn't seem to allow me to delete the Kafka broker on a machine, though it allows to install. May I know how to remove a Kafka broker from a node in the HDP cluster, preferably through Ambari?
Thanks
Created on 01-28-2016 12:35 AM - edited 08-19-2019 04:02 AM
Version2.2.0.0
I see in Ambari to delete after adding new broker.
Created on 01-28-2016 12:35 AM - edited 08-19-2019 04:02 AM
Created on 01-28-2016 12:37 AM - edited 08-19-2019 04:02 AM
I was able to delete it.
Created 01-28-2016 12:37 AM
@Neeraj Sabharwal not if you add additional brokers after running Kafka for some time. It is not that easy, Kafka assigns broker ids in sequential order and there's some magic needed to keep the order after adding new brokers.
Created 01-28-2016 12:41 AM
@Neeraj Sabharwal The option I could see at the moment is Stop and the Delete is disabled. Should I first stop it and then delete it?
Created 01-28-2016 12:43 AM
@Greenhorn Techie Please try that..In my case , it was stopped but I could not delete it without adding new broker "I had only one broker in my cluster"
Would love to see the outcome after stopping it
Created 01-28-2016 01:04 AM
@Neeraj Sabharwal I shall keep you posted tomorrow morning.
Thanks
Created 01-28-2016 07:31 PM
Thanks @Neeraj Sabharwal Its working fine.