Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1881

transient unit test failure in testDeleteTopicWithCleaner due to OOME

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0.0
    • 0.9.0.0
    • core
    • None

    Description

      kafka.admin.DeleteTopicTest > testDeleteTopicWithCleaner FAILED
      java.lang.OutOfMemoryError: Java heap space
      at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
      at java.nio.ByteBuffer.allocate(ByteBuffer.java:312)
      at kafka.log.SkimpyOffsetMap.<init>(OffsetMap.scala:42)
      at kafka.log.LogCleaner$CleanerThread.<init>(LogCleaner.scala:177)
      at kafka.log.LogCleaner$$anonfun$1.apply(LogCleaner.scala:86)
      at kafka.log.LogCleaner$$anonfun$1.apply(LogCleaner.scala:86)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      at scala.collection.immutable.Range.foreach(Range.scala:141)
      at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      at scala.collection.AbstractTraversable.map(Traversable.scala:105)
      at kafka.log.LogCleaner.<init>(LogCleaner.scala:86)
      at kafka.log.LogManager.<init>(LogManager.scala:64)
      at kafka.server.KafkaServer.createLogManager(KafkaServer.scala:337)
      at kafka.server.KafkaServer.startup(KafkaServer.scala:85)
      at kafka.utils.TestUtils$.createServer(TestUtils.scala:134)
      at kafka.admin.DeleteTopicTest$$anonfun$10.apply(DeleteTopicTest.scala:272)
      at kafka.admin.DeleteTopicTest$$anonfun$10.apply(DeleteTopicTest.scala:272)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      at scala.collection.immutable.List.foreach(List.scala:318)
      at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      at scala.collection.AbstractTraversable.map(Traversable.scala:105)
      at kafka.admin.DeleteTopicTest.createTestTopicAndCluster(DeleteTopicTest.scala:272)
      at kafka.admin.DeleteTopicTest.testDeleteTopicWithCleaner(DeleteTopicTest.scala:241)

      Attachments

        1. KAFKA-1881.patch
          1 kB
          Ewen Cheslack-Postava

        Activity

          People

            ewencp Ewen Cheslack-Postava
            junrao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: