SAP Knowledge Base Article - Preview

3056169 - Information about SolrCloudBackupCronJob execution error in the logs on SAP Public Commerce Cloud

Symptom

On SAP Public Commerce Cloud environments there may be defined SolrCloudBackupCronJob which is scheduled to be run every day. If it is not configured properly it may fail with following error:

ERROR Caught throwable java.util.concurrent.TimeoutException: Could not connect to ZooKeeper localhost:9983 within 15000 ms
org.apache.solr.common.SolrException: java.util.concurrent.TimeoutException: Could not connect to ZooKeeper localhost:9983 within 15000 ms
 at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
 at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
 at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:117)
 at org.apache.solr.common.cloud.ZkStateReader.<init>(ZkStateReader.java:347)
 at org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider.getZkStateReader(ZkClientClusterStateProvider.java:176)
 at org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider.connect(ZkClientClusterStateProvider.java:161)
 at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.connect(BaseCloudSolrClient.java:335)
 at de.hybris.platform.cloud.solrcloudbackup.cronjob.CloudSolrClientSource.createClient(CloudSolrClientSource.java:72)
 at de.hybris.platform.cloud.solrcloudbackup.cronjob.SolrCloudBackupJob.createSolrClient(SolrCloudBackupJob.java:210)
 at de.hybris.platform.cloud.solrcloudbackup.cronjob.SolrCloudBackupJob.openClients(SolrCloudBackupJob.java:193)
 at de.hybris.platform.cloud.solrcloudbackup.cronjob.SolrCloudBackupJob.doPerform(SolrCloudBackupJob.java:116)
 at de.hybris.platform.cloud.solrcloudbackup.cronjob.SolrCloudBackupJob.perform(SolrCloudBackupJob.java:104)
 at de.hybris.platform.cloud.solrcloudbackup.cronjob.SolrCloudBackupJob.perform(SolrCloudBackupJob.java:1)
 at de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:38)
 at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1401)
 at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:812)
 at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:681)
 at de.hybris.platform.util.threadpool.PoolableThread.internalRun(PoolableThread.java:206)
 at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:131)
Caused by: java.util.concurrent.TimeoutException: Could not connect to ZooKeeper localhost:9983 within 15000 ms
 at org.apache.solr.common.cloud.ConnectionManager.waitForConnected(ConnectionManager.java:251)
 at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:194)
 ... 18 more



Read more...

Keywords

SolrCloudBackupCronJob, Premium Disaster Recovery , KBA , CEC-COM-3RD-SOLR , SOLR , Problem

About this page

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

Search for additional results

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