Kafka
  1. Kafka
  2. KAFKA-1098

Unit test failure in 0.8.1 related to LogCleaner

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.1
    • Fix Version/s: None
    • Component/s: log
    • Labels:
      None

      Description

      Floor = 0, To = -1
      [2013-10-22 09:39:25,001] ERROR Error in cleaner thread 0: (kafka.log.LogCleaner:103)
      java.lang.IllegalArgumentException: inconsistent range
      at java.util.concurrent.ConcurrentSkipListMap$SubMap.<init>(ConcurrentSkipListMap.java:2506)
      at java.util.concurrent.ConcurrentSkipListMap.subMap(ConcurrentSkipListMap.java:1984)
      at kafka.log.Log.logSegments(Log.scala:605)
      at kafka.log.LogToClean.<init>(LogCleaner.scala:596)
      at kafka.log.LogCleaner$$anonfun$5.apply(LogCleaner.scala:137)
      at kafka.log.LogCleaner$$anonfun$5.apply(LogCleaner.scala:137)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206)
      at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)
      at scala.collection.immutable.List.foreach(List.scala:45)
      at scala.collection.TraversableLike$class.map(TraversableLike.scala:206)
      at scala.collection.immutable.List.map(List.scala:45)
      at kafka.log.LogCleaner.kafka$log$LogCleaner$$grabFilthiestLog(LogCleaner.scala:137)
      at kafka.log.LogCleaner$CleanerThread.cleanOrSleep(LogCleaner.scala:203)
      at kafka.log.LogCleaner$CleanerThread.run(LogCleaner.scala:189)

      1. kafka_1098-v1.patch
        1 kB
        Joris Van Remoortere
      2. KAFKA-1098-v2.patch
        2 kB
        Jay Kreps
      3. KAFKA-1098-v3.patch
        2 kB
        Jay Kreps

        Activity

          People

          • Assignee:
            Jay Kreps
            Reporter:
            Neha Narkhede
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development