You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Mohit Soni (JIRA)" <ji...@apache.org> on 2014/10/17 00:52:34 UTC

[jira] [Created] (MESOS-1941) Make executor's user owner of executor's cgroup directory

Mohit Soni created MESOS-1941:
---------------------------------

             Summary: Make executor's user owner of executor's cgroup directory
                 Key: MESOS-1941
                 URL: https://issues.apache.org/jira/browse/MESOS-1941
             Project: Mesos
          Issue Type: Improvement
          Components: isolation, slave
            Reporter: Mohit Soni
            Priority: Minor


Currently, when cgroups are enabled, and executor is spawned, it's mounted under, for ex: /sys/fs/cgroup/cpu/mesos/<mesos-id>. This directory in current implementation is only writable by root user. This prevents process launched by executor to mount its child processes under this cgroup, because the cgroup directory is only writable by root.

To enable a executor spawned process to mount it's child processes under it's cgroup directory, the cgroup directory should be made writable by the user which spawns the executor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)