The Mesos
Slave is using posix isolation
by default:
......
I0105 06:26:28.479199 1869 containerizer.cpp:142] Using isolation: posix/cpu,posix/mem,filesystem/posix
......
What is "posix isolation
"? I can't google it.
Mesos uses isolators in its containerizer to isolate the resource usage of each started task. The posix
isolators provide separation of task as standard Unix processes. Each Mesos task is running under mesos-executor
process, which makes sure that the task is running. These don't really perform any actual isolation but only report the current resource usage of running tasks.
Under Linux, there is also cgroups isolator available that can do actual isolation (CPU and memory).
You can find more about Mesos Containerizer and Docker Containerizer on the Apache Mesos website.