-----Original Message-----
From: Abhi Basu [mailto:9000revs@gmail.com]
Sent: 29 March 2018 19:56
To: solr-user@lucene.apache.org
Subject: Solr 7.2 cannot see all running nodes
What am I missing? I used the following instructions
http://blog.thedigitalgroup.com/susheelk/2015/08/03/solrcloud-2-nodes-solr-1
-node-zk-setup/#comment-4321
on 4 nodes. The only difference is I have 3 external zk servers. So this is
how I am starting each solr node:
./bin/solr start -cloud -s /usr/local/bin/solr-7.2.1/server/solr/node1/ -p
8983 -z zk0-esohad,zk1-esohad,zk3-esohad:2181 -m 8g
They all run without any errors, but when trying to create a collection with
2S/2R, I get an error saying only one node is running.
./server/scripts/cloud-scripts/zkcli.sh -zkhost
zk0-esohad,zk1-esohad,zk3-esohad:2181 -cmd upconfig -confname ems-collection
-confdir
/usr/local/bin/solr-7.2.1/server/solr/configsets/ems-collection-72_configs/c
onf
"Operation create caused
exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.Sol
rException:
Cannot create collection ems-collection. Value of maxShardsPerNode is 1, and
the number of nodes currently live or live and part of your createNodeSet is
1. This allows a maximum of 1 to be created. Value of numShards is 2, value
of nrtReplicas is 2, value of tlogReplicas is 0 and value of pullReplicas is
0. This requires 4 shards to be created (higher than the allowed number)",
Any ideas?
Thanks,
Abhi
--
Abhi Basu
No comments:
Post a Comment