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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.0.0
    • Component/s: core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: