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

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

问题描述

正在运行的Zookeeper 3.3.3.我有一个正试图通过CLI列出的znode,如下所示:

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应该有一个修剪命令(或其他命令).感谢您的回答.

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天全站免登陆