kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rosenberg <...@squareup.com>
Subject Re: KafkaException: Size of FileMessageSet has been truncated during write
Date Mon, 01 Jun 2015 20:21:22 GMT
Might be good to have a more friendly error message though!

On Thu, May 28, 2015 at 4:32 PM, Andrey Yegorov <andrey.yegorov@gmail.com>
wrote:

> Thank you!
>
> ----------
> Andrey Yegorov
>
> On Wed, May 27, 2015 at 4:42 PM, Jiangjie Qin <jqin@linkedin.com.invalid>
> wrote:
>
> > This should be just a message fetch failure. The socket was disconnected
> > when broker was writing to it. There should not be data loss.
> >
> > Jiangjie (Becket) Qin
> >
> > On 5/27/15, 11:00 AM, "Andrey Yegorov" <andrey.yegorov@gmail.com> wrote:
> >
> > >I've noticed a few exceptions in the logs like the one below, does it
> > >indicate data loss? should I worry about this?
> > >What is the possible reason for this to happen?
> > >I am using kafka 0.8.1.1
> > >
> > >ERROR Closing socket for /xx.xxx.xxx.xxx because of error
> > >(kafka.network.Processor)
> > >
> > >kafka.common.KafkaException: Size of FileMessageSet
> > >/data/kafka/topic-name-11/00000000000014340499.log has been truncated
> > >during write: old size 26935, new size 0
> > >
> > >        at kafka.log.FileMessageSet.writeTo(FileMessageSet.scala:144)
> > >
> > >        at kafka.api.PartitionDataSend.writeTo(FetchResponse.scala:69)
> > >
> > >        at kafka.network.MultiSend.writeTo(Transmission.scala:102)
> > >
> > >        at kafka.api.TopicDataSend.writeTo(FetchResponse.scala:124)
> > >
> > >        at kafka.network.MultiSend.writeTo(Transmission.scala:102)
> > >
> > >        at kafka.api.FetchResponseSend.writeTo(FetchResponse.scala:219)
> > >
> > >        at kafka.network.Processor.write(SocketServer.scala:375)
> > >
> > >        at kafka.network.Processor.run(SocketServer.scala:247)
> > >
> > >        at java.lang.Thread.run(Thread.java:745)
> > >
> > >----------
> > >Andrey Yegorov
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message