You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Luke Forehand <lu...@networkedinsights.com> on 2014/06/23 23:42:06 UTC

Using GetOffsetShell against non-existent topic creates the topic which cannot be deleted

Slight nitpick, but a typo in using GetOffsetShell command can cause a
topic to be created which cannot be deleted (because deletion is still in
progress)

./kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list
kafka10:9092,kafka11:9092,kafka12:9092,kafka13:9092 --topic typo --time 1

./kafka-topics.sh --zookeeper stormqa1/kafka-prod --describe --topic typo
Topic:typo	PartitionCount:8	ReplicationFactor:1	Configs:
	Topic: typo	Partition: 0	Leader: 10	Replicas: 10	Isr: 10
...




Luke Forehand |  Networked Insights  |  Software Engineer






Re: Using GetOffsetShell against non-existent topic creates the topic which cannot be deleted

Posted by Luke Forehand <lu...@networkedinsights.com>.
Definitely, this is version 0.8.1.1

https://issues.apache.org/jira/browse/KAFKA-1507


Luke Forehand |  Networked Insights  |  Software Engineer





On 6/23/14, 6:58 PM, "Guozhang Wang" <wa...@gmail.com> wrote:

>Luke,
>
>Thanks for the findings, could you file a JIRA to keep track of this bug?
>
>Guozhang
>
>
>On Mon, Jun 23, 2014 at 2:42 PM, Luke Forehand <
>luke.forehand@networkedinsights.com> wrote:
>
>> Slight nitpick, but a typo in using GetOffsetShell command can cause a
>> topic to be created which cannot be deleted (because deletion is still
>>in
>> progress)
>>
>> ./kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list
>> kafka10:9092,kafka11:9092,kafka12:9092,kafka13:9092 --topic typo --time
>>1
>>
>> ./kafka-topics.sh --zookeeper stormqa1/kafka-prod --describe --topic
>>typo
>> Topic:typo      PartitionCount:8        ReplicationFactor:1     Configs:
>>         Topic: typo     Partition: 0    Leader: 10      Replicas: 10
>>  Isr: 10
>> ...
>>
>>
>>
>>
>> Luke Forehand |  Networked Insights  |  Software Engineer
>>
>>
>>
>>
>>
>>
>
>
>-- 
>-- Guozhang


Re: Using GetOffsetShell against non-existent topic creates the topic which cannot be deleted

Posted by Guozhang Wang <wa...@gmail.com>.
Luke,

Thanks for the findings, could you file a JIRA to keep track of this bug?

Guozhang


On Mon, Jun 23, 2014 at 2:42 PM, Luke Forehand <
luke.forehand@networkedinsights.com> wrote:

> Slight nitpick, but a typo in using GetOffsetShell command can cause a
> topic to be created which cannot be deleted (because deletion is still in
> progress)
>
> ./kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list
> kafka10:9092,kafka11:9092,kafka12:9092,kafka13:9092 --topic typo --time 1
>
> ./kafka-topics.sh --zookeeper stormqa1/kafka-prod --describe --topic typo
> Topic:typo      PartitionCount:8        ReplicationFactor:1     Configs:
>         Topic: typo     Partition: 0    Leader: 10      Replicas: 10
>  Isr: 10
> ...
>
>
>
>
> Luke Forehand |  Networked Insights  |  Software Engineer
>
>
>
>
>
>


-- 
-- Guozhang

Re: Using GetOffsetShell against non-existent topic creates the topic which cannot be deleted

Posted by Neha Narkhede <ne...@gmail.com>.
Which version of Kafka are you using?


On Mon, Jun 23, 2014 at 2:42 PM, Luke Forehand <
luke.forehand@networkedinsights.com> wrote:

> Slight nitpick, but a typo in using GetOffsetShell command can cause a
> topic to be created which cannot be deleted (because deletion is still in
> progress)
>
> ./kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list
> kafka10:9092,kafka11:9092,kafka12:9092,kafka13:9092 --topic typo --time 1
>
> ./kafka-topics.sh --zookeeper stormqa1/kafka-prod --describe --topic typo
> Topic:typo      PartitionCount:8        ReplicationFactor:1     Configs:
>         Topic: typo     Partition: 0    Leader: 10      Replicas: 10
>  Isr: 10
> ...
>
>
>
>
> Luke Forehand |  Networked Insights  |  Software Engineer
>
>
>
>
>
>