Re: Loss of Leader in Kafka

2014-05-18 Thread Rob
What is the best practice for doing so? Thanks Rob On May 16, 2014, at 12:55 PM, Neha Narkhede neha.narkh...@gmail.com wrote: Am I right with the above? That is the hacky way of deleting a topic and has not been well tested and hence is not certified to work. There are also several race

Re: Loss of Leader in Kafka

2014-05-13 Thread Neha Narkhede
3. Deleted the topic. Checked only the zookeeper to see if the /brokers/topics DOES NOT have the topic You are seeing this problem since delete topic is not supported in Kafka. Any attempt to delete a topic may leave your cluster in an unstable state. We plan to release 0.8.2 with delete topic

Re: Loss of Leader in Kafka

2014-05-13 Thread Guozhang Wang
Hi Kashyap, This may be a real issue with delete-topic feature, could you also reproduce this with trunk HEAD and 1 partition/1 replica? Guozhang On Mon, May 12, 2014 at 9:39 AM, Kashyap Mhaisekar kashya...@gmail.comwrote: Hi, I am hitting a strange exception while creating a topic in Kafka

Re: Loss of Leader in Kafka

2014-05-13 Thread Kashyap Mhaisekar
After topic deletion, I deleted the physical folders in data logs and then restarted Kafka. That resolved. Thanks! Will try out 0.8.1 and let the group know. Regards, Kashyap On Monday, May 12, 2014, Jun Rao jun...@gmail.com wrote: Delete topic doesn't quite work in 0.8.1. We recently fixed it

Loss of Leader in Kafka

2014-05-12 Thread Kashyap Mhaisekar
Hi, I am hitting a strange exception while creating a topic in Kafka - Steps to generate this- 1. Created a topic multipartition_test with 2 partitions and 2 replicas 2. Added some data to this topics and verified data is coming up for both partitions 3. Deleted the topic. Checked only the

Re: Loss of Leader in Kafka

2014-05-12 Thread Jun Rao
Delete topic doesn't quite work in 0.8.1. We recently fixed it in trunk. Could you give it a try and see if you see the same issue? Thanks, Jun On Mon, May 12, 2014 at 9:39 AM, Kashyap Mhaisekar kashya...@gmail.comwrote: Hi, I am hitting a strange exception while creating a topic in Kafka -