Client warns in zookeeper on close
See original GitHub issueDescribe the bug
When calling .close
, zookeeper logs:
2021-04-02 10:48:23,605 [myid:1] - WARN [NIOWorkerThread-2:NIOServerCnxn@364] - Unexpected exception
EndOfStreamException: Unable to read additional data from client, it probably closed the socket: address = /127.0.0.1:57980, session = 0x10094a0c40d0022
at org.apache.zookeeper.server.NIOServerCnxn.handleFailedRead(NIOServerCnxn.java:163)
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:326)
at org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:522)
at org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:154)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Is there a more graceful way to disconnect the client?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
zookeeper client close connection WARN · Issue #447 - GitHub
I wrote a test script that perform a zookeeper connection and exits without close connection and I get the same WARN.
Read more >ZooKeeper keeps getting EndOfStreamException, causing a ...
I was able to solve the problem by deleting all zookeeper snapshots and log files from the server running ZooKeeper.
Read more >zookeeper log full of WARN org.apache.zookeeper.se... - 44311
Does it cause any kind of issue? Looks like some kind of network connection issue, or maybe services are restarted. If connection are...
Read more >the ZooKeeper command line interface
ZooKeeper -cli: the ZooKeeper command line interface. Pre-requisites. Enter into the ZooKeeper-cli. ```bash. connect to the localhost with the default port: ...
Read more >Client warns in zookeeper on close - Bountysource
Describe the bug. When calling .close , zookeeper logs: 2021-04-02 10:48:23,605 [myid:1] - WARN [NIOWorkerThread-2:NIOServerCnxn@364] ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@DavidVujic if it helps, I’m using ZK
2.6.2
. This is the code i’m using to connect / execute / disconnect:Related to https://github.com/yfinkelstein/node-zookeeper/issues/240