[ https://issues.apache.org/jira/browse/KAFKA-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15035477#comment-15035477 ]
ASF GitHub Bot commented on KAFKA-2718: --------------------------------------- GitHub user rajinisivaram opened a pull request: https://github.com/apache/kafka/pull/613 KAFKA-2718: Add logging to investigate intermittent unit test failures Print port and directories used by zookeeper in unit tests to figure out which may be causing conflict. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rajinisivaram/kafka KAFKA-2718-logging Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/613.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #613 ---- commit 543990b2a5ab31b6c3335ef19de1ceb022e88365 Author: Rajini Sivaram <rajinisiva...@googlemail.com> Date: 2015-12-02T08:43:17Z KAFKA-2718: Add logging to investigate intermittent unit test failures ---- > 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.0.1 > > > 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)