lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Böttger <sebastian.boett...@gmail.com>
Subject java.io.FileNotFoundException: ..index/segments_3ee (No such file or directory)
Date Wed, 15 Jul 2009 15:22:53 GMT
Hi,

I get an error while indexing some xml files.
The segments_3ee file is not existent. The point is, if i index the same 
xml file a couple of times: sometimes it works, sometimes not.

Does anybody got an idea whats going wrong here?

Jul 15, 2009 5:11:32 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=/solr path=/update params={wt=json} status=500 QTime=9
Jul 15, 2009 5:11:32 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.RuntimeException: java.io.FileNotFoundException: 
/srv/www/htdocs/web1/files/tomcat/webapps/solr/var/lib/solr/data/index/segments_3ee 
(No such file or directory)
    at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1080)
    at 
org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:383)
    at 
org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:78)
    at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:168)
    at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:69)
    at 
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54)
    at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
    at org.apache.solr.core.SolrCore.execute(SolrCore.java:1328)
    at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:340)
    at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:243)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
    at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
    at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
    at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException: 
/srv/www/htdocs/web1/files/tomcat/webapps/solr/var/lib/solr/data/index/segments_3ee 
(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.FSDirectory$FSIndexInput$Descriptor.<init>(FSDirectory.java:626)
    at 
org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:656)
    at 
org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.<init>(NIOFSDirectory.java:76)
    at 
org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:63)
    at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:556)
    at org.apache.lucene.index.SegmentInfos$2.doBody(SegmentInfos.java:392)
    at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:691)
    at 
org.apache.lucene.index.SegmentInfos.readCurrentVersion(SegmentInfos.java:389)
    at 
org.apache.lucene.index.DirectoryIndexReader.isCurrent(DirectoryIndexReader.java:366)
    at 
org.apache.lucene.index.DirectoryIndexReader.doReopen(DirectoryIndexReader.java:250)
    at 
org.apache.lucene.index.DirectoryIndexReader.reopen(DirectoryIndexReader.java:158)
    at 
org.apache.solr.search.SolrIndexReader.reopen(SolrIndexReader.java:377)
    at 
org.apache.solr.search.SolrIndexReader.reopen(SolrIndexReader.java:388)
    at 
org.apache.solr.search.SolrIndexReader.reopen(SolrIndexReader.java:34)
    at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1059)
    ... 24 more


Best regards
Sebastian

Mime
View raw message