有时候,我会无缘无故地在日志中出现以下错误:
2017-05-18 19:19:17,206 [] - ERROR [] - Unexpected exception causing shutdown while sock still open
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at java.io.DataInputStream.readInt(DataInputStream.java:387)
at org.apache.jute.BinaryInputArchive.readInt(BinaryInputArchive.java:63)
at org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(QuorumPacket.java:83)
at org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:103)
at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:546)
除了日志中的这些信息,我没有看到任何影响。我们的任何客户端都没有抱怨失去连接到ZK或什么。什么可能是这个错误日志的原因?
Zookeeper版本:第3.4.6条
策展人版本:第2.6.0版
1条答案
按热度按时间3xiyfsfu1#
我也遇到了这个问题。这是一个已报告的错误:https://issues.apache.org/jira/browse/ZOOKEEPER-3036
看起来唯一的修复方法是重新启动节点。