Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> Zookeeper - Network is unreachable


Copy link to this message
-
Zookeeper - Network is unreachable
Hi,

I am new to zookeeper. I tried to connect Solr to zookeeper 3.4.5. I setup
an zookeeper ensemble in 3 machines. When network in one of the machine is
down, I am getting the following issue frequently till network is available
again.

If i didnt address this issue soon, many sockets are getting open, hence
"Too Many files are open" Exception is thrown in client side.

/1356971 [main-SendThread(192.168.1.1:2182)] WARN
org.apache.zookeeper.ClientCnxn  – Session 0x13fa3080e490000 for server
null, unexpected error, closing socket connection and attempting reconnect
java.net.SocketException: Network is unreachable
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:525)
at
org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSocketNIO.java:266)
at
org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:276)
at
org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:958)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:993)/

Thanks in advance
RANJITH VENKATESAN
--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/Zookeeper-Network-is-unreachable-tp7578825.html
Sent from the zookeeper-user mailing list archive at Nabble.com.
+
shashwat shriparv 2013-07-03, 06:53
+
Ranjith Venkatesan 2013-07-03, 07:09
+
shashwat shriparv 2013-07-03, 08:50