我们有具有 3个kafka 机器和 3个zookeeper 服务器
的hadoop集群。hadoop版本-2.6.4(HORTONWORKS)
在Zookeeper日志下(/ var / log / zookper)
我们看到了数百万条警告消息,例如:
2019-06-26 10:48:45,675 [myid:1] - WARN [NIOServerCxn.Factory 0.000.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x16b8e15a80ca681, likely client has closed socket
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:230)
at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
at java.lang.Thread.run(Thread.java:745)
此消息的含义:
caught end of stream exception EndOfStreamException
Unable to read additional data from client sessionid
真正的问题是关于kafka机器
答案 0 :(得分:0)
尝试让客户端重试。它解决了我的问题。不知何故,我将重试设置为零。
例如:
hbase.client.retries.number