Zookeeper CLI 失败

编程入门 行业动态 更新时间:2024-10-27 02:27:42
本文介绍了Zookeeper CLI 失败 - IOException 数据包 <len12343123123>超出范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

运行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屋!

更多推荐

[db:关键词]

本文发布于:2023-04-18 17:47:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/943768.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Zookeeper   CLI

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!