Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
7.0
-
None
-
None
Description
Reproduced a user problem from the mailing list.
Steps:
- Start Solr 6.6.0 from an extracted download with "bin/solr start"
- Create a core: "bin/solr create -c foo"
- Add documents with the admin UI
- Stop Solr
- Copy solr-6.6.0/server/solr/foo to solr-7.0.0/server/solr in extracted Solr 7.0 download
- Start Solr 7.0 with "bin/solr start"
(I was on Windows, so I used backslashes everywhere these steps have forward slashes)
Solr will be unable to start the core. Error and stacktrace:
2017-09-27 15:13:30.050 ERROR (coreContainerWorkExecutor-2-thread-1) [ ] o.a.s.c.CoreContainer Error waiting for SolrCore to be created java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [foo] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.solr.core.CoreContainer.lambda$load$118(CoreContainer.java:647) at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$128(ExecutorUtil.java:188) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.solr.common.SolrException: Unable to create core [foo] at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:996) at org.apache.solr.core.CoreContainer.lambda$load$117(CoreContainer.java:619) at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197) ... 5 more Caused by: org.apache.solr.common.SolrException: Error opening new searcher at org.apache.solr.core.SolrCore.<init>(SolrCore.java:988) at org.apache.solr.core.SolrCore.<init>(SolrCore.java:843) at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:980) ... 7 more Caused by: org.apache.solr.common.SolrException: Error opening new searcher at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2066) at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2186) at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1071) at org.apache.solr.core.SolrCore.<init>(SolrCore.java:960) ... 9 more Caused by: java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.util.Optional.<init>(Optional.java:96) at java.util.Optional.of(Optional.java:108) at java.util.stream.ReduceOps$2ReducingSink.get(ReduceOps.java:129) at java.util.stream.ReduceOps$2ReducingSink.get(ReduceOps.java:107) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479) at org.apache.solr.index.SlowCompositeReaderWrapper.<init>(SlowCompositeReaderWrapper.java:76) at org.apache.solr.index.SlowCompositeReaderWrapper.wrap(SlowCompositeReaderWrapper.java:57) at org.apache.solr.search.SolrIndexSearcher.<init>(SolrIndexSearcher.java:252) at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2034) ... 12 more
Attachments
Attachments
Issue Links
- duplicates
-
SOLR-8930 Solve the 6.0->7.0 index compatibility issue
-
- Resolved
-
- is broken by
-
LUCENE-7756 Only record the major that was used to create the index rather than the full version
-
- Resolved
-
- is related to
-
SOLR-5970 Create collection API always has status 0
-
- Resolved
-