Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to purge everything after deleting service

Solved Go to solution

How to purge everything after deleting service

Contributor

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! :)

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: How to purge everything after deleting service

Contributor

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

View solution in original post

3 REPLIES 3
Highlighted

Re: How to purge everything after deleting service

Expert Contributor

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.

Highlighted

Re: How to purge everything after deleting service

Contributor

Hmm, how to check on ZKs if any data about brokers is there?

Highlighted

Re: How to purge everything after deleting service

Contributor

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

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here