on 03-28-2022 7:46 AM
Hello everybody,
I tried to switch my solr configruation from standalone to solr cloud configuration as it was described here:
I changed the mode to cloud, method to post, useMasterNodeExcluseivleyForIndexing to false and both numShards and replicationFactor to 2 and received the following error message:
```create failed:org.apache.solr.common.SolrException: Underlying core creation failed while creating collection```
No collection was created
I also lowered shards and replication to 1 each and now the collection was created, but I received following error message: ```while indexing Waiting until we see more replicas up for shard shard2: total=2 found=1 timeoute in=79706ms``` and it timed out after 3 minutes.
I checked my solrconfig and also found that these three lines exist:
<restManager>
<str name="storageIO">de.hybris.platform.solr.rest.IndexAwareStorageIO</str>
<str name="collectionName">${solr.core.collection:}</str>
<str name="instanceDir">${solr.core.instanceDir}</str>
</restManager>
Actually I am out of ideas, hope you guys can help me out.
Cheers
Serdar
Error is stating "Waiting until we see more replicas up for shard shard2: total=2 found=1" this is because the when you specify replicationFactor as 2, you need 2 solr instances. Set it to 1 if you have only one solr instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.