lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spillane <>
Subject SolrCloud default shard assignment order not correct
Date Mon, 02 Mar 2015 18:39:57 GMT
I'm trying to build a SolrCloud with 4 leader/replica pairs. Starting my
first host with this tomcat6.conf setting

-Dcollection.configName=rockbands_conf -DzkHost=zk1:2181,zk2:2181,zk3:2181" 

and then starting up host2, host3 and host4 in order I am expecting to see a
cloud graph like this
                      shard1 - host1  ip
rockbands -->  shard2 - host2 ip
                      shard3  - host3 ip
                      shard4  - host4 ip

But the cloud graph shows this order after the first host is started

                      shard1 - host1 ip
rockbands -->  shard4

Clearing out the /var/lib/zookeeper directory (excepting myid), restarting
all zookeeper hosts and restarting all SOLR hosts does not help.  I would
like to know why I cannot get these in correct order.  

This is SOLR 4.2   

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message