----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35585/#review88442 -----------------------------------------------------------
A few high level comments: 1) Let's use an enum instead of an unstructured int to encode the namespaces 2) Let's get a test wired up 3) Think about Mac compatibility while introducing the enum :) - Niklas Nielsen On June 17, 2015, 9:34 p.m., Kapil Arya wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/35585/ > ----------------------------------------------------------- > > (Updated June 17, 2015, 9:34 p.m.) > > > Review request for mesos, Ian Downes and Niklas Nielsen. > > > Bugs: MESOS-2884 > https://issues.apache.org/jira/browse/MESOS-2884 > > > Repository: mesos > > > Description > ------- > > This would enable the MesosContainerizer to pass on a list of namespaces > to LinuxLauncher instead of having LinuxLauncher guess it from the > isolation flags. > > > Diffs > ----- > > include/mesos/slave/isolator.hpp 18edc030367e42240090f2f3dbc92aec7a4c6234 > src/slave/containerizer/isolator.cpp > d51ecc9347cafef90c92a6965e37f417b4929e79 > src/slave/containerizer/isolators/filesystem/shared.hpp > 08c6ffea0e2fada8e0b04f4ab15d8569c5416a8e > src/slave/containerizer/isolators/namespaces/pid.hpp > 6b24e2990311d0b09b3f6f2bb4ab29ee83fddddc > src/slave/containerizer/isolators/network/port_mapping.hpp > 7777ee869ce71a68f51d58159c701d3c5d1e502b > > Diff: https://reviews.apache.org/r/35585/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Kapil Arya > >
