java.lang.IllegalArgumentException: requirement failed: Last clean offset is 587607 but segment base offset is 0 for log foo-6.

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

Solutions on the web

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 Gian Merlino (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 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 54770438 but segment base offset is 382844024 log testtopic-0.
java.lang.IllegalArgumentException: requirement failed: Last clean offset is 587607 but segment base offset is 0 for log foo-6.
at scala.Predef$.require(Predef.scala:233)
at kafka.log.Cleaner.buildOffsetMap(LogCleaner.scala:502)
at kafka.log.Cleaner.clean(LogCleaner.scala:300)
at kafka.log.LogCleaner$CleanerThread.cleanOrSleep(LogCleaner.scala:214)
at kafka.log.LogCleaner$CleanerThread.doWork(LogCleaner.scala:192)
at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:60)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
47 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.