Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2054 Fix Kafka transient unit test failures
  3. KAFKA-2718

Reuse of temporary directories leading to transient unit test failures

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0.0
    • 0.10.0.0
    • core
    • None

    Description

      Stack traces in some of the transient unit test failures indicate that temporary directories used for Zookeeper are being reused.

      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)

      Attachments

        Issue Links

          Activity

            People

              rsivaram Rajini Sivaram
              rsivaram Rajini Sivaram
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: