SAP Knowledge Base Article - Preview

3477016 - Solr collection cannot be loaded with tokenizer related UnsupportedOperationException

Symptom

Solr pod is up and running but solr collection cannot be served, below error can be observed in solr log, meanwhile the error cannot be resolved with pod restart.

Error waiting for SolrCore to be loaded on startup => java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Could not load conf for core master_electronics_Product_default_shard1_replica_n1: null

java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Could not load conf for core master_electronics_Product_default_shard1_replica_n1: null
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
    at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
    at org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:1044) ~[?:?]
    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:212) ~[metrics-core-4.2.17.jar:4.2.17]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
    at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:289) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
    at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: org.apache.solr.common.SolrException: Could not load conf for core master_electronics_Product_default_shard1_replica_n1: null
    at org.apache.solr.core.ConfigSetService.loadConfigSet(ConfigSetService.java:263) ~[?:?]
    at org.apache.solr.core.CoreContainer.isSharedFs(CoreContainer.java:1712) ~[?:?]
    at org.apache.solr.cloud.CloudUtil.checkSharedFSFailoverReplaced(CloudUtil.java:60) ~[?:?]
    at org.apache.solr.cloud.ZkController.throwErrorIfReplicaReplaced(ZkController.java:2545) ~[?:?]
    at org.apache.solr.core.CoreContainer.lambda$load$12(CoreContainer.java:1012) ~[?:?]
    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:234) ~[metrics-core-4.2.17.jar:4.2.17]
    ... 5 more
Caused by: java.lang.UnsupportedOperationException
    at org.apache.lucene.util.fst.Outputs.merge(Outputs.java:95) ~[?:?]
    at org.apache.lucene.util.fst.FSTCompiler.add(FSTCompiler.java:564) ~[?:?]
    at org.apache.lucene.analysis.ja.dict.UserDictionary.<init>(UserDictionary.java:148) ~[?:?]
    at org.apache.lucene.analysis.ja.dict.UserDictionary.open(UserDictionary.java:76) ~[?:?]
    at org.apache.lucene.analysis.ja.JapaneseTokenizerFactory.inform(JapaneseTokenizerFactory.java:155) ~[?:?]
    at org.apache.solr.core.SolrResourceLoader.informAware(SolrResourceLoader.java:765) ~[?:?]
    at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:752) ~[?:?]
    at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:189) ~[?:?]
    at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:108) ~[?:?]
    at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:342) ~[?:?]
    at org.apache.solr.core.ConfigSetService.lambda$loadConfigSet$0(ConfigSetService.java:253) ~[?:?]
    at org.apache.solr.core.ConfigSet.<init>(ConfigSet.java:49) ~[?:?]
    at org.apache.solr.core.ConfigSetService.loadConfigSet(ConfigSetService.java:249) ~[?:?]
    at org.apache.solr.core.CoreContainer.isSharedFs(CoreContainer.java:1712) ~[?:?]
    at org.apache.solr.cloud.CloudUtil.checkSharedFSFailoverReplaced(CloudUtil.java:60) ~[?:?]
    at org.apache.solr.cloud.ZkController.throwErrorIfReplicaReplaced(ZkController.java:2545) ~[?:?]
    at org.apache.solr.core.CoreContainer.lambda$load$12(CoreContainer.java:1012) ~[?:?]
    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:234) ~[metrics-core-4.2.17.jar:4.2.17]
    ... 5 more

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Product

SAP Commerce Cloud 2211

Keywords

UnsupportedOperationException, UserDictionary, solr collection load, startup. , KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.