mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Rukletsov <>
Subject Re: Review Request 58967: Set the working directory to parent task's for DEBUG containers.
Date Tue, 09 May 2017 14:32:14 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated May 9, 2017, 2:32 p.m.)

Review request for mesos, Gastón Kleiman, Jie Yu, and Vinod Kone.


Fall back to sandbox directory in case of command executor and task with rootfs.

Bugs: MESOS-7433

Repository: mesos


A DEBUG container's working directory should be set to the parent
task's working directory. For the command executor case, even if
the task itself has a root filesystem, the executor container still
uses the host filesystem, hence
`ContainerLaunchInfo.working_directory`, pointing to the executor's
working directory in the host filesystem, may be different from the
task's working directory in the root filesystem.

Diffs (updated)

  include/mesos/slave/containerizer.proto 41f2905df690bfe88ed762f1cd1246689fa4d3ea 
  src/slave/containerizer/mesos/containerizer.cpp 3d724945812c0359ed175ce232f70886dc4401c8




make check on Mac OS and Fedora 24


Alexander Rukletsov

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