Which version of Solr are you using? Are there any errors in your log before these FileNotFoundExceptions?
On Fri, May 24, 2013 at 9:55 PM, atuldj.jadhav <atuldj.jad...@gmail.com>wrote: > Hi Team, > > I need your help with one of the critical issue I am facing. > I end up loosing my segment. > > more frequently I get below File not Found exception > ../data/index/segments_c (No such file or directory) at > org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1103) > > Segment name keeps changing. This happened twice in last week. and I am > still debugging the cause here. > > For your information please see more detailed stack trace.... > > java.lang.RuntimeException: java.io.FileNotFoundException: > /apps/web/jboss/DL/data/index/segments_c (No such file or directory) at > org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1103) at > org.apache.solr.core.SolrCore.<init>(SolrCore.java:587) at > org.apache.solr.core.CoreContainer.create(CoreContainer.java:463) at > org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at > org.apache.solr.core.CoreContainer.load(CoreContainer.java:207) at > > org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130) > at com.legg.lmsolr.utils.MDLSolrIndex.execute(MDLSolrIndex.java:227) at > com.legg.lmsolr.utils.MDLSolrIndex.main(MDLSolrIndex.java:156) at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) at > > org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) > Caused by: java.io.FileNotFoundException: > /apps/web/jboss/DL/mylm/data/index/segments_c (No such file or directory) > at > java.io.RandomAccessFile.open(Native Method) at > java.io.RandomAccessFile.<init>(RandomAccessFile.java:212) at > > org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.<init>(SimpleFSDirectory.java:70) > at > > org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.<init>(SimpleFSDirectory.java:97) > at > > org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.<init>(NIOFSDirectory.java:92) > at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:79) > at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:345) at > org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:265) at > org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:79) > at > > org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:754) > at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:75) at > org.apache.lucene.index.IndexReader.open(IndexReader.java:462) at > org.apache.lucene.index.IndexReader.open(IndexReader.java:405) at > > org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38) > at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1092) ... 12 > more > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-java-io-FileNotFoundException-tp4065949.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Regards, Shalin Shekhar Mangar.