使用 cx recipe 安装 Hybris Commerce Cloud 之后,遇到 indexer workder failed 错误

简介: 使用 cx recipe 安装 Hybris Commerce Cloud 之后,遇到 indexer workder failed 错误

这个错误导致我在 Accelerator Storefront 上无法进行产品搜索:

我确认 Solr server 已经成功启动了,监听在端口 8983 上:


重新通过 recipe 启动试试:

遇到一样的错误:

Caused by: de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: Indexer worker failed. Max number of retries in total has been reached

at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy.runWorkers(DefaultIndexerStrategy.java:145) ~[solrfacetsearchserver.jar:?]

at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy.doExecute(DefaultIndexerStrategy.java:88) ~[solrfacetsearchserver.jar:?]

… 12 more

Caused by: java.util.concurrent.ExecutionException: org.apache.solr.client.solrj.impl.HttpSolrClientR e m o t e S o l r E x c e p t i o n : E r r o r f r o m s e r v e r a t h t t p s : / / l o c a l h o s t : 8983 / s o l r : S o l r C o r e ′ m a s t e r p o w e r t o o l s P r o d u c t d e f a u l t ′ i s n o t a v a i l a b l e d u e t o i n i t f a i l u r e : F a i l e d t o c r e a t e n e w M a n a g e d R e s o u r c e / s c h e m a / a n a l y s i s / s y n o n y m s / e n o f t y p e o r g . a p a c h e . s o l r . r e s t . s c h e m a . a n a l y s i s . M a n a g e d S y n o n y m G r a p h F i l t e r F a c t o r y RemoteSolrException: Error from server at https://localhost:8983/solr: SolrCore 'master_powertools_Product_default' is not available due to init failure: Failed to create new ManagedResource /schema/analysis/synonyms/en of type org.apache.solr.rest.schema.analysis.ManagedSynonymGraphFilterFactoryRemoteSolrException:Errorfromserverathttps://localhost:8983/solr:SolrCore

master

p

owertools

P

roduct

d

efault

isnotavailableduetoinitfailure:FailedtocreatenewManagedResource/schema/analysis/synonyms/enoftypeorg.apache.solr.rest.schema.analysis.ManagedSynonymGraphFilterFactorySynonymManager due to: org.noggit.JSONParser$ParseException: JSON Parse Error: char=


Caused by: java.util.concurrent.ExecutionException: org.apache.solr.client.solrj.impl.HttpSolrClientR e m o t e S o l r E x c e p t i o n : E r r o r f r o m s e r v e r a t h t t p s : / / l o c a l h o s t : 8983 / s o l r : S o l r C o r e ′ m a s t e r p o w e r t o o l s P r o d u c t d e f a u l t ′ i s n o t a v a i l a b l e d u e t o i n i t f a i l u r e : F a i l e d t o c r e a t e n e w M a n a g e d R e s o u r c e / s c h e m a / a n a l y s i s / s y n o n y m s / e n o f t y p e o r g . a p a c h e . s o l r . r e s t . s c h e m a . a n a l y s i s . M a n a g e d S y n o n y m G r a p h F i l t e r F a c t o r y RemoteSolrException: Error from server at https://localhost:8983/solr: SolrCore 'master_powertools_Product_default' is not available due to init failure: Failed to create new ManagedResource /schema/analysis/synonyms/en of type org.apache.solr.rest.schema.analysis.ManagedSynonymGraphFilterFactoryRemoteSolrException:Errorfromserverathttps://localhost:8983/solr:SolrCore

master

p

owertools

P

roduct

d

efault

isnotavailableduetoinitfailure:FailedtocreatenewManagedResource/schema/analysis/synonyms/enoftypeorg.apache.solr.rest.schema.analysis.ManagedSynonymGraphFilterFactorySynonymManager due to: org.noggit.JSONParser$ParseException: JSON Parse Error: char=

INFO [update-apparel-ukIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-apparel-ukIndex-cronJob) [SolrIndexerJob] Started indexer cronjob.

