It is not. This is happening for other segment files, not just segment_5,
too.

On Tue, Feb 14, 2017 at 12:04 PM, David Hastings <
hastings.recurs...@gmail.com> wrote:

> well, if you look at the error:
> NoSuchFileException
>
> its looking for the segment file for generation 5, are you sure its
> present?
>
> On Tue, Feb 14, 2017 at 11:57 AM, Peter Matthew Eichman <peich...@umd.edu>
> wrote:
>
> > Hello all,
> >
> > I am running Solr 6.4.0, and while I am attempting to index my Fedora 4
> > data, I keep getting warning messages in my solr.log: "WARN
> >  (qtp401424608-18) [   x:fedora4] o.a.s.h.a.LukeRequestHandler Error
> > getting file length for [segments_5]". And after that, the indexing
> stops,
> > and the core is left in a non-current state until I issue a manual commit
> > request to it.
> >
> > What might be causing this behavior? We did migrate this core from Solr 4
> > to Solr 6, so I was thinking it might be related to some config setting
> > that works in 4 but messes up in 6?
> >
> > Here is the full stack trace from the log:
> >
> > 2017-02-14 16:51:11.429 WARN  (qtp401424608-18) [   x:fedora4]
> > o.a.s.h.a.LukeRequestHandler Error getting file length for [segments_5]
> > java.nio.file.NoSuchFileException:
> > /apps/solr/solr64/cores/fedora4/data/index/segments_5
> >         at
> > sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> >         at
> > sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(
> > UnixFileAttributeViews.java:55)
> >         at
> > sun.nio.fs.UnixFileSystemProvider.readAttributes(
> > UnixFileSystemProvider.java:144)
> >         at
> > sun.nio.fs.LinuxFileSystemProvider.readAttributes(
> > LinuxFileSystemProvider.java:99)
> >         at java.nio.file.Files.readAttributes(Files.java:1737)
> >         at java.nio.file.Files.size(Files.java:2332)
> >         at
> > org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:243)
> >         at
> > org.apache.lucene.store.NRTCachingDirectory.fileLength(
> > NRTCachingDirectory.java:128)
> >         at
> > org.apache.lucene.store.FilterDirectory.fileLength(
> > FilterDirectory.java:67)
> >         at
> > org.apache.solr.handler.admin.LukeRequestHandler.getFileLength(
> > LukeRequestHandler.java:614)
> >         at
> > org.apache.solr.handler.admin.LukeRequestHandler.getIndexInfo(
> > LukeRequestHandler.java:587)
> >         at
> > org.apache.solr.handler.admin.LukeRequestHandler.handleRequestBody(
> > LukeRequestHandler.java:138)
> >         at
> > org.apache.solr.handler.RequestHandlerBase.handleRequest(
> > RequestHandlerBase.java:166)
> >         at org.apache.solr.core.SolrCore.execute(SolrCore.java:2306)
> >         at
> > org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:658)
> >         at org.apache.solr.servlet.HttpSolrCall.call(
> > HttpSolrCall.java:464)
> >         at
> > org.apache.solr.servlet.SolrDispatchFilter.doFilter(
> > SolrDispatchFilter.java:345)
> >         at
> > org.apache.solr.servlet.SolrDispatchFilter.doFilter(
> > SolrDispatchFilter.java:296)
> >         at
> > org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> > doFilter(ServletHandler.java:1691)
> >         at
> > org.eclipse.jetty.servlet.ServletHandler.doHandle(
> ServletHandler.java:582)
> >         at
> > org.eclipse.jetty.server.handler.ScopedHandler.handle(
> > ScopedHandler.java:143)
> >         at
> > org.eclipse.jetty.security.SecurityHandler.handle(
> > SecurityHandler.java:548)
> >         at
> > org.eclipse.jetty.server.session.SessionHandler.
> > doHandle(SessionHandler.java:226)
> >         at
> > org.eclipse.jetty.server.handler.ContextHandler.
> > doHandle(ContextHandler.java:1180)
> >         at
> > org.eclipse.jetty.servlet.ServletHandler.doScope(
> ServletHandler.java:512)
> >         at
> > org.eclipse.jetty.server.session.SessionHandler.
> > doScope(SessionHandler.java:185)
> >         at
> > org.eclipse.jetty.server.handler.ContextHandler.
> > doScope(ContextHandler.java:1112)
> >         at
> > org.eclipse.jetty.server.handler.ScopedHandler.handle(
> > ScopedHandler.java:141)
> >         at
> > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(
> > ContextHandlerCollection.java:213)
> >         at
> > org.eclipse.jetty.server.handler.HandlerCollection.
> > handle(HandlerCollection.java:119)
> >         at
> > org.eclipse.jetty.server.handler.HandlerWrapper.handle(
> > HandlerWrapper.java:134)
> >         at org.eclipse.jetty.server.Server.handle(Server.java:534)
> >         at org.eclipse.jetty.server.HttpChannel.handle(
> > HttpChannel.java:320)
> >         at
> > org.eclipse.jetty.server.HttpConnection.onFillable(
> > HttpConnection.java:251)
> >         at
> > org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(
> > AbstractConnection.java:273)
> >         at org.eclipse.jetty.io.FillInterest.fillable(
> > FillInterest.java:95)
> >         at
> > org.eclipse.jetty.io.SelectChannelEndPoint$2.run(
> > SelectChannelEndPoint.java:93)
> >         at
> > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.
> > executeProduceConsume(ExecuteProduceConsume.java:303)
> >         at
> > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.
> > produceConsume(ExecuteProduceConsume.java:148)
> >         at
> > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(
> > ExecuteProduceConsume.java:136)
> >         at
> > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
> > QueuedThreadPool.java:671)
> >         at
> > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(
> > QueuedThreadPool.java:589)
> >         at java.lang.Thread.run(Thread.java:745)
> >
> > Thanks,
> > -Peter
> >
> > --
> > Peter Eichman
> > Senior Software Developer
> > University of Maryland Libraries
> > peich...@umd.edu
> >
>



-- 
Peter Eichman
Senior Software Developer
University of Maryland Libraries
peich...@umd.edu

Reply via email to