Starting Zookeeper Cluster. Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

前端 未结 6 1246
粉色の甜心
粉色の甜心 2021-02-04 03:11

(I\'m running on CentOS 5.8). I\'ve been following the direction for a Clustered (Multiserver) Zookeeper Set-up, but getting an error when I try to start up my server. When I ru

6条回答
  •  死守一世寂寞
    2021-02-04 03:28

    You should be able to run zkServer.sh to get a clustered setup. It will use the same conf/zoo.cfg that you are providing manually, which will contain the cluster endpoints.

    The best way to check what you are missing from your classpath (and see the proper java command) is to run the zkServer.sh you said worked for you.

    When it starts up, check the actual command used like this:

    ps -ef | grep zookeeper
    

提交回复
热议问题