HI Guys, Please can someone help out here to pin-point the issue..?
Thanks & Regards, Puneet On Mon, Apr 6, 2015 at 1:27 PM, Puneet Jain <ja.pun...@gmail.com> wrote: > Hi Guys, > > I am using 4.2.0 since more than a year and since last October 2014 facing > index corruption issue. However, now it is happening everyday and have to > built a fresh index for the temporary fix. Please find the logs below where > i can see an error while replicating data from master to slave and notice > the index corruption issue at slave nodes: > > 2015-04-05 00:00:37,671 ERROR snapPuller-15-thread-1 [handler.SnapPuller] > - Error closing the file stream: _1re_Lucene41_0.tim > java.io.IOException: Input/output error > at java.io.RandomAccessFile.close0(Native Method) > at java.io.RandomAccessFile.close(RandomAccessFile.java:543) > at > org.apache.lucene.store.FSDirectory$FSIndexOutput.close(FSDirectory.java:494) > at > org.apache.solr.handler.SnapPuller$DirectoryFileFetcher.cleanup(SnapPuller.java:1223) > at > org.apache.solr.handler.SnapPuller$DirectoryFileFetcher.fetchFile(SnapPuller.java:1117) > at > org.apache.solr.handler.SnapPuller.downloadIndexFiles(SnapPuller.java:744) > at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:398) > at > org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:281) > at org.apache.solr.handler.SnapPuller$1.run(SnapPuller.java:223) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) > 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) > > Not getting exact solution for the same was thinking to upgrade to SOLR > 4.7.0 as it uses new versions of httpcomponents and i thought that older > version have some issues. Please can someone recommend what can be done to > avoid the index corruption issue in SOLR 4.2.0. > > Thanks in advance..! > > Thanks & Regards, > Puneet >