У сервера Solr есть ошибки инициализации - PullRequest
0 голосов
/ 26 марта 2020

TYPO3 9.5.14
EXT: solr 10.0.1
solr status:

Found 1 Solr nodes: 

Solr process 1614 running on port 8983
{
  "solr_home":"/home/myhome/bin/solr/solr-8.4.1/server/solr",
  "version":"8.2.0 31d7ec7bbfdcd2c4cc61d9d35e962165410b65fe - ivera - 2019-07-19 15:11:04",
  "startTime":"2020-03-26T10:24:12.028Z",
  "uptime":"0 days, 0 hours, 15 minutes, 1 seconds",
  "memory":"53.5 MB (%10.4) of 512 MB"}

, но множество ошибок в панели администратора:

SolrCore Initialization Failures

    core_ar: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: JVM Error creating core [core_ar]: Could not initialize class org.apache.lucene.codecs.PostingsFormat$Holder
  :
creating core [core_es]: Could not initialize class org.apache.lucene.codecs.PostingsFormat$Holder
    core_eu: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: JVM Error creating core [core_eu]: 'void org.apache.lucene.search.suggest.document.CompletionPostingsFormat.<init>(java.lang.String, org.apache.lucene.search.suggest.document.CompletionPostingsFormat$FSTLoadMode)'
core_fa: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: JVM Error creating core [core_fa]: Could not initialize class org.apache.lucene.codecs.PostingsFormat$Holder
  :
core_zh: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: JVM Error creating core [core_zh]: Could not initialize class org.apache.lucene.codecs.PostingsFormat$Holder

и журнал полон:

Time (Local)    Level        Core Logger          Message
...             ERROR false       CoreContainer   Error waiting for SolrCore to be loaded on startup

Я скопировал
EXT:solr/Resources/Private/Solr/* в
/home/myhome/bin/solr/solr-8.4.1/server/solr/, поэтому он выглядит так:

   :
   server/
      :
      +-configsets/
      |  +-ext_solr_10_0_0/
      |     +-conf/
      |     |  +-arabic/
      :     :  :  
      |     |  +-velocity/
      |     |  +-_schema_analysis_stopwords_arabic.json
      :     :  :  
      |     |  +-solrconfig.xml
      |     +-typolib/
      |        +-solr-typo2-plugin-4.0.0.jar
      +-cores/
      |  +-arabics/
      :  :
      |  +-ukrainian/
      |  +-README.txt
      |  +-solr.xml
      |  +-zoo.cfg
      :

Нужна дополнительная информация?


РЕДАКТИРОВАТЬ:

Тем временем я изменил:
Я удалил все ненужные определения ядра. поэтому папка server содержит только одну подпапку german

, при этом сообщение об ошибке в админ-панели сервера solr изменено на:

core_de: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
JVM Error creating core [core_de]: 
'void org.apache.lucene.search.suggest.document.CompletionPostingsFormat.<init>
(java.lang.String, org.apache.lucene.search.suggest.document.CompletionPostingsFormat$FSTLoadMode)'

в журнале есть :

:
2020-03-30 09:47:26.851 INFO  (main) [   ] o.e.j.s.Server Started @3359ms
2020-03-30 09:47:26.868 ERROR (coreContainerWorkExecutor-2-thread-1) [   ] o.a.s.c.CoreContainer Error waiting for SolrCore to be loaded on startup => java.lang.NoSuchMethodError: 'void org.apache.lucene.search.suggest.document.CompletionPostingsFormat.<init>(java.lang.String, org.apache.lucene.search.suggest.document.CompletionPostingsFormat$FSTLoadMode)'
    at org.apache.lucene.search.suggest.document.Completion84PostingsFormat.<init>(Completion84PostingsFormat.java:42)
java.lang.NoSuchMethodError: 'void org.apache.lucene.search.suggest.document.CompletionPostingsFormat.<init>(java.lang.String, org.apache.lucene.search.suggest.document.CompletionPostingsFormat$FSTLoadMode)'
    at org.apache.lucene.search.suggest.document.Completion84PostingsFormat.<init>(Completion84PostingsFormat.java:42) ~[?:?]
    at org.apache.lucene.search.suggest.document.Completion84PostingsFormat.<init>(Completion84PostingsFormat.java:33) ~[?:?]
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
    at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
    at java.lang.Class.newInstance(Class.java:584) ~[?:?]
    at org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:72) ~[?:?]
    at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:51) ~[?:?]
    at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:38) ~[?:?]
    at org.apache.lucene.codecs.PostingsFormat$Holder.<clinit>(PostingsFormat.java:49) ~[?:?]
    at org.apache.lucene.codecs.PostingsFormat.reloadPostingsFormats(PostingsFormat.java:132) ~[?:?]
    at org.apache.solr.core.SolrResourceLoader.reloadLuceneSPI(SolrResourceLoader.java:238) ~[?:?]
    at org.apache.solr.core.SolrConfig.initLibs(SolrConfig.java:826) ~[?:?]
    at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:207) ~[?:?]
    at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:181) ~[?:?]
    at org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:108) ~[?:?]
    at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:90) ~[?:?]
    at org.apache.solr.core.CoreContainer.getConfigSet(CoreContainer.java:1294) ~[?:?]
    at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1241) ~[?:?]
    at org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:756) ~[?:?]
    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:202) ~[metrics-core-4.0.5.jar:4.0.5]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
    at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
    at java.lang.Thread.run(Thread.java:834) [?:?]
...