kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Raufaste (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-2231) Deleting a topic fails
Date Tue, 04 Aug 2015 01:13:06 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652909#comment-14652909
] 

Laurent Raufaste commented on KAFKA-2231:
-----------------------------------------

FYI I have the same problem.
On a pristine 20 brokers cluster on EC2, I created a topic with a RF of 3 and 100 partitions,
did nothing on it, deleted it.

{quote}
$ ./bin/kafka-topics.sh --zookeeper zookeeper/kafka --list 
lolo - marked for deletion
{quote}

It's now marked for deletion for 2h. No errors anywhere.

I have {{delete.topic.enable=true}} on all my brokers, and we run 0.8.2.1.

I got some log activity about the deletion on one broker:

{quote}
Aug 03 20:00:21 broker-15.kafka kafka:  [2015-08-04 00:00:19,303] INFO Deleting index /percolate/kafka/data/lolo-49/00000000000000000000.index
(kafka.log.OffsetIndex)
Aug 03 20:00:21 broker-15.kafka kafka:  [2015-08-04 00:00:19,304] INFO Deleted log for partition
[lolo,49] in /percolate/kafka/data/lolo-49. (kafka.log.LogManager)
Aug 03 20:00:21 broker-15.kafka kafka:  [2015-08-04 00:00:19,338] INFO [ReplicaFetcherManager
on broker 15] Removed fetcher for partitions [lolo,91] (kafka.server.ReplicaFetcherManager)
Aug 03 20:00:21 broker-15.kafka kafka:  [2015-08-04 00:00:19,338] INFO Deleting index /percolate/kafka/data/lolo-91/00000000000000000000.index
(kafka.log.OffsetIndex)
Aug 03 20:00:21 broker-15.kafka kafka:  [2015-08-04 00:00:19,338] INFO Deleted log for partition
[lolo,91] in /percolate/kafka/data/lolo-91. (kafka.log.LogManager)
{quote}

