First, you need to have a running Zookeeper server-instance. Open a terminal, and start the Zookeeper server:
Note: Zookeeper will not start unless it can write to it's datadir and logfile.
Open another terminal,
echo ruok | nc zkserver1 2181
echo status | nc zkserver1 2181
It worked for me