INFO [update-apparel-ukIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-apparel-ukIndex-cronJob) [SolrIndexerJob] Finished indexer cronjob.

INFO [update-electronicsIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-electronicsIndex-cronJob) [SolrIndexerJob] Started indexer cronjob.

INFO [update-apparel-deIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-apparel-deIndex-cronJob) [SolrIndexerJob] Started indexer cronjob.

INFO [update-apparel-deIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-apparel-deIndex-cronJob) [SolrIndexerJob] Finished indexer cronjob.

INFO [update-powertoolsIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-powertoolsIndex-cronJob) [SolrIndexerJob] Started indexer cronjob.

INFO [update-backofficeIndex-CronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-backofficeIndex-CronJob) [SolrIndexerJob] Started indexer cronjob.

INFO [update-backofficeIndex-CronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-backofficeIndex-CronJob) [AbstractIndexerStrategy] No active index found, FULL indexer operation must be performed before any other operation


https://answers.sap.com/questions/12767469/solr-issue.html

解决方案

到 Backoffice 去:

(System > Search and Navigation > Facet Search Configurations).

做一次类型为 full 的 indexing:

看到 Indexing finished successfully 消息后:

就可以搜索产品并进行下单了:

相关文章
|
10月前
|
测试技术
什么是 SAP ABAP Cross Customizing Client
什么是 SAP ABAP Cross Customizing Client
|
11月前
|
自然语言处理 供应链 搜索推荐
SAP Commerce Cloud SolrIndexNotFoundException 异常 - 做 full indexing 的详细位置
SAP Commerce Cloud SolrIndexNotFoundException 异常 - 做 full indexing 的详细位置
|
存储 Cloud Native NoSQL
【Paper Reading】Cloud-Native Transactions and Analytics in SingleStore
HTAP & 云原生是如今数据库技术演进的两大热点方向。HTAP 代表既有传统的 HANA Delta RowStore+Main ColumnStore,Oracle In-MemoryColumnStore 等方案,也有像 TiDB,Snowflake Unistore这样新的技术架构;云原生代表则是以 S3 为低成本主存的 Snowflake,Redshift RA3,提供灵活弹性和Serverless 能力。SingleStore 则是首次把两者结合起来,基于计算存储分离的云原生架构,用一份存储提供低成本高性能的 HTAP 能力。
【Paper Reading】Cloud-Native Transactions and Analytics in SingleStore
|
12月前
|
前端开发 Java 数据库
SAP Hybris recipe 为 cx 的安装和初始化
SAP Hybris recipe 为 cx 的安装和初始化
|
数据安全/隐私保护
导入 Walle 时报:ERROR: A problem occurred configuring project ':app'.
导入 Walle 时报:ERROR: A problem occurred configuring project ':app'.
导入 Walle 时报:ERROR: A problem occurred configuring project ':app'.
|
安全
使用 cx recipe 安装 Hybris Commerce Cloud 之后,遇到 indexer workder failed 错误
使用 cx recipe 安装 Hybris Commerce Cloud 之后,遇到 indexer workder failed 错误
106 0
使用 cx recipe 安装 Hybris Commerce Cloud 之后,遇到 indexer workder failed 错误
|
Linux 开发工具 C#
Tencent Cloud Code Analysis介绍及安装部署
Tencent Cloud Code Analysis介绍及安装部署
1039 0
Tencent Cloud Code Analysis介绍及安装部署
|
Java Maven 数据库
SAP Hybris(Commerce)安装recipe包含的三个任务,setup, initialize和start
SAP Hybris(Commerce)安装recipe包含的三个任务,setup, initialize和start
143 0
SAP Hybris(Commerce)安装recipe包含的三个任务,setup, initialize和start
Launchpad services provided in HANA XS in multitenant
Launchpad services provided in HANA XS in multitenant
105 0
Launchpad services provided in HANA XS in multitenant