[ 
https://issues.apache.org/jira/browse/MESOS-5544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jie Yu updated MESOS-5544:
--------------------------
    Description: 
Currently, this does not work if one tries to use Mesos containerizer.

The main problem is that we want to make sure the executor is not killed when 
agent crashes. So we have to use --pid=host so that the agent is in the host 
pid namespace.

But that is not sufficient, Docker daemon will put agent into all cgroups 
available on the host. We need to make sure we migrate the executor pid out of 
those cgroups so that when agent crashes, executors are not killed.

  was:
Currently, this does not work if try to use Mesos containerizer.

The main problem is that we want to make sure the executor is not killed when 
agent crashes. So we have to use --pid=host so that the agent is in the host 
pid namespace.

But that is not sufficient, Docker daemon will put agent into all cgroups 
available on the host. We need to make sure we migrate the executor pid out of 
those cgroups so that when agent crashes, executors are not killed.


> Support running Mesos agent in a Docker container.
> --------------------------------------------------
>
>                 Key: MESOS-5544
>                 URL: https://issues.apache.org/jira/browse/MESOS-5544
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Jie Yu
>
> Currently, this does not work if one tries to use Mesos containerizer.
> The main problem is that we want to make sure the executor is not killed when 
> agent crashes. So we have to use --pid=host so that the agent is in the host 
> pid namespace.
> But that is not sufficient, Docker daemon will put agent into all cgroups 
> available on the host. We need to make sure we migrate the executor pid out 
> of those cgroups so that when agent crashes, executors are not killed.



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

Reply via email to