You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Akreeti Agarwal <Ak...@hcl.com> on 2019/08/21 12:17:07 UTC

Solr master issue

Hi,

I am facing issue on my solr master, getting this in logs:

2019-08-19 22:29:55.573 ERROR (qtp59559151-101) [   ] o.a.s.s.HttpSolrCall null:org.apache.solr.common.SolrException: SolrCore 'sitecore_contents_index' is not available due to init failure: Error opening new searcher
                at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:1071)
                at org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:252)
                at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:414)
                at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
                at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
                at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
                at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
                at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
                at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
                at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
                at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
                at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
                at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
                at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
                at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
                at org.eclipse.jetty.server.Server.handle(Server.java:499)
                at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
                at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
                at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
                at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
                at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
                at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
                at org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
                at org.apache.solr.core.SolrCore.<init>(SolrCore.java:658)
                at org.apache.solr.core.CoreContainer.create(CoreContainer.java:820)
                at org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:90)
                at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:473)
                at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:464)
                at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                ... 1 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
                at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1696)
                at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1807)
                at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:914)
                at org.apache.solr.core.SolrCore.<init>(SolrCore.java:793)
                ... 10 more
Caused by: java.nio.file.NoSuchFileException: /solr-m/server/solr/sitecore_contents_index_rebuild/data/index/_6lps.si
                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.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
                at java.nio.channels.FileChannel.open(FileChannel.java:287)
                at java.nio.channels.FileChannel.open(FileChannel.java:335)
                at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:237)
                at org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:187)
                at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:109)
                at org.apache.lucene.codecs.lucene50.Lucene50SegmentInfoFormat.read(Lucene50SegmentInfoFormat.java:82)
                at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:362)
                at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:171)
                at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:949)
                at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:78)
                at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:65)
                at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:237)
                at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:111)
                at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1657)
                ... 13 more

Please help to resolve this issue.

Thanks & Regards,
Akreeti Agarwal
(M) +91-8318686601

::DISCLAIMER::
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Re: Solr master issue

Posted by Erick Erickson <er...@gmail.com>.
You’d also probably get more information from the Sitecore folks, Apache Solr is used by Sitecore, but doesn’t know much about Sitecore issues.

Offhand I’d check if your disk is at or near full. Going just from the “rebuild” mention, looks like the index is being recreated, in which case there needs to be _at least_ as much free space on the disk as the index consumes.

