You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2017/11/29 23:24:00 UTC

[jira] [Created] (MESOS-8279) Persistent volumes are not visible in Mesos UI using default executor on Linux.

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)