Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to connect to Zookeeper after Solrcloud restart

Unable to connect to Zookeeper after Solrcloud restart

New Contributor

Hi,

I have a solrcloud cluster with 2 solr nodes and one external zookeeper node as docker containers. Everything was working perfectly. I restarted solr nodes and zookeeper, now solr is throwing

org.apache.solr.common.SolrException: Error processing the request. CoreContainer is either not initialized or shutting down.

Here is solr.log

	_       Welcome to Apache Solr™ version 6.4.2
2017-04-01 10:32:37.028 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter / __| ___|
 |_ _   Starting in cloud mode on port 8983
2017-04-01 10:32:37.028 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter \__ \/ _ \
 | '_|  Install dir: /opt/solr
2017-04-01 10:32:37.045 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter |___/\___/
_|_|    Start time: 2017-04-01T10:32:37.029Z
2017-04-01 10:32:37.059 INFO  (main) [   ] o.a.s.c.SolrResourceLoader Using syst
em property solr.solr.home: /opt/solr/server/solr
2017-04-01 10:32:37.215 WARN  (main-SendThread(10.42.215.52:2181)) [   ] o.a.z.C
lientCnxn Session 0x0 for server null, unexpected error, closing socket connecti
on and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717
)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
NIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-04-01 10:32:38.318 WARN  (main-SendThread(10.42.215.52:2181)) [   ] o.a.z.C
lientCnxn Session 0x0 for server null, unexpected error, closing socket connecti
on and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717
)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
NIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-04-01 10:32:39.420 WARN  (main-SendThread(10.42.215.52:2181)) [   ] o.a.z.C
lientCnxn Session 0x0 for server null, unexpected error, closing socket connecti
on and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717
)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
NIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-04-01 10:32:40.521 WARN  (main-SendThread(10.42.215.52:2181)) [   ] o.a.z.C
lientCnxn Session 0x0 for server null, unexpected error, closing socket connecti
on and attempting reconnect

Did anybody faced similar issues ? Please help.

Don't have an account?
Coming from Hortonworks? Activate your account here