Take a look at the log4j logs for the client. Notice the operation is
"getChildren", and you mentioned having 34k znodes. A common issues is
"jute.maxbuffer" being exceeded (try googling it) during an operation. ZK
has a limit to the size of message it will send client->server or
server->client. If
it sounds like your host/port may be incorrect. just to be sure you might
try using the -server flag:
zkCli.sh -server zkhost:zkport
(where zkhost is the hostname of your zkserver and zkport is the port
number)
you can also check if the server is running by using nc (or telnet):
echo stat | nc
Hi all,
we have a strange behaviour using zkCli.sh shell script.
If I I try to connect to a zookeeper instance (we have a cluster) all work
fine.. but using command "ls /" fails!
$ ./zkCli.sh
/usr/bin/java
Connecting to localhost:2181
Welcome to ZooKeeper!
JLine support is enabled
[zk: localhost:2