kafka.common.KafkaStorageException: I/O exception in append to log 'messagejournal-0'

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by gitfrederic
, 1 year ago
I/O exception in append to log 'messagejournal-0'
via mail-archive.com by Unknown author, 1 year ago
via Stack Overflow by kaushik H S
, 1 week ago
I/O exception in append to log 'store_sales-16'
via Stack Overflow by eric zhao
, 1 year ago
I/O exception in append to log '__consumer_offsets-38'
kafka.common.KafkaStorageException: I/O exception in append to log 'messagejournal-0'
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.(RandomAccessFile.java:243)
at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:277)
at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:276)
at kafka.utils.Utils$.inLock(Utils.scala:535)
at kafka.log.OffsetIndex.resize(OffsetIndex.scala:276)
at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply$mcV$sp(OffsetIndex.scala:265)
at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply(OffsetIndex.scala:265)
at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply(OffsetIndex.scala:265)
at kafka.utils.Utils$.inLock(Utils.scala:535)
at kafka.log.OffsetIndex.trimToValidSize(OffsetIndex.scala:264)
at kafka.log.Log.roll(Log.scala:563)
at kafka.log.Log.maybeRoll(Log.scala:539)
at kafka.log.Log.append(Log.scala:306)
at org.graylog2.shared.journal.KafkaJournal.write(KafkaJournal.java:411)
at org.graylog2.shared.buffers.JournallingMessageHandler.writeToJournal(JournallingMessageHandler.java:113)
at org.graylog2.shared.buffers.JournallingMessageHandler.access$200(JournallingMessageHandler.java:45)
at org.graylog2.shared.buffers.JournallingMessageHandler$2.call(JournallingMessageHandler.java:104)
at org.graylog2.shared.buffers.JournallingMessageHandler$2.call(JournallingMessageHandler.java:101)
at com.github.rholder.retry.AttemptTimeLimiters$NoAttemptTimeLimit.call(AttemptTimeLimiters.java:78)
at org.graylog2.shared.buffers.JournallingMessageHandler.onEvent(JournallingMessageHandler.java:101)
at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:129)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

14 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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