lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Caused by: java.io.IOException: read past EOF on Slave
Date Fri, 26 Sep 2008 10:32:47 GMT

Can you describe the sequence of steps that your replication process  
goes through?

Also, which filesystem is the index being accessed through?

Mike

rahul_k123 wrote:

>
> First of all, thanks to all the people who helped me in getting the  
> lucene
> replication setup working and right now its live in our production :-)
>
> Everything working fine, except that i am seeing some exceptions on  
> slaves.
>
> The following is the one which is occuring more often on slaves
>
>  at java.util.concurrent.Executors 
> $RunnableAdapter.call(Executors.java:441)
>        at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at
> java.util.concurrent.ThreadPoolExecutor 
> $Worker.runTask(ThreadPoolExecutor.java:885)
>        at
> java.util.concurrent.ThreadPoolExecutor 
> $Worker.run(ThreadPoolExecutor.java:907)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: com.IndexingException: [SYSTEM_ERROR] Cannot access index
> [data_dir/index]: [read past EOF]
>        at
> com 
> .lucene 
> .LuceneSearchService.getSearchResults(LuceneSearchService.java:964)
>        ... 12 more
> Caused by: java.io.IOException: read past EOF
>        at
> org 
> .apache 
> .lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146)
>        at
> org 
> .apache 
> .lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)
>        at org.apache.lucene.store.IndexInput.readInt(IndexInput.java: 
> 66)
>        at  
> org.apache.lucene.store.IndexInput.readLong(IndexInput.java:89)
>        at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java: 
> 147)
>        at
> org.apache.lucene.index.SegmentReader.document(SegmentReader.java:659)
>        at
> org 
> .apache 
> .lucene.index.MultiSegmentReader.document(MultiSegmentReader.java:257)
>        at
> org.apache.lucene.index.IndexReader.document(IndexReader.java:525)
>
> and the second one is
>
> at java.util.concurrent.Executors 
> $RunnableAdapter.call(Executors.java:441)
>        at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at
> java.util.concurrent.ThreadPoolExecutor 
> $Worker.runTask(ThreadPoolExecutor.java:885)
>        at
> java.util.concurrent.ThreadPoolExecutor 
> $Worker.run(ThreadPoolExecutor.java:907)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.IllegalArgumentException: attempt to access a  
> deleted
> document
>        at
> org.apache.lucene.index.SegmentReader.document(SegmentReader.java:657)
>        at
> org 
> .apache 
> .lucene.index.MultiSegmentReader.document(MultiSegmentReader.java:257)
>        at
> org.apache.lucene.index.IndexReader.document(IndexReader.java:525)
> This is on master index .
>
>
>
> Any help is appreciated
>
> Thanks.
>
> -- 
> View this message in context: http://www.nabble.com/Caused-by%3A-java.io.IOException%3A-read-past-EOF-on-Slave-tp19682684p19682684.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message