Zookeeper CLI 失败 - IOException 数据包 <len12343123123>超出范围 [英] Zookeeper CLI failing - IOException Packet &lt;len12343123123&gt; is out of range

查看:41
本文介绍了Zookeeper CLI 失败 - IOException 数据包 <len12343123123>超出范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行zookeeper 3.3.3.我有一个 znode,我只是想通过 CLI 列出它,如下所示:

Running zookeeper 3.3.3. I have a znode that I am just trying to list, via the CLI, as in:

ls/myznode/subznode

ls /myznode/subznode

第 710 行的 org.apache.ClientCnxn$SendThread.readLength 中的 IOException 导致崩溃.

This crashes with an IOException in org.apache.ClientCnxn$SendThread.readLength at line 710.

有人看到了吗??有人建议可能坏数据在 znode 中.不确定是否或如何......但我也无法删除它,因为它里面有东西.

Anyone seen this?? Someone suggested that maybe bad data is in the znode. Not sure if, or how... but I cannot delete it either, as it has something in it.

推荐答案

所以,问题是有问题的 znode 已经被子 znode 淹没了.它有大约 500 万个.Zookeeper 显然不喜欢这样.更糟糕的是,没有很好的方法来清理它.ZK 应该有一个 prune 命令(或其他东西).感谢您的回答.

so, the problem was that the znode in question has been overwhelmed with sub-znodes. It had about 5 million of them. Zookeeper apparently does not like this. Even worse, there is no great way to clean it up. ZK should have a prune command (or something). Thanks for the answers.

这篇关于Zookeeper CLI 失败 - IOException 数据包 <len12343123123>超出范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