On Linux Scientific I have installed ZooKeeper from CDH5.
When starting zookeeper using sudo service zookeeper-server start
or zookeeper-server start
it reports the server running, but fails silently. If I start it using bin/zkServer.sh
it runs successfully.
How come?
How can I fix this so it will work with the former two?
It seems that service and the binary don't start the server as the user zookeeper
, which has permissions to the dataDir