Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

zookeeper unable to start on hdp 2.3.2

Solved Go to solution

zookeeper unable to start on hdp 2.3.2

Contributor

Unable to start zookeeper, getting following error:

Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

1 ACCEPTED SOLUTION

Accepted Solutions

Re: zookeeper unable to start on hdp 2.3.2

Contributor

Issue is resolved after deleting the zookeeper services and reinstalling. Unable to start the service due to improper configuration of the service.

3 REPLIES 3
Highlighted

Re: zookeeper unable to start on hdp 2.3.2

Just check if you are running into multinode cluster and facing timeout issue below:-

https://issues.apache.org/jira/browse/ZOOKEEPER-1213

If you are running single node what is the result of

./zookeeper/bin/zkServer.sh start

Re: zookeeper unable to start on hdp 2.3.2

Contributor

nope it's not timeout issue, see my error its related to library issue I guess. Anyway here is the start output

# rm /var/run/zookeeper/zookeeper_server.pid rm: remove regular file `/var/run/zookeeper/zookeeper_server.pid'? y # /usr/hdp/2.3.2.0-2950/zookeeper/bin/zkServer.sh start ZooKeeper JMX enabled by default Using config: /usr/hdp/2.3.2.0-2950/zookeeper/bin/../conf/zoo.cfg Starting zookeeper ... STARTED # cat /var/run/zookeeper/zookeeper_server.pid 8760# ps -ef|grep 8760 root 8876 27093 0 23:53 pts/9 00:00:00 grep 8760 # /usr/hdp/2.3.2.0-2950/zookeeper/bin/zkServer.sh status ZooKeeper JMX enabled by default Using config: /usr/hdp/2.3.2.0-2950/zookeeper/bin/../conf/zoo.cfg Error contacting service. It is probably not running.

cat /var/log/zookeeper/zookeeper.out Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

Re: zookeeper unable to start on hdp 2.3.2

Contributor

Issue is resolved after deleting the zookeeper services and reinstalling. Unable to start the service due to improper configuration of the service.