When I started Zookeeper 3.4.6 under Ubuntu, it appeared:
bin/zkServer.sh: 81: /opt/zookeeper-3.4.6/bin/zkEnv.sh: Syntax error: "(" unexpected (expecting "fi")
Various environment configurations are correct, but the startup fails.
reason:
Later, I found major websites and came to the conclusion that there is a problem with Ubuntu's default shell.
solve:
use:
dpkg-reconfigure dash
Choose NO