Solr Client makes a connection only to the first zookeeper node in the ensemble -


i using solr 6.4.0 , zookeeper 3.4.9 2 solr nodes , 3 znodes. solr client connections made see first node mentioned in list of zkhosts provided serves requests. other 2 znodes not serve solr, due see first znode max out connections. checked seeing connections made against each of 3 znodes. when kill first znode mentioned in zkhost list, solr connections start failing , not served other 2 live nodes.

solr client -

new cloudsolrclient.builder().withzkhost("10.250.60.45:2181,10.250.60.46:2181,10.250.60.47:2181/solr").build(); 

zoo.cfg (with myid) -

server.1=abc-01.xyz.local:2181:5181 server.2=abc-02.xyz.local:2181:5181 server.3=abc-03.xyz.local:2181:5181 

any appreciated.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -