Solr 2 nodes setup not working with zookeeper

254 Views Asked by At

I have a 2 solr node setup with 3 zookeeper nodes.I was running with 8.11 version and it was working all fine. Now, I have upgraded solr nodes to 9.12 and when I start solr service on both of them, it starts on 1 node but never start on the other one. The configurations are correct as I have started the solr service on each and it works with one node but never works with two nodes.

doing sudo service solr status, gives me

ERROR: Failed to get system information from http://localhost:8983/solr due to: org.apache.solr.common.SolrException: Parse error : <p>
  Searching for Solr?<br/>
  You must type the correct path.<br/>
  Solr will respond.
</p>

Looking into solr logs it says 2023-05-25 19:00:32.043 WARN (qtp1978504976-24) [ ] o.e.j.s.HttpChannel /solr/admin/info/system => javax.servlet.ServletException: javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down. at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:157) javax.servlet.ServletException: javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down. at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:157) ~[jetty-server-10.0.13.jar:10.0.13] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) ~[jetty-server-10.0.13.jar:10.0.13] at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:301) ~[jetty-rewrite-10.0.13.jar:10.0.13]

nb I am running the same configurations as I were in solr 8,

Can someone help me here

I have tried changing chroot path, but in that case I always get livenodes as 1. my solr.in.sh file on both solr nodes include ZK_HOST="{zookeeper1IP},{zookeeper2IP},{zookeeper3IP}:2181"

0

There are 0 best solutions below