[ 
https://issues.apache.org/jira/browse/MESOS-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14372789#comment-14372789
 ] 

Littlestar commented on MESOS-2526:
-----------------------------------

I0321 22:06:27.509555 15664 containerizer.cpp:100] Using isolation: 
cgroups/cpu,cgroups/mem
Failed to create a containerizer: Could not create MesosContainerizer: Could 
not create isolator cgroups/mem: Could not find 'memory.oom_control' control 
file: does not exist

So, I changed mesos-slave-env.sh, works well.
export MESOS_isolation=posix/cpu,posix/mem

I think mesos can check cgroups health first before startup.

> MESOS_master in  mesos-slave-env.sh is not work well by mesos-slave
> -------------------------------------------------------------------
>
>                 Key: MESOS-2526
>                 URL: https://issues.apache.org/jira/browse/MESOS-2526
>             Project: Mesos
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: 0.21.1
>            Reporter: Littlestar
>            Priority: Minor
>
> mesos start-cluster.sh
> master node start ok, but slave node start fail.
> echo slave node has log message, but nothing seens fail.
> no mesos process running on slave node.
> ==========
> masters and slaves file is ok.
> the following work ok.
> export MESOS_master=mymaster:5050
> mesos-slave
> why does it work fail in mesos-slave-env.sh?
> Thanks
> -bash-4.1# cat /usr/etc/mesos/mesos-slave-env.sh
> {noformat}
> # This file contains environment variables that are passed to mesos-slave.
> # To get a description of all options run mesos-slave --help; any option
> # supported as a command-line option is also supported as an environment
> # variable.
> # You must at least set MESOS_master.
> # The mesos master URL to contact. Should be host:port for
> # non-ZooKeeper based masters, otherwise a zk:// or file:// URL.
> export MESOS_master=mymaster:5050
> # Other options you're likely to want to set:
> export MESOS_log_dir=/var/log/mesos
> export MESOS_work_dir=/var/run/mesos
> export MESOS_isolation=cgroups
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to