- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Need help to create solr collections
Created on ‎01-30-2015 04:01 AM - edited ‎09-16-2022 02:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was using following steps to create solr collection:
- solrctl instancedir --generate $HOME/solr_configs
- solrctl instancedir --create collection_1 $HOME/solr_configs
- solrctl collection --create collection_1 -s 1
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Sean, wil try it.
Created ‎02-18-2015 04:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
