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

Switch to Threaded View
Zookeeper >> mail # user >> zk keeps disconnecting and reconnecting


Copy link to this message
-
Re: zk keeps disconnecting and reconnecting
I was also wondering why our clients get disconnected in the first place
since the ZK servers are all up. The following are the logs when the first
disconnect happens. Does anyone know why the client can't seem to connect to
most servers? Also, is  "Session 0x1320765b0ac002e for server nulll" normal?
Thanks,

2011/08/29 07:33:51.824 INFO [ClientCnxn]
[main-SendThread(esv4-app27.stg:12913)] [kafka] Unable to read additional
data from server sessionid 0x1320765b0ac002f, likely server h
as closed socket, closing socket connection and attempting
reconnect2011/08/29 07:33:51.824 INFO [ClientCnxn]
[main-SendThread(esv4-app27.stg:12913)] [kafka] Unable to read additional
data from server sessionid 0x1320765b0ac002e, likely server h
as closed socket, closing socket connection and attempting reconnect
2011/08/29 07:33:51.990 INFO [ZkClient] [main-EventThread] [kafka] zookeeper
state changed (Disconnected)2011/08/29 07:33:52.019 INFO [ZkClient]
[main-EventThread] [kafka] zookeeper state changed (Disconnected)
2011/08/29 07:33:52.092 INFO [ClientCnxn]
[main-SendThread(esv4-app27.stg:12913)] [kafka] Opening socket connection to
server esv4-app29.stg/172.18.98.89:12913
2011/08/29 07:33:52.093 INFO [ClientCnxn]
[main-SendThread(esv4-app29.stg:12913)] [kafka] Socket connection
established to esv4-app29.stg/172.18.98.89:12913, initiating session
2011/08/29 07:33:52.094 INFO [ClientCnxn]
[main-SendThread(esv4-app29.stg:12913)] [kafka] Unable to read additional
data from server sessionid 0x1320765b0ac002f, likely server h
as closed socket, closing socket connection and attempting reconnect
2011/08/29 07:33:52.652 INFO [ClientCnxn]
[main-SendThread(esv4-app27.stg:12913)] [kafka] Opening socket connection to
server esv4-app28.stg/172.18.98.101:12913
2011/08/29 07:33:52.652 INFO [ClientCnxn]
[main-SendThread(esv4-app28.stg:12913)] [kafka] Socket connection
established to esv4-app28.stg/172.18.98.101:12913, initiating
session2011/08/29 07:33:53.075 INFO [ClientCnxn]
[main-SendThread(esv4-app28.stg:12913)] [kafka] Unable to read additional
data from server sessionid 0x1320765b0ac002e, likely server h
as closed socket, closing socket connection and attempting reconnect
2011/08/29 07:33:53.108 INFO [ClientCnxn]
[main-SendThread(esv4-app29.stg:12913)] [kafka] Opening socket connection to
server esv4-app28.stg/172.18.98.101:12913
2011/08/29 07:33:53.108 INFO [ClientCnxn]
[main-SendThread(esv4-app28.stg:12913)] [kafka] Socket connection
established to esv4-app28.stg/172.18.98.101:12913, initiating session
2011/08/29 07:33:53.109 INFO [ClientCnxn]
[main-SendThread(esv4-app28.stg:12913)] [kafka] Unable to read additional
data from server sessionid 0x1320765b0ac002f, likely server h
as closed socket, closing socket connection and attempting reconnect
2011/08/29 07:33:53.577 INFO [ClientCnxn]
[main-SendThread(esv4-app28.stg:12913)] [kafka] Opening socket connection to
server esv4-app30.stg/172.18.98.90:12913
2011/08/29 07:33:53.578 WARN [ClientCnxn]
[main-SendThread(esv4-app30.stg:12913)] [kafka] Session 0x1320765b0ac002e
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
        at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
2011/08/29 07:33:53.683 INFO [ClientCnxn]
[main-SendThread(esv4-app28.stg:12913)] [kafka] Opening socket connection to
server esv4-app30.stg/172.18.98.90:12913
2011/08/29 07:33:53.683 WARN [ClientCnxn]
[main-SendThread(esv4-app30.stg:12913)] [kafka] Session 0x1320765b0ac002f
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
        at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)

Jun

On Mon, Aug 29, 2011 at 10:50 AM, Fournier, Camille F. <
[EMAIL PROTECTED]> wrote: