cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hybris 6.5 upgradation | Solr Issue | Max number of retries in total has been reached

Former Member
0 Likes
1,650

Hello Everyone ,

I was working on Hybris 6.4 to 6.5 upgrade , Build was successful and server also started with no Issue but while doing indexing i am seeing below exception. Could someone help on this to find the root cause . INFO [update-lscob2bpbIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-lscob2bpbIndex-cronJob) [SolrIndexerJob] Started indexer cronjob. INFO [update-lscob2bpbIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-lscob2bpbIndex-cronJob) [SolrIndexerJob] Finished indexer cronjob. INFO [full-lscob2bIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (full-lscob2bIndex-cronJob) [SolrIndexerJob] Started indexer cronjob. WARN [full-lscob2bIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (full-lscob2bIndex-cronJob) [SolrIndexerJob] Error during indexer call: lscob2bIndex de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: 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.doExecute(DefaultIndexerStrategy.java:97) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy.doExecute(AbstractIndexerStrategy.java:165) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy.execute(AbstractIndexerStrategy.java:124) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerService.performFullIndex(DefaultIndexerService.java:68) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.cron.SolrIndexerJob.indexItems(SolrIndexerJob.java:78) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.cron.SolrIndexerJob.performIndexingJob(SolrIndexerJob.java:57) [solrfacetsearchserver.jar:?] at de.hybris.platform.multicountry.solr.indexer.cron.impl.MulticountrySolrIndexerJob.performIndexingJob(MulticountrySolrIndexerJob.java:72) [classes/:?] at de.hybris.platform.solrfacetsearch.indexer.cron.AbstractIndexerJob.perform(AbstractIndexerJob.java:40) [solrfacetsearchserver.jar:?] at de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:38) [processingserver.jar:?] at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1390) [processingserver.jar:?] at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:814) [processingserver.jar:?] at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:767) [processingserver.jar:?] at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:686) [processingserver.jar:?] at de.hybris.platform.util.threadpool.PoolableThread.internalRun(PoolableThread.java:208) [coreserver.jar:?] at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:135) [coreserver.jar:?] 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:153) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy.doExecute(DefaultIndexerStrategy.java:93) ~[solrfacetsearchserver.jar:?] ... 14 more Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Unable to unregister thread with [id=510 name=solr indexer thread]. Is not present in thread registry at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_162] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_162] at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy.runWorkers(DefaultIndexerStrategy.java:140) ~[solrfacetsearchserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategy.doExecute(DefaultIndexerStrategy.java:93) ~[solrfacetsearchserver.jar:?] ... 14 more Caused by: java.lang.IllegalStateException: Unable to unregister thread with [id=510 name=solr indexer thread]. Is not present in thread registry at com.google.common.base.Preconditions.checkState(Preconditions.java:721) ~[guava-21.0.jar:?] at de.hybris.platform.core.threadregistry.ThreadRegistry.unregister(ThreadRegistry.java:94) ~[coreserver.jar:?] at de.hybris.platform.core.threadregistry.RegistrableThread.unregisterThread(RegistrableThread.java:125) ~[coreserver.jar:?] at de.hybris.platform.core.threadregistry.RegistrableThread.unregisterThread(RegistrableThread.java:118) ~[coreserver.jar:?] at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.run(DefaultIndexerWorker.java:174) ~[solrfacetsearchserver.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_162] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_162] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_162] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_162] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_162] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_162][link text][1] at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_162]

[1]: /storage/temp/11533-solr-log-from-localhost.txt

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member645853
Participant
0 Likes

In my case new language was which I had added, wasn't added to solr config ( ...\hybris\config\solr\instances\default\configsets\default\conf);