lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esther-Melaine Quansah <>
Subject Re: Getting "collection already exists" when creating collection in admin UI
Date Fri, 12 Aug 2016 14:45:55 GMT
Hi Alexandre,

The question here is why the create action is called twice. You’re getting that “collection
already exists” error after the second action is called. Can you verify if MyNewNode exists
in /collections in ZK or on the machines running Solr at $SOLR_HOME/server/solr/
Your logs show a lot of issues around the overseer and it looks like those nodes are going
into recovery pretty frequently. Can you replicate this issue by creating a collection through
the API (not through the UI): 



> On Aug 12, 2016, at 10:05 AM, Alexandre Drouin <>
> Hello,
> I am running SolrCloud with 2 nodes (Solr 6.1 with SSL and basic auth) and with one Zookeeper
node (for development purposes) and when I try to create a new collection in the admin UI
with 'replicationFactor=2' I get a  "Connection to Solr lost" message and another message
telling me " collection already exists: MyNewNode".  I made sure that a collection with the
same name does not exists and the issue does not appear with a replication factor of 1.  
> While debugging I saw that the create action is called twice with the following parameters:
> Can anyone replicate this issue?  I have not found it in JIRA.
> Below is the relevant log (if useful) and I posted the full logs here
> 63549 ERROR (OverseerThreadFactory-5-thread-5-processing-n:orc-dev-solr-cd.local:8444_solr)
[   ] o.a.s.c.OverseerCollectionMessageHandler Collection: MyNewNode operation: create failed:org.apache.solr.common.SolrException:
collection already exists: MyNewNode
> 	at
> 	at
> 	at$
> 	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$22(
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(
> 	at java.util.concurrent.ThreadPoolExecutor$
> 	at
> Thanks,
> Alexandre Drouin

View raw message