Yan Xu created MESOS-8083:
-----------------------------

             Summary: Mesos containerizer should run isolate() sequentially.
                 Key: MESOS-8083
                 URL: https://issues.apache.org/jira/browse/MESOS-8083
             Project: Mesos
          Issue Type: Improvement
          Components: containerization
            Reporter: Yan Xu


Currently all the isolate() calls to all isolators are done in parallel, unlike 
prepare() and destroy(), which are done sequentially.

The following comment was provided as justification: 
https://github.com/apache/mesos/blob/615f1f0bcdfab4df264f37d2ebf528da2e6aa426/src/slave/containerizer/mesos/containerizer.cpp#L1894-L1907

{noformat:title=}
  // Isolate the executor with each isolator.
  // NOTE: This is done is parallel and is not sequenced like prepare
  // or destroy because we assume there are no dependencies in
  // isolation.
{noformat}

However this is not strictly true, especially it's uncertain for isolator 
modules. To be safe we should just handle it consistently with other isolator 
calls and make it sequential.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to