Hi; Could you check here: http://lucene.472066.n3.nabble.com/Error-when-creating-collection-in-Solr-4-6-td4103536.html
Thanks; Furkan KAMACI 2014-03-07 9:44 GMT+02:00 Vineet Mishra <clearmido...@gmail.com>: > Hi > > I am installing SolrCloud with 3 External > Zookeeper(localhost:2181,localhost:2182,localhost:2183) and 2 > Tomcats(localhost:8181,localhost:8182) all available on a single > Machine(Just for getting started). > By Following these links > > http://myjeeva.com/solrcloud-cluster-single-collection-deployment.html > http://wiki.apache.org/solr/SolrCloudTomcat > > I have got the Solr UI on the machine pointing to > > http://localhost:8181/solr/#/~cloud > > In the Cloud Graph View it is coming with > > mycollection > | > |_ shard1 > |_ shard2 > > But both the shards are empty and showing no cores or replica. > > Following > http://myjeeva.com/solrcloud-cluster-single-collection-deployment.htmlblog > , > I have been successful till starting tomcat, > since after the section "Creating Collection, Shard(s), Replica(s) in > SolrCloud" I am facing the problem. > > Giving command to create replica for the shard using > > *curl > ' > http://localhost:8181/solr/admin/cores?action=CREATE&name=shard1-replica-2&collection=mycollection&shard=shard1 > < > http://localhost:8181/solr/admin/cores?action=CREATE&name=shard1-replica-2&collection=mycollection&shard=shard1 > >'* > > it is giving error > > <response> > <lst name="responseHeader"><int name="status">400</int><int > name="QTime">137</int></lst><lst name="error"><str name="msg"> > *Error CREATEing SolrCore 'shard1-replica-2': > 192.168.2.183:8182_solr_shard1-replica-2 is removed* > </str><int name="code">400</int></lst> > </response> > > Has anybody went through this issue? > > Regards >