We have a Solr 8.11.1 on a Windows Server 2016 platform. We are using clustered 
servers. We copy the solr installation to the primary server and build our 
cores etc there. 

All changes are copied to the failover server via Windows replication.

We index our files in the solr cores. The cores can be queried from the Admin 
website on the primary server http://localhost:8983/solr and show the number of 
files that were indexed.

 

We go to the Solr admin website on the failover server and do not see any of 
the files that were indexed. We reboot the failover serverand get the error 
"Unable to load core" for all the cores that files were indexed to on the 
primary server. Cores that were not indexed are unaffected.

 

Below are two log entries related to the problem.

 

 

2022-03-29 20:54:53.735 ERROR (coreContainerWorkExecutor-2-thread-1) [   ] 
o.a.s.c.CoreContainer Error waiting for SolrCore to be loaded on startup => 
java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: 
Unable to create core [ucm_coll_php]

                at java.util.concurrent.FutureTask.report(FutureTask.java:122)

java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: 
Unable to create core [acm_coll_php]

                at java.util.concurrent.FutureTask.report(FutureTask.java:122) 
~[?:1.8.0_311]

                at java.util.concurrent.FutureTask.get(FutureTask.java:192) 
~[?:1.8.0_311]

                at 
org.apache.solr.core.CoreContainer.lambda$load$12(CoreContainer.java:902) ~[?:?]

                at 
com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:180)
 ~[metrics-core-4.1.5.jar:4.1.5]

                at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
~[?:1.8.0_311]

                at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
~[?:1.8.0_311]

                at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:218)
 ~[?:?]

                at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
~[?:1.8.0_311]

                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
~[?:1.8.0_311]

                at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_311]

Caused by: org.apache.solr.common.SolrException: Unable to create core 
[acm_coll_php]

                at 
org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1473)
 ~[?:?]

                at 
org.apache.solr.core.CoreContainer.lambda$load$11(CoreContainer.java:873) ~[?:?]

                at 
com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:202)
 ~[metrics-core-4.1.5.jar:4.1.5]

Caused by: org.apache.lucene.index.CorruptIndexException: Unexpected file read 
error while reading index. 
(resource=BufferedChecksumIndexInput(MMapIndexInput(path="D:\solr\server\solr\acm_coll_php\data\index\segments_am")))

                at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293) ~[?:?]

                at 
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1037) ~[?:?]

                at 
org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:126) ~[?:?]

                at 
org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:100) ~[?:?]

                at 
org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:261)
 ~[?:?]

                at 
org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:135)
 ~[?:?]

                at 
org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2177) ~[?:?]

                at 
org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2339) ~[?:?]

                at 
org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1145) ~[?:?]

                at org.apache.solr.core.SolrCore.<init>(SolrCore.java:1027) 
~[?:?]

                at org.apache.solr.core.SolrCore.<init>(SolrCore.java:921) 
~[?:?]

                at 
org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1452)
 ~[?:?]

                at 
org.apache.solr.core.CoreContainer.lambda$load$11(CoreContainer.java:873) ~[?:?]

                at 
com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:202)
 ~[metrics-core-4.1.5.jar:4.1.5]

                

                

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to