> On Aug 21, 2019, at 9:26 AM, Andrea Gazzarini <a....@sease.io> wrote:
> 
> I bet this is the problem:
> 
> java.nio.file.NoSuchFileException: /solr-m/server/solr/sitecore_c
> 
> Do you have any idea about why Solr us not finding that datafile?
> 
> Andrea
> 
> On Wed, 21 Aug 2019, 14:41 Atita Arora, <at...@gmail.com> wrote:
> 
>> I think it would be useful to provide additional details like solr version,
>> when did you start seeing the problem? Did you upgrade lately?
>> Did you change anything?
>> 
>> On Wed, Aug 21, 2019 at 2:17 PM Akreeti Agarwal <Ak...@hcl.com> wrote:
>> 
>>> Hi,
>>> 
>>> I am facing issue on my solr master, getting this in logs:
>>> 
>>> 2019-08-19 22:29:55.573 ERROR (qtp59559151-101) [   ]
>> o.a.s.s.HttpSolrCall
>>> null:org.apache.solr.common.SolrException: SolrCore
>>> 'sitecore_contents_index' is not available due to init failure: Error
>>> opening new searcher
>>>                at
>>> org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:1071)
>>>                at
>>> org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:252)
>>>                at
>>> org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:414)
>>>                at
>>> 
>> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
>>>                at
>>> 
>> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
>>>                at
>>> 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
>>>                at
>>> 
>> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
>>>                at
>>> 
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>>>                at
>>> 
>> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
>>>                at
>>> 
>> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>>>                at
>>> 
>> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>>>                at
>>> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>>>                at
>>> 
>> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>>>                at
>>> 
>> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>>>                at
>>> 
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>>>                at
>>> 
>> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
>>>                at
>>> 
>> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
>>>                at
>>> 
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>>>                at
>> org.eclipse.jetty.server.Server.handle(Server.java:499)
>>>                at
>>> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
>>>                at
>>> 
>> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
>>>                at org.eclipse.jetty.io
>>> .AbstractConnection$2.run(AbstractConnection.java:540)
>>>                at
>>> 
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>>>                at
>>> 
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>>>                at java.lang.Thread.run(Thread.java:748)
>>> Caused by: org.apache.solr.common.SolrException: Error opening new
>> searcher
>>>                at
>> org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
>>>                at
>> org.apache.solr.core.SolrCore.<init>(SolrCore.java:658)
>>>                at
>>> org.apache.solr.core.CoreContainer.create(CoreContainer.java:820)
>>>                at
>>> org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:90)
>>>                at
>>> org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:473)
>>>                at
>>> org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:464)
>>>                at
>> java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>                at
>>> 
>> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231)
>>>                at
>>> 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>>                at
>>> 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>>                ... 1 more
>>> Caused by: org.apache.solr.common.SolrException: Error opening new
>> searcher
>>>                at
>>> org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1696)
>>>                at
>>> org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1807)
>>>                at
>>> org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:914)
>>>                at
>> org.apache.solr.core.SolrCore.<init>(SolrCore.java:793)
>>>                ... 10 more
>>> Caused by: java.nio.file.NoSuchFileException:
>>> /solr-m/server/solr/sitecore_contents_index_rebuild/data/index/_6lps.si
>>>                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.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
>>>                at
>> java.nio.channels.FileChannel.open(FileChannel.java:287)
>>>                at
>> java.nio.channels.FileChannel.open(FileChannel.java:335)
>>>                at
>>> org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:237)
>>>                at
>>> 
>> org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:187)
>>>                at
>>> org.apache.lucene.store.Directory.openChecksumInput(Directory.java:109)
>>>                at
>>> 
>> org.apache.lucene.codecs.lucene50.Lucene50SegmentInfoFormat.read(Lucene50SegmentInfoFormat.java:82)
>>>                at
>>> org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:362)
>>>                at
>>> 
>> org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:171)
>>>                at
>>> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:949)
>>>                at
>>> org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:78)
>>>                at
>>> org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:65)
>>>                at
>>> 
>> org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:237)
>>>                at
>>> 
>> org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:111)
>>>                at
>>> org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1657)
>>>                ... 13 more
>>> 
>>> Please help to resolve this issue.
>>> 
>>> Thanks & Regards,
>>> Akreeti Agarwal
>>> (M) +91-8318686601
>>> 
>>> ::DISCLAIMER::
>>> 
>>> 
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>> The contents of this e-mail and any attachment(s) are confidential and
>>> intended for the named recipient(s) only. E-mail transmission is not
>>> guaranteed to be secure or error-free as information could be
>> intercepted,
>>> corrupted, lost, destroyed, arrive late or incomplete, or may contain
>>> viruses in transmission. The e mail and its contents (with or without
>>> referred errors) shall therefore not attach any liability on the
>> originator
>>> or HCL or its affiliates. Views or opinions, if any, presented in this
>>> email are solely those of the author and may not necessarily reflect the
>>> views or opinions of HCL or its affiliates. Any form of reproduction,
>>> dissemination, copying, disclosure, modification, distribution and / or
>>> publication of this message without the prior written consent of
>> authorized
>>> representative of HCL is strictly prohibited. If you have received this
>>> email in error please delete it and notify the sender immediately. Before
>>> opening any email and/or attachments, please check them for viruses and
>>> other defects.
>>> 
>>> 
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>> 
>> 


Re: Solr master issue

Posted by Andrea Gazzarini <a....@sease.io>.
I bet this is the problem:

java.nio.file.NoSuchFileException: /solr-m/server/solr/sitecore_c

Do you have any idea about why Solr us not finding that datafile?

Andrea

On Wed, 21 Aug 2019, 14:41 Atita Arora, <at...@gmail.com> wrote:

