apache spark - Failed to find /usr/local/Cellar/mesos/0.22.1



我在mac上使用brew安装了mesos。安装完成后,我进入mesos/0.22.1/sbin文件夹,并尝试执行mesos-start-master.sh。但是

失败了
error : Failed to find /usr/local/Cellar/mesos/0.22.1/etc/mesos/masters

我的问题是这个etc文件夹是如何生成的。安装后。我可以在cmd上输入mesos,但是我需要执行上面提到的sh文件。

谢谢

etc文件夹应该在您通过brew安装mesos时创建。只需创建一个文本文件,每一行都有一个mesos master。

echo $(hostname) >> /usr/local/Cellar/mesos/0.22.1/etc/mesos/master

最新更新