Yes, this will be included in either 0.8.1 or 0.8.2. Thanks, Neha On Oct 30, 2013 1:09 AM, "linghongbo008" <[email protected]> wrote:
> ** > It seems only this way. Thanks ! > by the way, you have a plan to develop this functionality in a future > version ? > ------------------------------ > > *From:* Neha Narkhede <[email protected]> > *Date:* 2013-10-30 13:13 > *To:* [email protected]; linghongbo008 <[email protected]> > *Subject:* Re: Re: leader:none question > We forgot to delete that script from the 0.8 beta distro. Since we don't > have a way to delete the topic, the cleanest way to come out of this would > be to wipe out the cluster and start fresh. If that's too much overhead, > you can try bringing the cluster down, deleting the /brokers/topics/<topic> > data from zookeeper, delete the local directory from the brokers and > restart the cluster. But we haven't tried the latter approach, so not sure > if it works. > > Thanks, > Neha > > > On Mon, Oct 28, 2013 at 7:03 PM, linghongbo008 <[email protected]>wrote: > >> Hi, Neha ! >> I use kafka0.8 that offered to delete the function of the topic. >> It can delete the topic by running the shell script >> "bin/kafka-delete-topic.sh " >> and create the topic by running the script "kafka-create-topic.sh ". >> Now, how do I fix this error to the topic of leader isn't "leader :none" >> >> Thanks. >> >> >> >> >> From: Neha Narkhede >> Date: 2013-10-28 22:36 >> To: users >> Subject: Re: leader:none question >> There is no way to delete topics in Kafka yet. So trying to delete >> topics >> like this might cause failures and cause the topics to be in a bad state. >> >> Thanks, >> Neha >> On Oct 28, 2013 4:46 AM, "linghongbo008" <[email protected]> wrote: >> >> > Hi All >> > I encountered an error. I delete a certain topic and recreate it , but >> > when I run the shell "kafka-list-topic.sh ", the topic of all >> partitions >> > "leader:none". >> > I have no idea! Please tell me what happened. >> > Thanks. >> > >> > >> > topic: mqttmsglog partition: 0 leader: none replicas: >> 11,13,14 >> > isr: >> > topic: mqttmsglog partition: 1 leader: none replicas: >> 12,14,11 >> > isr: >> > topic: mqttmsglog partition: 2 leader: none replicas: >> 13,11,12 >> > isr: >> > topic: mqttmsglog partition: 3 leader: none replicas: >> 14,12,13 >> > isr: >> > topic: mqttmsglog partition: 4 leader: none replicas: >> 11,14,12 >> > isr: >> > topic: mqttmsglog partition: 5 leader: none replicas: >> 12,11,13 >> > isr: >> > topic: mqttmsglog partition: 6 leader: none replicas: >> 13,12,14 >> > isr: >> > topic: mqttmsglog partition: 7 leader: none replicas: >> 14,13,11 >> > isr: >> > topic: mqttmsglog partition: 8 leader: none replicas: >> 11,12,13 >> > isr: >> > topic: mqttmsglog partition: 9 leader: none replicas: >> 12,13,14 >> > isr: >> > topic: mqttmsglog partition: 10 leader: none replicas: >> 13,14,11 >> > isr: >> > >
