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

ASF GitHub Bot commented on KAFKA-2718:
---------------------------------------

GitHub user rajinisivaram opened a pull request:

    https://github.com/apache/kafka/pull/583

    KAFKA-2718: Prevent temp directory being reused in parallel test runs

    Use Files.createTempDirectory to avoid reuse, for log directories create a 
new temp directory as parent

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rajinisivaram/kafka KAFKA-2718-v2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/583.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 #583
    
----
commit 51b47a6a611a2246a568e97374be7bf434bc89de
Author: Rajini Sivaram <rajinisiva...@googlemail.com>
Date:   2015-11-24T18:51:45Z

    KAFKA-2718: Prevent temp directory being reused when tests are run in
    parallel

----


> 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.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