【发布时间】:2016-03-15 13:38:54
【问题描述】:
我在 Ubuntu 上。
我正在尝试遵循https://mesosphere.com/downloads/上的教程“启动 Mesos”
我在我的机器上找不到zkClient.sh。 locate zkClient.sh 不返回任何内容。
有什么帮助吗?
我的配置信息:
1)我已经安装并配置了zookeeper,在conf/zoo.cfg中使用了“独立配置”:
tickTime=2000
dataDir=/var/lib/zookeeper
clientPort=2181
2) 我已经通过 mesosphere 存储库中的 *.deb 文件安装了 Apache Mesos
3) 我已经使用
启动了 zookepersudo /usr/share/zookeeper/bin/zkServer.sh start
然后每个进程使用
service mesos-slave start # (sudo if needed)
service mesos-master start # (sudo if needed)
ps aux | grep mesos 向我返回的信息似乎表明 zookeer 服务器和客户端都已启动:
root 29190 0.2 0.1 1490628 22460 ? Ssl 11:31 0:00 /usr/sbin/mesos-master --zk=zk://localhost:2181/mesos --port=5050 --log_dir=/var/log/mesos --quorum=1 --work_dir=/var/lib/mesos
root 29200 0.0 0.0 11360 604 ? S 11:31 0:00 logger -p user.info -t mesos-master[29190]
root 29201 0.0 0.0 11360 708 ? S 11:31 0:00 logger -p user.err -t mesos-master[29190]
root 29229 0.1 0.1 947316 18332 ? Ssl 11:31 0:00 /usr/sbin/mesos-slave --master=zk://localhost:2181/mesos --log_dir=/var/log/mesos --launcher=posix
root 29237 0.0 0.0 11360 600 ? S 11:31 0:00 logger -p user.info -t mesos-slave[29229]
root 29238 0.0 0.0 11360 712 ? S 11:31 0:00 logger -p user.err -t mesos-slave[29229]
john 29260 0.0 0.0 13588 940 pts/3 R+ 11:32 0:00 grep --color=auto mesos
但是教程说“一旦 Master(s) 启动,使用 ZooKeeper 来验证你的配置是否正确:使用 zkClient.sh 启动 ZooKeeper 客户端”
【问题讨论】:
标签: ubuntu apache-zookeeper mesos