> I think it would be useful to provide additional details like solr version,
> when did you start seeing the problem? Did you upgrade lately?
> Did you change anything?
>
> On Wed, Aug 21, 2019 at 2:17 PM Akreeti Agarwal <Ak...@hcl.com> wrote:
>
> > Hi,
> >
> > I am facing issue on my solr master, getting this in logs:
> >
> > 2019-08-19 22:29:55.573 ERROR (qtp59559151-101) [   ]
> o.a.s.s.HttpSolrCall
> > null:org.apache.solr.common.SolrException: SolrCore
> > 'sitecore_contents_index' is not available due to init failure: Error
> > opening new searcher
> >                 at
> > org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:1071)
> >                 at
> > org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:252)
> >                 at
> > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:414)
> >                 at
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
> >                 at
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
> >                 at
> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
> >                 at
> >
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
> >                 at
> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> >                 at
> >
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
> >                 at
> >
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
> >                 at
> >
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
> >                 at
> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
> >                 at
> >
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> >                 at
> >
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
> >                 at
> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> >                 at
> >
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
> >                 at
> >
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
> >                 at
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> >                 at
> org.eclipse.jetty.server.Server.handle(Server.java:499)
> >                 at
> > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
> >                 at
> >
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
> >                 at org.eclipse.jetty.io
> > .AbstractConnection$2.run(AbstractConnection.java:540)
> >                 at
> >
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
> >                 at
> >
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
> >                 at java.lang.Thread.run(Thread.java:748)
> > Caused by: org.apache.solr.common.SolrException: Error opening new
> searcher
> >                 at
> org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
> >                 at
> org.apache.solr.core.SolrCore.<init>(SolrCore.java:658)
> >                 at
> > org.apache.solr.core.CoreContainer.create(CoreContainer.java:820)
> >                 at
> > org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:90)
> >                 at
> > org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:473)
> >                 at
> > org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:464)
> >                 at
> java.util.concurrent.FutureTask.run(FutureTask.java:266)
> >                 at
> >
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231)
> >                 at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> >                 at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> >                 ... 1 more
> > Caused by: org.apache.solr.common.SolrException: Error opening new
> searcher
> >                 at
> > org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1696)
> >                 at
> > org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1807)
> >                 at
> > org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:914)
> >                 at
> org.apache.solr.core.SolrCore.<init>(SolrCore.java:793)
> >                 ... 10 more
> > Caused by: java.nio.file.NoSuchFileException:
> > /solr-m/server/solr/sitecore_contents_index_rebuild/data/index/_6lps.si
> >                 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.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
> >                 at
> java.nio.channels.FileChannel.open(FileChannel.java:287)
> >                 at
> java.nio.channels.FileChannel.open(FileChannel.java:335)
> >                 at
> > org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:237)
> >                 at
> >
> org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:187)
> >                 at
> > org.apache.lucene.store.Directory.openChecksumInput(Directory.java:109)
> >                 at
> >
> org.apache.lucene.codecs.lucene50.Lucene50SegmentInfoFormat.read(Lucene50SegmentInfoFormat.java:82)
> >                 at
> > org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:362)
> >                 at
> >
> org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:171)
> >                 at
> > org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:949)
> >                 at
> > org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:78)
> >                 at
> > org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:65)
> >                 at
> >
> org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:237)
> >                 at
> >
> org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:111)
> >                 at
> > org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1657)
> >                 ... 13 more
> >
> > Please help to resolve this issue.
> >
> > Thanks & Regards,
> > Akreeti Agarwal
> > (M) +91-8318686601
> >
> > ::DISCLAIMER::
> >
> >
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> > The contents of this e-mail and any attachment(s) are confidential and
> > intended for the named recipient(s) only. E-mail transmission is not
> > guaranteed to be secure or error-free as information could be
> intercepted,
> > corrupted, lost, destroyed, arrive late or incomplete, or may contain
> > viruses in transmission. The e mail and its contents (with or without
> > referred errors) shall therefore not attach any liability on the
> originator
> > or HCL or its affiliates. Views or opinions, if any, presented in this
> > email are solely those of the author and may not necessarily reflect the
> > views or opinions of HCL or its affiliates. Any form of reproduction,
> > dissemination, copying, disclosure, modification, distribution and / or
> > publication of this message without the prior written consent of
> authorized
> > representative of HCL is strictly prohibited. If you have received this
> > email in error please delete it and notify the sender immediately. Before
> > opening any email and/or attachments, please check them for viruses and
> > other defects.
> >
> >
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
>

Re: Solr master issue

Posted by Atita Arora <at...@gmail.com>.
I think it would be useful to provide additional details like solr version,
when did you start seeing the problem? Did you upgrade lately?
Did you change anything?

On Wed, Aug 21, 2019 at 2:17 PM Akreeti Agarwal <Ak...@hcl.com> wrote:

