The following are steps.. 1.We do indexing every 5 minutes on master and when indexing is done a snapshot is taken
2. On slave we have a cronjob which runs snappuller every 3 minutes to check for new snapshots and installs it on slave if it finds new one 3.Master and Slave are continuously serving search requests. (I am not using SOLR for indexing ) The file system is ext3 Thanks in advance. Michael McCandless-2 wrote: > > > 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: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Caused-by%3A-java.io.IOException%3A-read-past-EOF-on-Slave-tp19682684p19691799.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]