Created 01-19-2017 05:35 PM
My question is next,
how to delete every single data after I delete service directly from Ambari. For example, how to delete every config file, every data, every topic of Kafka after deleting Kafka service from Ambari. Or even better question, how to completly reinstall Kafka so I have fresh start without any topic or any data. Thank you! 🙂
Created 01-19-2017 07:24 PM
This is an answer is someone will deal with this:
First connect with zkCLi
bin/zkCli.sh -server server:port
afterwards find the path you need. I needed /brokers file and than if you want to delete it enter thi
$ ls /brokers $ rmr /brokers
Created 01-19-2017 06:22 PM
so, if you delete the service, I think it should already removed the topics. But mainly you need to check on zookeeper, and see whether any information regarding broker is there? and you can also check whether any data is left on the directory that kafka data located.
Created 01-19-2017 07:03 PM
Hmm, how to check on ZKs if any data about brokers is there?
Created 01-19-2017 07:24 PM
This is an answer is someone will deal with this:
First connect with zkCLi
bin/zkCli.sh -server server:port
afterwards find the path you need. I needed /brokers file and than if you want to delete it enter thi
$ ls /brokers $ rmr /brokers