> Hi,
>
> I am facing issue on my solr master, getting this in logs:
>
> 2019-08-19 22:29:55.573 ERROR (qtp59559151-101) [   ] o.a.s.s.HttpSolrCall
> null:org.apache.solr.common.SolrException: SolrCore
> 'sitecore_contents_index' is not available due to init failure: Error
> opening new searcher
>                 at
> org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:1071)
>                 at
> org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:252)
>                 at
> org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:414)
>                 at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
>                 at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
>                 at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
>                 at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
>                 at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>                 at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
>                 at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>                 at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>                 at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>                 at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>                 at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>                 at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>                 at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
>                 at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
>                 at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>                 at org.eclipse.jetty.server.Server.handle(Server.java:499)
>                 at
> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
>                 at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
>                 at org.eclipse.jetty.io
> .AbstractConnection$2.run(AbstractConnection.java:540)
>                 at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>                 at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>                 at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.solr.common.SolrException: Error opening new searcher
>                 at org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
>                 at org.apache.solr.core.SolrCore.<init>(SolrCore.java:658)
>                 at
> org.apache.solr.core.CoreContainer.create(CoreContainer.java:820)
>                 at
> org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:90)
>                 at
> org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:473)
>                 at
> org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:464)
>                 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>                 at
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231)
>                 at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>                 ... 1 more
> Caused by: org.apache.solr.common.SolrException: Error opening new searcher
>                 at
> org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1696)
>                 at
> org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1807)
>                 at
> org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:914)
>                 at org.apache.solr.core.SolrCore.<init>(SolrCore.java:793)
>                 ... 10 more
> Caused by: java.nio.file.NoSuchFileException:
> /solr-m/server/solr/sitecore_contents_index_rebuild/data/index/_6lps.si
>                 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.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
>                 at java.nio.channels.FileChannel.open(FileChannel.java:287)
>                 at java.nio.channels.FileChannel.open(FileChannel.java:335)
>                 at
> org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:237)
>                 at
> org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:187)
>                 at
> org.apache.lucene.store.Directory.openChecksumInput(Directory.java:109)
>                 at
> org.apache.lucene.codecs.lucene50.Lucene50SegmentInfoFormat.read(Lucene50SegmentInfoFormat.java:82)
>                 at
> org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:362)
>                 at
> org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:171)
>                 at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:949)
>                 at
> org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:78)
>                 at
> org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:65)
>                 at
> org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:237)
>                 at
> org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:111)
>                 at
> org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1657)
>                 ... 13 more
>
> Please help to resolve this issue.
>
> Thanks & Regards,
> Akreeti Agarwal
> (M) +91-8318686601
>
> ::DISCLAIMER::
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. E-mail transmission is not
> guaranteed to be secure or error-free as information could be intercepted,
> corrupted, lost, destroyed, arrive late or incomplete, or may contain
> viruses in transmission. The e mail and its contents (with or without
> referred errors) shall therefore not attach any liability on the originator
> or HCL or its affiliates. Views or opinions, if any, presented in this
> email are solely those of the author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification, distribution and / or
> publication of this message without the prior written consent of authorized
> representative of HCL is strictly prohibited. If you have received this
> email in error please delete it and notify the sender immediately. Before
> opening any email and/or attachments, please check them for viruses and
> other defects.
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>

RE: Solr master issue

Posted by Akreeti Agarwal <Ak...@hcl.com>.
SOLR version is : solr-5.5.5

Thanks & Regards,
Akreeti Agarwal


-----Original Message-----
From: Akreeti Agarwal <Ak...@hcl.com> 
Sent: Wednesday, August 21, 2019 5:47 PM
To: solr-user@lucene.apache.org
Subject: Solr master issue

Hi,

I am facing issue on my solr master, getting this in logs:

2019-08-19 22:29:55.573 ERROR (qtp59559151-101) [   ] o.a.s.s.HttpSolrCall null:org.apache.solr.common.SolrException: SolrCore 'sitecore_contents_index' is not available due to init failure: Error opening new searcher
                at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:1071)
                at org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:252)
                at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:414)
                at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
                at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
                at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
                at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
                at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
                at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
                at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
                at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
                at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
                at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
                at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
                at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
                at org.eclipse.jetty.server.Server.handle(Server.java:499)
                at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
                at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
                at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
                at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
                at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
                at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
                at org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
                at org.apache.solr.core.SolrCore.<init>(SolrCore.java:658)
                at org.apache.solr.core.CoreContainer.create(CoreContainer.java:820)
                at org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:90)
                at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:473)
                at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:464)
                at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                ... 1 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
                at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1696)
                at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1807)
                at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:914)
                at org.apache.solr.core.SolrCore.<init>(SolrCore.java:793)
                ... 10 more
Caused by: java.nio.file.NoSuchFileException: /solr-m/server/solr/sitecore_contents_index_rebuild/data/index/_6lps.si
                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.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
                at java.nio.channels.FileChannel.open(FileChannel.java:287)
                at java.nio.channels.FileChannel.open(FileChannel.java:335)
                at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:237)
                at org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:187)
                at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:109)
                at org.apache.lucene.codecs.lucene50.Lucene50SegmentInfoFormat.read(Lucene50SegmentInfoFormat.java:82)
                at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:362)
                at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:171)
                at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:949)
                at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:78)
                at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:65)
                at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:237)
                at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:111)
                at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1657)
                ... 13 more

Please help to resolve this issue.

Thanks & Regards,
Akreeti Agarwal

::DISCLAIMER::
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------