zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Eric <openlinuxsou...@gmail.com>
Subject Packet len4622126 is out of range!
Date Fri, 04 Sep 2015 07:26:45 GMT
Hi,

I got following exceptions when access one node:

ls /test
[main-SendThread(localhost:2181)] WARN org.apache.zookeeper.ClientCnxn
- Session 0x14f973545fe0000 for server localhost/0:0:0:0:0:0:0:1:2181,
unexpected error, closing socket connection and attempting reconnect
java.io.IOException: Packet len4622126 is out of range!
at org.apache.zookeeper.ClientCnxnSocket.readLength(ClientCnxnSocket.java:112)
at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:79)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
Exception in thread "main"
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /test
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1472)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1500)
at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:720)
at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588)
at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360)
WATCHER::

WatchedEvent state:Disconnected type:None path:null

at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:349)
at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282)

It seems this issue is caused by too many znodes. Is there any way to
tune the threshold or fix that?

Thanks.

Hui

Mime
View raw message