Hi,


We're setting up 5 shard SolrCloud with external zoo keeper. When we bring up 
Solr nodes while the zookeeper instance is not up and running, we see this 
error in Solr logs.



java.net.ConnectException: Connection refused

        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

        at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)

        at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)

        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)



INFO  - 2013-06-10 15:03:35.422; 
org.apache.solr.common.cloud.ConnectionManager; Watcher 592147 
[main-EventThread] INFO  org.apache.solr.common.cloud.ConnectionManager  ? 
Watcher org.apache.solr.common.cloud.ConnectionManager@530d0eae 
name:ZooKeeperConnection Watcher: ................. got event WatchedEvent 
state:SyncConnected type:None path:null path:null type:None



INFO  - 2013-06-10 15:03:35.423; 
org.apache.solr.common.cloud.ConnectionManager; Client->ZooKeeper status change 
trigger but we are already closed

592148 [main-EventThread] INFO  org.apache.solr.common.cloud.ConnectionManager  
? Client->ZooKeeper status change trigger but we are already closed



After we bring up zookeeper instance, the node never connects to zookeeper and 
we can't see the solr admin page, until we restart the node.



Does the zookeeper instance has to be up when we bring up Solr node? That's not 
what the documentation say though.



Thanks.

Reply via email to