Skip to content

Instantly share code, notes, and snippets.

@lbradstreet
Created December 4, 2015 16:50
Show Gist options
  • Save lbradstreet/732b1b5e99cbf68b37dc to your computer and use it in GitHub Desktop.
Save lbradstreet/732b1b5e99cbf68b37dc to your computer and use it in GitHub Desktop.
Hi guys
I have an issue on onyx deployment, getting this zookeeper error from zookeeper client ̀java.io.IOException: Packet len4197460 is out of range!also when i try and delete the onyx znodermr /onyx/<onyd-id>`
using onyx 8.2
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /onyx/cdiscount-pink/log
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.ZKUtil.listSubTreeBFS(ZKUtil.java:114)
at org.apache.zookeeper.ZKUtil.deleteRecursive(ZKUtil.java:49)
at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:703)
at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588)
at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360)
at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323)
at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282)
found this which is related: https://mail-archives.apache.org/mod_mbox/zookeeper-user/201210.mbox/%3CCANLc_9Lc_RMCNYS0wcFg+W9_JMazug5oN_WeGeK==X4D2ynTeQ@mail.gmail.com%3E
guessing the log grew too big for the default
this: https://zookeeper.apache.org/doc/r3.4.6/zookeeperAdmin.html
mentions the java property jute.maxbuffer
but this is not very pratical as it has to be set on all zookeeper servers and clients
do you think it's a problem with onyx or with my deployment?
lbradstreet 00:41
@stefanbacon Aha. Hmm. You might be right.
The solution for now is to GC
the log
stefanbacon 00:42
trying to find a way of deleting the znode at the moment
lbradstreet 00:42
https://github.com/onyx-platform/onyx/blob/0.8.x/src/onyx/api.clj#L203
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment