有时,没有理由,我在日志中收到此错误:
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
答案 0 :(得分:0)
我也遇到了这个问题。这是一个已报告的错误:https://issues.apache.org/jira/browse/ZOOKEEPER-3036
看起来唯一的解决方法是重新启动节点。