gpt4 book ai didi

apache-zookeeper - Zookeeper CLI 失败 - IOException 数据包 超出范围

转载 作者:行者123 更新时间:2023-12-04 13:08:41 24 4
gpt4 key购买 nike

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

ls/myznode/subznode

这会在第 710 行的 org.apache.ClientCnxn$SendThread.readLength 中因 IOException 而崩溃。

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

最佳答案

我能够通过增加我的列表调用的最大大小来解决这个问题。

我将“-Djute.maxbuffer=50111000”添加到我的 zkCli.sh 脚本中,以便它使用以下行启动客户端:

$JAVA "-Dzookeeper.log.dir=${ZOO_LOG_DIR}" "-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}" \
"-Djute.maxbuffer=49107800" -cp "$CLASSPATH" $CLIENT_JVMFLAGS $JVMFLAGS \
org.apache.zookeeper.ZooKeeperMain "$@"

然后我就可以列出和使用 rmr/big/node

关于apache-zookeeper - Zookeeper CLI 失败 - IOException 数据包 <len12343123123> 超出范围,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10249579/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com