Mesos Master 和 Mesos 代理是否需要 root 访问权限? Mesos master 和 Mesos agent 的默认权限级别是多少?他们可以以非root访问权限运行吗?
最佳答案
当我尝试在没有 root 访问权限的情况下启动我的 mesos 集群时,我在 mesos slave 中遇到了错误:
Log file created at: 2018/02/17 06:57:48
Running on machine: ubuntu
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0217 06:57:48.811517 46316 main.cpp:468] EXIT with status 1: Failed to initialize systemd: Failed to create systemd slice ‘mesos_executors.slice’: Failed to write systemd slice `/run/systemd/system/mesos_executors.slice`: Failed to open file ‘/run/systemd/system/mesos_executors.slice’: Permission denied
我的 mesos 集群由三个节点组成,所有从主机都出现这个错误。所以我在 mesos master 中使用 root 访问权限启动了我的 mesos 集群。有效。
关于mesos - Mesos Master 和 Mesos 代理是否需要 root 访问权限?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41731079/