[
https://issues.apache.org/jira/browse/KAFKA-7486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690115#comment-16690115
]
Dong Lin edited comment on KAFKA-7486 at 11/16/18 11:13 PM:
------------------------------------------------------------
The test calls `AdminUtils.addPartitions` to add partition to the topic after
the async topic deletion is triggered. It assumes that the topic deletion is
not completed when `AdminUtils.addPartitions` is executed but this is not
guaranteed. This is the root cause of the test failure. So it does not indicate
any bug in the code and thus this is not a blocking issue for 2.1.0 release.
was (Author: lindong):
The test calls `AdminUtils.addPartitions` to add partition to the topic after
the async topic deletion is triggered. It assumes that the topic deletion is
not completed when `AdminUtils.addPartitions` is executed but this is not
guaranteed. This is the root cause of the test failure. So it does not indicate
any bug in the code and thus this is not a blocking issue for 2.1 release.
> Flaky test `DeleteTopicTest.testAddPartitionDuringDeleteTopic`
> --------------------------------------------------------------
>
> Key: KAFKA-7486
> URL: https://issues.apache.org/jira/browse/KAFKA-7486
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Jason Gustafson
> Priority: Major
>
> Starting to see more of this recently:
> {code}
> 10:06:28 kafka.admin.DeleteTopicTest > testAddPartitionDuringDeleteTopic
> FAILED
> 10:06:28 kafka.admin.AdminOperationException:
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode =
> NoNode for /brokers/topics/test
> 10:06:28 at
> kafka.zk.AdminZkClient.writeTopicPartitionAssignment(AdminZkClient.scala:162)
> 10:06:28 at
> kafka.zk.AdminZkClient.createOrUpdateTopicPartitionAssignmentPathInZK(AdminZkClient.scala:102)
> 10:06:28 at
> kafka.zk.AdminZkClient.addPartitions(AdminZkClient.scala:229)
> 10:06:28 at
> kafka.admin.DeleteTopicTest.testAddPartitionDuringDeleteTopic(DeleteTopicTest.scala:266)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)