Re: Re: Pagecache cause OffsetOutOfRangeException

2014-12-02 Thread Guozhang Wang
Wang > Date: 2014-12-03 03:23 > To: users@kafka.apache.org > Subject: Re: Pagecache cause OffsetOutOfRangeException > Yuanjia, > > I am not sure that pagecache can be the cause of this, could you attach > your full stack trace and use the GetOffset tool Manikumar mentioned to >

Re: Re: Pagecache cause OffsetOutOfRangeException

2014-12-02 Thread YuanJia Li
offset got by SimpleConsumer.getOffsetsBefore API. I don't quite understand the kernel pagecache, so I wonder the delay between writting and reading. Thanks, Yuanjia From: Guozhang Wang Date: 2014-12-03 03:23 To: users@kafka.apache.org Subject: Re: Pagecache

Re: Pagecache cause OffsetOutOfRangeException

2014-12-02 Thread Guozhang Wang
Yuanjia, I am not sure that pagecache can be the cause of this, could you attach your full stack trace and use the GetOffset tool Manikumar mentioned to make sure the offset does exist in the broker? Guozhang On Tue, Dec 2, 2014 at 7:50 AM, Manikumar Reddy wrote: > You can check the latest/ear

Re: Pagecache cause OffsetOutOfRangeException

2014-12-02 Thread Manikumar Reddy
You can check the latest/earliest offsets of a given topic by running GetOffsetShell. https://cwiki.apache.org/confluence/display/KAFKA/System+Tools#SystemTools-GetOffsetShell On Tue, Dec 2, 2014 at 2:05 PM, yuanjia8947 wrote: > Hi all, > I'm using kafka 0.8.0 release now. And I often encounter