[ 
https://issues.apache.org/jira/browse/KAFKA-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajini Sivaram resolved KAFKA-2718.
-----------------------------------
    Resolution: Fixed

There is another issue with the tests, not with directory reuse, but with 
auto-create of topics with unclosed producers when Kafka server ports are 
reused. KAFKA-3217 has been raised to address this issue. Closing this JIRA 
since no other problems have been seen with directory reuse since this fix.

> Reuse of temporary directories leading to transient unit test failures
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-2718
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2718
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: 0.9.1.0
>            Reporter: Rajini Sivaram
>            Assignee: Rajini Sivaram
>             Fix For: 0.9.1.0
>
>
> Stack traces in some of the transient unit test failures indicate that 
> temporary directories used for Zookeeper are being reused.
> {quote}
> kafka.common.TopicExistsException: Topic "topic" already exists.
>       at 
> kafka.admin.AdminUtils$.createOrUpdateTopicPartitionAssignmentPathInZK(AdminUtils.scala:253)
>       at kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:237)
>       at kafka.utils.TestUtils$.createTopic(TestUtils.scala:231)
>       at kafka.api.BaseConsumerTest.setUp(BaseConsumerTest.scala:63)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {quote}



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

Reply via email to