Created on 01-30-2015 04:01 AM - edited 09-16-2022 02:20 AM
I was using following steps to create solr collection:
But nowadays I am getting error:
"Warning: Non-SolrCloud mode has been completely deprecated
Please configure SolrCloud via SOLR_ZK_ENSEMBLE setting in
/opt/cloudera/parcels/CDH-5.3.0-1.cdh5.3.0.p0.30/bin/../etc/default/solr
If you running remotely, please use --zk zk_ensemble"
What changes do I need to make to achieve the earlier results?
Created 01-30-2015 06:54 AM
ZooKeeper is now required for some of the features that allow Solr to scale reliably ("SolrCloud"). You need to provide the address of your ZooKeeper ensemble as --zk (host1),(host2):(port) (port is usually 2181)
Created 01-30-2015 06:54 AM
ZooKeeper is now required for some of the features that allow Solr to scale reliably ("SolrCloud"). You need to provide the address of your ZooKeeper ensemble as --zk (host1),(host2):(port) (port is usually 2181)
Created 02-02-2015 02:27 AM
Thanks Sean, wil try it.
Created 02-18-2015 04:38 AM
Hi,
@manniit: did the proposed solution worked for you?
In my case it is like that, I need to specify the location <hostname>:<port> where my ZK leader is listening.
You get that warning message becasue by default solrctl will try to look for configurations in a manner which is deprecated because it is moved to SolrCloud which requires ZooKeeper to work, and so its location.
REgards,