Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

zkCli commands

$
0
0
Hi

When running zookeeper 3.4.5 I was able to run commands using zkCli such as

zkCli.sh -server 127.0.0.1:2182 ls /
zkCli.sh -server 127.0.0.1:2182 get /blah

After upgrading to 3.4.6 these commands no longer work.

I think issue https://issues.apache.org/jira/browse/ZOOKEEPER-1535 was the
reason the commands were running in previous versions.

I can modify my scripts to something like

echo "ls /" | zkCli.sh -server 127.0.0.1:2182

to get them working, is there another way to get these commands to run that
I may be missing?

Thanks

Viewing all articles
Browse latest Browse all 5648

Trending Articles