Running zookeeper 3.3.3. I have a znode that I am just trying to list, via the CLI, as in:
ls /myznode/subznode
This crashes with an IOException in org.apache.ClientCnxn$SendThread.readLength at line 710.
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.
I was able to work around this by increasing the max size of my listing call.
I added the "-Djute.maxbuffer=50111000" to my zkCli.sh script so that it started the client using the following line:
$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 "$@"
I was then able to list & use rmr /big/node
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With