【发布时间】:2019-09-25 23:16:18
【问题描述】:
我已经搜索了这个论坛,没有找到适合我的案例的有效答案:
- 我安装了java 1.8
我从https://www.apache.org/dist/zookeeper/zookeeper-3.5.5/apache-zookeeper-3.5.5-bin.tar.gz下载了zookeeper-3.5.5的二进制版本
我将 zoo_sample.cfg 更改为 zoo.cfg,未对 cfg 进行任何更改
-
我尝试以 root 身份启动 zookeeper:
[root@pocdnr1n1 apache-zookeeper-3.5.5-bin]# bin/zkServer.sh start conf/zoo.cfg
我在日志中收到错误:
Could not find the main class: org.apache.zookeeper.server.quorum.QuorumPeerMain. Program will exit.
谢谢。
【问题讨论】:
标签: apache-zookeeper