Search code examples
apache-zookeeperapache-storm

Error from Zookeper 3.4.6 version


I downloaded zookeeper-3.4.6.tar.gz and while executing zkServer.sh start , I am getting below error.I did google but couldn't find a solution, Please let me kno if you see similar issues.

  • CLASSPATH=/home/spanda20/zookeeper/bin/../src/java/lib/*.jar:/home/spanda20/zookeeper/bin/../conf: zkServer.sh: 81: /home/spanda20/zookeeper/bin/zkEnv.sh: Syntax error: "(" unexpected (expecting "fi")

Solution

  • Finally I am able to see storm UI and its running. Below changes I did in the .bashrc file. Please make sure that You add bin path in the PATH VARIABLE.

    I did add the below variables in the .bashrc file.

    export JAVA_HOME =JDK Path export ZOOKEPER_HOME =Zookeper install path Then add them in the variable path. PATH= $PATH:$JAVA_HOME/bin:$ZOOKEPER_HOME/bin

    Thanks Sanjeeb