And finally here's the description of the topic:
{quote}
$ ./bin/kafka-topics.sh --zookeeper zookeeper/kafka --describe --topic lolo
Topic:lolo	PartitionCount:100	ReplicationFactor:3	Configs:
	Topic: lolo	Partition: 0	Leader: -1	Replicas: 6,19,20	Isr: 
	Topic: lolo	Partition: 1	Leader: -1	Replicas: 7,20,1	Isr: 
	Topic: lolo	Partition: 2	Leader: -1	Replicas: 8,1,2	Isr: 
	Topic: lolo	Partition: 3	Leader: -1	Replicas: 9,2,3	Isr: 
	Topic: lolo	Partition: 4	Leader: -1	Replicas: 10,3,4	Isr: 
	Topic: lolo	Partition: 5	Leader: -1	Replicas: 11,4,5	Isr: 
	Topic: lolo	Partition: 6	Leader: -1	Replicas: 12,5,6	Isr: 
	Topic: lolo	Partition: 7	Leader: -1	Replicas: 13,6,7	Isr: 
	Topic: lolo	Partition: 8	Leader: -1	Replicas: 14,7,8	Isr: 
	Topic: lolo	Partition: 9	Leader: -1	Replicas: 15,8,9	Isr: 
	Topic: lolo	Partition: 10	Leader: -1	Replicas: 16,9,10	Isr: 
	Topic: lolo	Partition: 11	Leader: -1	Replicas: 17,10,11	Isr: 
	Topic: lolo	Partition: 12	Leader: -1	Replicas: 18,11,12	Isr: 
	Topic: lolo	Partition: 13	Leader: -1	Replicas: 19,12,13	Isr: 
	Topic: lolo	Partition: 14	Leader: -1	Replicas: 20,13,14	Isr: 
	Topic: lolo	Partition: 15	Leader: -1	Replicas: 1,14,15	Isr: 
	Topic: lolo	Partition: 16	Leader: -1	Replicas: 2,15,16	Isr: 
	Topic: lolo	Partition: 17	Leader: -1	Replicas: 3,16,17	Isr: 
	Topic: lolo	Partition: 18	Leader: -1	Replicas: 4,17,18	Isr: 
	Topic: lolo	Partition: 19	Leader: -1	Replicas: 5,18,19	Isr: 
	Topic: lolo	Partition: 20	Leader: -1	Replicas: 6,20,1	Isr: 
	Topic: lolo	Partition: 21	Leader: -1	Replicas: 7,1,2	Isr: 
	Topic: lolo	Partition: 22	Leader: -1	Replicas: 8,2,3	Isr: 
	Topic: lolo	Partition: 23	Leader: -1	Replicas: 9,3,4	Isr: 
	Topic: lolo	Partition: 24	Leader: -1	Replicas: 10,4,5	Isr: 
	Topic: lolo	Partition: 25	Leader: -1	Replicas: 11,5,6	Isr: 
	Topic: lolo	Partition: 26	Leader: -1	Replicas: 12,6,7	Isr: 
	Topic: lolo	Partition: 27	Leader: -1	Replicas: 13,7,8	Isr: 
	Topic: lolo	Partition: 28	Leader: -1	Replicas: 14,8,9	Isr: 
	Topic: lolo	Partition: 29	Leader: -1	Replicas: 15,9,10	Isr: 
	Topic: lolo	Partition: 30	Leader: -1	Replicas: 16,10,11	Isr: 
	Topic: lolo	Partition: 31	Leader: -1	Replicas: 17,11,12	Isr: 
	Topic: lolo	Partition: 32	Leader: -1	Replicas: 18,12,13	Isr: 
	Topic: lolo	Partition: 33	Leader: -1	Replicas: 19,13,14	Isr: 
	Topic: lolo	Partition: 34	Leader: -1	Replicas: 20,14,15	Isr: 
	Topic: lolo	Partition: 35	Leader: -1	Replicas: 1,15,16	Isr: 
	Topic: lolo	Partition: 36	Leader: -1	Replicas: 2,16,17	Isr: 
	Topic: lolo	Partition: 37	Leader: -1	Replicas: 3,17,18	Isr: 
	Topic: lolo	Partition: 38	Leader: -1	Replicas: 4,18,19	Isr: 
	Topic: lolo	Partition: 39	Leader: -1	Replicas: 5,19,20	Isr: 
	Topic: lolo	Partition: 40	Leader: -1	Replicas: 6,1,2	Isr: 
	Topic: lolo	Partition: 41	Leader: -1	Replicas: 7,2,3	Isr: 
	Topic: lolo	Partition: 42	Leader: -1	Replicas: 8,3,4	Isr: 
	Topic: lolo	Partition: 43	Leader: -1	Replicas: 9,4,5	Isr: 
	Topic: lolo	Partition: 44	Leader: -1	Replicas: 10,5,6	Isr: 
	Topic: lolo	Partition: 45	Leader: -1	Replicas: 11,6,7	Isr: 
	Topic: lolo	Partition: 46	Leader: -1	Replicas: 12,7,8	Isr: 
	Topic: lolo	Partition: 47	Leader: -1	Replicas: 13,8,9	Isr: 
	Topic: lolo	Partition: 48	Leader: -1	Replicas: 14,9,10	Isr: 
	Topic: lolo	Partition: 49	Leader: -1	Replicas: 15,10,11	Isr: 
	Topic: lolo	Partition: 50	Leader: -1	Replicas: 16,11,12	Isr: 
	Topic: lolo	Partition: 51	Leader: -1	Replicas: 17,12,13	Isr: 
	Topic: lolo	Partition: 52	Leader: -1	Replicas: 18,13,14	Isr: 
	Topic: lolo	Partition: 53	Leader: -1	Replicas: 19,14,15	Isr: 
	Topic: lolo	Partition: 54	Leader: -1	Replicas: 20,15,16	Isr: 
	Topic: lolo	Partition: 55	Leader: -1	Replicas: 1,16,17	Isr: 
	Topic: lolo	Partition: 56	Leader: -1	Replicas: 2,17,18	Isr: 
	Topic: lolo	Partition: 57	Leader: -1	Replicas: 3,18,19	Isr: 
	Topic: lolo	Partition: 58	Leader: -1	Replicas: 4,19,20	Isr: 
	Topic: lolo	Partition: 59	Leader: -1	Replicas: 5,20,1	Isr: 
	Topic: lolo	Partition: 60	Leader: -1	Replicas: 6,2,3	Isr: 
	Topic: lolo	Partition: 61	Leader: -1	Replicas: 7,3,4	Isr: 
	Topic: lolo	Partition: 62	Leader: -1	Replicas: 8,4,5	Isr: 
	Topic: lolo	Partition: 63	Leader: -1	Replicas: 9,5,6	Isr: 
	Topic: lolo	Partition: 64	Leader: -1	Replicas: 10,6,7	Isr: 
	Topic: lolo	Partition: 65	Leader: -1	Replicas: 11,7,8	Isr: 
	Topic: lolo	Partition: 66	Leader: -1	Replicas: 12,8,9	Isr: 
	Topic: lolo	Partition: 67	Leader: -1	Replicas: 13,9,10	Isr: 
	Topic: lolo	Partition: 68	Leader: -1	Replicas: 14,10,11	Isr: 
	Topic: lolo	Partition: 69	Leader: -1	Replicas: 15,11,12	Isr: 
	Topic: lolo	Partition: 70	Leader: -1	Replicas: 16,12,13	Isr: 
	Topic: lolo	Partition: 71	Leader: -1	Replicas: 17,13,14	Isr: 
	Topic: lolo	Partition: 72	Leader: -1	Replicas: 18,14,15	Isr: 
	Topic: lolo	Partition: 73	Leader: -1	Replicas: 19,15,16	Isr: 
	Topic: lolo	Partition: 74	Leader: -1	Replicas: 20,16,17	Isr: 
	Topic: lolo	Partition: 75	Leader: -1	Replicas: 1,17,18	Isr: 
	Topic: lolo	Partition: 76	Leader: -1	Replicas: 2,18,19	Isr: 
	Topic: lolo	Partition: 77	Leader: -1	Replicas: 3,19,20	Isr: 
	Topic: lolo	Partition: 78	Leader: -1	Replicas: 4,20,1	Isr: 
	Topic: lolo	Partition: 79	Leader: -1	Replicas: 5,1,2	Isr: 
	Topic: lolo	Partition: 80	Leader: -1	Replicas: 6,3,4	Isr: 
	Topic: lolo	Partition: 81	Leader: -1	Replicas: 7,4,5	Isr: 
	Topic: lolo	Partition: 82	Leader: -1	Replicas: 8,5,6	Isr: 
	Topic: lolo	Partition: 83	Leader: -1	Replicas: 9,6,7	Isr: 
	Topic: lolo	Partition: 84	Leader: -1	Replicas: 10,7,8	Isr: 
	Topic: lolo	Partition: 85	Leader: -1	Replicas: 11,8,9	Isr: 
	Topic: lolo	Partition: 86	Leader: -1	Replicas: 12,9,10	Isr: 
	Topic: lolo	Partition: 87	Leader: -1	Replicas: 13,10,11	Isr: 
	Topic: lolo	Partition: 88	Leader: -1	Replicas: 14,11,12	Isr: 
	Topic: lolo	Partition: 89	Leader: -1	Replicas: 15,12,13	Isr: 
	Topic: lolo	Partition: 90	Leader: -1	Replicas: 16,13,14	Isr: 
	Topic: lolo	Partition: 91	Leader: -1	Replicas: 17,14,15	Isr: 
	Topic: lolo	Partition: 92	Leader: -1	Replicas: 18,15,16	Isr: 
	Topic: lolo	Partition: 93	Leader: -1	Replicas: 19,16,17	Isr: 
	Topic: lolo	Partition: 94	Leader: -1	Replicas: 20,17,18	Isr: 
	Topic: lolo	Partition: 95	Leader: -1	Replicas: 1,18,19	Isr: 
	Topic: lolo	Partition: 96	Leader: -1	Replicas: 2,19,20	Isr: 
	Topic: lolo	Partition: 97	Leader: -1	Replicas: 3,20,1	Isr: 
	Topic: lolo	Partition: 98	Leader: -1	Replicas: 4,1,2	Isr: 
	Topic: lolo	Partition: 99	Leader: -1	Replicas: 5,2,3	Isr: 
{quote}

> Deleting a topic fails
> ----------------------
>
>                 Key: KAFKA-2231
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2231
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.2.1
>         Environment: Windows 8.1
>            Reporter: James G. Haberly
>            Priority: Minor
>
> delete.topic.enable=true is in config\server.properties.
> Using --list shows the topic "marked for deletion".
> Stopping and restarting kafka and zookeeper does not delete the topic; it remains "marked
for deletion".
> Trying to recreate the topic fails with "Topic XXX already exists".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message