How do I find out the version of Zookeeper I am running?

First you need to have a running Zookeeper server-instance.

Open a terminal, and start the Zookeeper server:

/usr/share/zookeeper/bin/zkServer.sh start-foreground

Note: Zookeeper will not start unless it can write to it's datadir and logfile.

Open another terminal, and replace zkserver1 with the hostname\ip eg. 127.0.0.1 :

echo ruok | nc zkserver1 2181
echo status | nc zkserver1 2181

First line should respond with imok Second line should respond with Zookeeper version + more.