Gonzalo, Thanks for responding, executed the parameters you suggested, it still shows me the same error. Sincerely, darshan
On Wed, Sep 7, 2016 at 1:13 PM, Gonzalo Rodriguez < grodrig...@searchtechnologies.com> wrote: > Hi Darshan, > > It looks like you are listing the instanceDir's name twice in the create > collection command, it should be > > $ solrctl --zk host:2181/solr --solr host:8983/solr/ collection --create > Catalog_search_index -s 10 -c Catalog_search_index > > Without the extra ". Catalog_search_index" at the end. Also, because your > new collection's name is the same as the instanceDir's, you could just omit > that parameter and it should work ok. > > Try that and see if it works. > > Good luck, > Gonzalo > > -----Original Message----- > From: Darshan Pandya [mailto:darshanpan...@gmail.com] > Sent: Wednesday, September 7, 2016 12:02 PM > To: solr-user@lucene.apache.org > Subject: newbie question > > hello, > > I am using solr cloud with cloudera. When I try to create a collection, it > fails with the following error. > Any hints / answers will be helpful. > > > $ solrctl --zk host:2181/solr instancedir --list > > Catalog_search_index > > $ solrctl --zk shot:2181/solr --solr host:8983/solr/ collection --create > Catalog_search_index -s 10 -c Catalog_search_index.Catalog_search_index > > Error: A call to SolrCloud WEB APIs failed: HTTP/1.1 200 OK > > Server: Apache-Coyote/1.1 > > Content-Type: application/xml;charset=UTF-8 > > Transfer-Encoding: chunked > > Date: Wed, 07 Sep 2016 17:58:13 GMT > > > <?xml version="1.0" encoding="UTF-8"?> > > > <response> > > > <lst name="responseHeader"> > > <int name="status"> > > 0</int> > > <int name="QTime"> > > 1165</int> > > </lst> > > <lst name="failure"> > > <str> > > org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error > CREATEing SolrCore 'Catalog_search_index_shard1_replica1': Unable to > create core [Catalog_search_index_shard1_replica1] Caused by: Specified > config does not exist in ZooKeeper:Catalog_search_ > index.dataCatalog_search_index</str> > > > -- > Sincerely, > Darshan > -- Sincerely, Darshan