Jie Yu created MESOS-8279:
-----------------------------
Summary: Persistent volumes are not visible in Mesos UI using
default executor on Linux.
Key: MESOS-8279
URL: https://issues.apache.org/jira/browse/MESOS-8279
Project: Mesos
Issue Type: Bug
Affects Versions: 1.4.1, 1.3.1, 1.2.2
Reporter: Jie Yu
The reason is because on Linux, if multiple containers in a default executor
want to share a persistent volume, it'll use SANDBOX_PATH volume source with
type PARENT. This will be translated into a bind mount in the nested
container's mount namespace, thus not visible in the host mount namespace.
Mesos UI operates in the host mount namespace.
One potential solution for that is to create a symlink (instead of just a
mkdir) in the sandbox. The symlink will be shadowed by the bind mount in the
nested container, but in the host mount namespace, it'll points to the
corresponding persistent volume.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)