Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Caused by: java.io.IOException: read past EOF on Slave

rahul_k123

2008-09-26

Replies: Find Java Web Hosting

Author LoginPost Reply

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.

--
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.