lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Koch <...@issuu.com>
Subject "Error 500 seek past EOF" : SOLR bug?
Date Fri, 23 Mar 2012 14:00:09 GMT
Hi list

In my ~6M index served from a slave that is replicating from a master, I'm
trying to do this query :

localhost:8080/solr/core0/select?q=car&qf=document%5E1&defType=edismax

Can anybody explain the below error that I get as a result? It may (or may
not) be related to another problem that we're seeing, which is that
replication sometimes fails "for a while" leading to a lot of retried
replication attempts, which seems to finally succeed.


==========
Query failure:
Error 500 seek past EOF:
MMapIndexInput(path="/mnt/solr.data.0/index/_1sj.frq")

java.io.IOException: seek past EOF:
MMapIndexInput(path="/mnt/solr.data.0/index/_1sj.frq")
at
org.apache.lucene.store.MMapDirectory$MMapIndexInput.seek(MMapDirectory.java:352)
at org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:92)
at org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:59)
at org.apache.lucene.index.IndexReader.termDocs(IndexReader.java:1277)
at org.apache.lucene.index.SegmentReader.termDocs(SegmentReader.java:490)
at org.apache.solr.search.SolrIndexReader.termDocs(SolrIndexReader.java:321)
at org.apache.lucene.search.TermQuery$TermWeight.scorer(TermQuery.java:102)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:577)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:364)
at
org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1282)
at
org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1162)
at
org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:362)
at
org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:378)
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372)
at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1337)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:973)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:417)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:907)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:442)
at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:924)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
at java.lang.Thread.run(Thread.java:722)


==========
Replication failure:

Mar 23, 2012 1:27:30 PM org.apache.solr.handler.ReplicationHandler doFetch
SEVERE: SnapPull failed
org.apache.solr.common.SolrException: Index fetch failed :
        at
org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:331)
        at
org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:268)
        at org.apache.solr.handler.SnapPuller$1.run(SnapPuller.java:159)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.FileNotFoundException: File does not exist
/mnt/solr.data.0/index.20120323132730/_16c_5s.del
        at org.apache.solr.common.util.FileUtils.sync(FileUtils.java:64)
        at
org.apache.solr.handler.SnapPuller$FileFetcher$1.run(SnapPuller.java:923)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        ... 3 more

Thanks,
/Martin Koch

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message