Details
Description
Currently (3.8, but this has always been happening IIRC), the server logs a scary stacktrace when a client closes its connection.
This is not something the administrator should be afraid of, so we should not write the stacktrace on the logs.
2022-05-31T08:55:22,205+0000 [NIOWorkerThread-1] WARN org.apache.zookeeper.server.NIOServerCnxn - Unexpected exception │ │ org.apache.zookeeper.server.ServerCnxn$EndOfStreamException: Unable to read additional data from client, it probably closed the socket: address = /10.44.1.5:43468, session = 0x100002ec7a30032 │ │ at org.apache.zookeeper.server.NIOServerCnxn.handleFailedRead(NIOServerCnxn.java:170) ~[org.apache.zookeeper-zookeeper-3.8.0.jar:3.8.0] │ │ at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:333) [org.apache.zookeeper-zookeeper-3.8.0.jar:3.8.0] │ │ at org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:508) [org.apache.zookeeper-zookeeper-3.8.0.jar:3.8.0] │ │ at org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:153) [org.apache.zookeeper-zookeeper-3.8.0.jar:3.8.0]
│
│ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] │
│ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] │
│ at java.lang.Thread.run(Thread.java:829) [?:?]
Attachments
Issue Links
- links to