Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Zookeeper does not reconnect when session expired. #191

Closed
koo-taejin opened this issue Feb 25, 2015 · 2 comments
Closed

Zookeeper does not reconnect when session expired. #191

koo-taejin opened this issue Feb 25, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@koo-taejin
Copy link
Member

Zookeeper does not reconnect when session expired.

-------------------------- zookeeper session expired --------------------------
(o.a.z.ClientCnxn) Client session timed out, have not heard from server in 11198ms for sessionid 0x34331c4ac633093, closing socket connection and attempting reconnect
(o.a.z.ClientCnxn) Opening socket connection to server cvzk02.pinpoint.nhnsystem.com/10.114.80.176:2181. Will not attempt to authenticate using SASL (java.lang.SecurityException:
(o.a.z.ClientCnxn) Socket connection established -, initiating session
(o.a.z.ClientCnxn) EventThread shut down
(o.a.z.ClientCnxn) Unable to reconnect to ZooKeeper service, session 0x34331c4ac633093 has expired, closing socket connection

-------------------------- cluster work failed --------------------------
(c.n.p.c.c.z.ZookeeperLatestJobWorker) Worker execute job(UpdateJob, ChannelContext=com.navercorp.pinpoint.rpc.server.ChannelContext@54ae9d7d, Retry=0/3).
(c.n.p.c.c.z.ZookeeperLatestJobWorker) instance must be connected.
com.navercorp.pinpoint.collector.cluster.zookeeper.exception.ConnectionException: instance must be connected.

@koo-taejin koo-taejin added the bug label Feb 25, 2015
@koo-taejin koo-taejin self-assigned this Feb 25, 2015
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Feb 26, 2015
Modifications:

- execute to create zookeeper instance when zookeeper session has
expired.
koo-taejin added a commit that referenced this issue Feb 26, 2015
Zookeeper does not reconnect when session expired. #191
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Mar 5, 2015
-  Fixed : Local variable referenced before assignment.
koo-taejin added a commit that referenced this issue Mar 5, 2015
Zookeeper does not reconnect when session expired. #191
@emeroad emeroad added this to the 1.1.0 milestone Mar 17, 2015
@god8816
Copy link

god8816 commented Jul 27, 2018

2018-07-27 17:19:31 WARN Session 0x0 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:717)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2018-07-27 17:19:31 WARN handleUpdate failed. caused:Instance must be connected., jobSize:1
com.navercorp.pinpoint.collector.cluster.zookeeper.exception.ConnectionException: Instance must be connected.
at com.navercorp.pinpoint.collector.cluster.zookeeper.DefaultZookeeperClient.checkState(DefaultZookeeperClient.java:273)
at com.navercorp.pinpoint.collector.cluster.zookeeper.DefaultZookeeperClient.exists(DefaultZookeeperClient.java:255)
at com.navercorp.pinpoint.collector.cluster.zookeeper.ZookeeperJobWorker.handleUpdate(ZookeeperJobWorker.java:341)
at com.navercorp.pinpoint.collector.cluster.zookeeper.ZookeeperJobWorker.handle(ZookeeperJobWorker.java:323)
at com.navercorp.pinpoint.collector.cluster.zookeeper.ZookeeperJobWorker.run(ZookeeperJobWorker.java:228)
at java.lang.Thread.run(Thread.java:745)

pinpoint -version:1.7.3

@koo-taejin
Copy link
Member Author

@god8816
Please create a new issue with detailed explanation.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants