Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Delete the corrupted index files and on startup, Kafka server will rebuild it.

Solutions on the web

via apache.org by Unknown author, 2 years ago
requirement failed: Last clean offset is 54770438 but segment base offset is 382844024 log testtopic-0.
via kafka-dev by Gwen Shapira (JIRA), 1 year ago
requirement failed: Last clean offset is 587607 but segment base offset is 0 for log foo-6.
via kafka-dev by Gwen Shapira (JIRA), 1 year ago
requirement failed: Last clean offset is 587607 but segment base offset is 0 for log foo-6.
via apache.org by Unknown author, 2 years ago
requirement failed: Last clean offset is 0 but segment base offset is 2722629 for log test-0.
via kafka-dev by Gian Merlino (JIRA), 2 years ago
requirement failed: Last clean offset is 587607 but segment base offset is 0 for log foo-6.
via kafka-dev by Gwen Shapira (JIRA), 1 year ago
requirement failed: Last clean offset is 587607 but segment base offset is 0 for log foo-6.
java.lang.IllegalArgumentException: requirement failed: Last clean offset is 54770438 but segment base offset is 382844024 log testtopic-0. at scala.Predef$.require(Predef.scala:145) at kafka.log.Cleaner.buildOffsetMap(LogCleaner.scala:491) at kafka.log.Cleaner.clean(LogCleaner.scala:288) at kafka.log.LogCleaner$CleanerThread.cleanOrSleep(LogCleaner.scala:202) at kafka.log.LogCleaner$CleanerThread.doWork(LogCleaner.scala:187) at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:51)