Re: Segment Corruption - ForUtil.readBlock AIOBE

2016-08-09 Thread Ravikumar Govindarajan
Ran CheckIndex and it reported fine... Little bit of digging and found issue in application code. We cache few data-blocks returned from IndexInput & there was an issue in reading with that. Corrected it now & things are running fine... Apologies for the false alarm -- Ravi On Mon, Aug 8, 2016

Re: Segment Corruption - ForUtil.readBlock AIOBE

2016-08-08 Thread Robert Muir
Can you run checkindex and include the output? On Mon, Aug 8, 2016 at 2:36 AM, Ravikumar Govindarajan wrote: > For some of the segments we received the following exception during merge > as well as search. They look to be corrupt [Lucene 4.6.1 & Sun JDK >

Segment Corruption - ForUtil.readBlock AIOBE

2016-08-08 Thread Ravikumar Govindarajan
For some of the segments we received the following exception during merge as well as search. They look to be corrupt [Lucene 4.6.1 & Sun JDK 1.7.0_55] Is this a known bug? Any help is much appreciated The offending line of code is in ForUtil.readBlock() method... *final int encodedSize =