Try Solr 4.5.1. https://issues.apache.org/jira/browse/SOLR-5306 Extra collection creation parameters like collection.configName are not being respected.
- Mark On Nov 13, 2013, at 2:24 PM, Christopher Gross <cogr...@gmail.com> wrote: > Running Apache Solr 4.5 on Tomcat 7.0.29, Java 1.6_30. 3 SolrCloud nodes > running. 5 ZK nodes (v 3.4.5), one on each SolrCloud server, and on 2 > other servers. > > I want to create a collection on all 3 nodes. I only need 1 shard. The > config is in Zookeeper (another collection is using it) > > http://solrserver:8080/solr/admin/collections?action=CREATE&name=newtest&numShards=1&replicationFactor=3&collection.configName=test > > I get this error (3 times, though for a different replica #) > org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error > CREATEing SolrCore 'newtest_shard1_replica2': Unable to create core: > newtest_shard1_replica2 > > The SolrCloud Admin logs give this as the root error: > > Caused by: org.apache.solr.common.cloud.ZooKeeperException: Specified > config does not exist in ZooKeeper:newtest > > You can see from my call that I don't want it to be called "test" (already > have one) but I want to make a new instance of the "test" collection. > > This seems pretty straightforward -- what am I missing? Did the > parameters change and the wiki not get updated? > [ > http://wiki.apache.org/solr/SolrCloud#Managing_collections_via_the_Collections_API > ] > > Thanks. > > -- Chris