incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Boulle (JIRA)" <>
Subject [jira] [Commented] (MESOS-349) remove mounts when garbage collecting tasks
Date Wed, 24 Apr 2013 00:33:16 GMT


Jonathan Boulle commented on MESOS-349:

Well, when the slave tries to GC the sandbox, it fails if there are any mounts within the
sandbox (e.g. rm -rf against a bind-mounted /proc will never succeed).

Forcibly unmounting anything mounted within the sandbox, before the tree cleanup, is exactly
what I meant - since the GC is basically a "purge with prejudice" operation, it seems like
a reasonable addition to me. 
> remove mounts when garbage collecting tasks
> -------------------------------------------
>                 Key: MESOS-349
>                 URL:
>             Project: Mesos
>          Issue Type: Improvement
>          Components: slave
>            Reporter: Jonathan Boulle
>            Priority: Minor
> It would be extremely helpful if the GC process on a slave (which is currently effectively
just an {{rm -rf}}) could also remove mounts within the executor sandbox. 
> This would allow sandboxes to incorporate mounts from different filesystems, for example,
or to utilise chroots (which require various mounts to function properly - e.g. {{/proc}}
and {{/sys}} on Linux) - and still be cleaned up by the mesos slave without any external intervention.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message