mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Yu <yujie....@gmail.com>
Subject Re: Review Request 63515: Updated some isolators' usage of ExecutorInfo.
Date Tue, 14 Nov 2017 19:09:56 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63515/#review190988
-----------------------------------------------------------


Ship it!




Ship It!

- Jie Yu


On Nov. 14, 2017, 1:41 a.m., Joseph Wu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63515/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2017, 1:41 a.m.)
> 
> 
> Review request for mesos, Gilbert Song and Jie Yu.
> 
> 
> Bugs: MESOS-7305
>     https://issues.apache.org/jira/browse/MESOS-7305
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> These four isolators refered to the ExecutorInfo field of the given
> ContainerConfig to determine the total resources to isolate.  This
> changes these isolators to refer instead to the Resources field of the
> given ContainerConfig because the resource amounts should be identical
> (enforced by the caller to Containerizer::launch, such as the agent)
> and in order to support standalone containers, which specify resources
> but no ExecutorInfo.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp 549a4551736d1b88a79f275a2d6e19c586c49f26

>   src/slave/containerizer/mesos/isolators/gpu/isolator.cpp 25636b50314cb4ea53d1931c97c87c65ecb658a8

>   src/slave/containerizer/mesos/isolators/network/port_mapping.cpp 55672b14b44005673214aa49aa5ea7be8e7bffb8

>   src/slave/containerizer/mesos/isolators/xfs/disk.cpp 2113f8665e4e84bdf12868f605b480522816a9ba

> 
> 
> Diff: https://reviews.apache.org/r/63515/diff/2/
> 
> 
> Testing
> -------
> 
> make check
> sudo src/mesos-tests
> 
> On... 
> OSX and Ubuntu 16
> 
> 
> Thanks,
> 
> Joseph Wu
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message