You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Kapil Arya (JIRA)" <ji...@apache.org> on 2016/11/10 15:21:58 UTC

[jira] [Commented] (MESOS-6396) Hooks should allow sandbox dependent environment variables.

    [ https://issues.apache.org/jira/browse/MESOS-6396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15654316#comment-15654316 ] 

Kapil Arya commented on MESOS-6396:
-----------------------------------

Just left a comment on the RR. Basically, wondering if we can create something similar to `ContainerPrepareInfo` (https://github.com/apache/mesos/blob/master/include/mesos/slave/containerizer.proto#L142) for Docker containers as well.

> Hooks should allow sandbox dependent environment variables.
> -----------------------------------------------------------
>
>                 Key: MESOS-6396
>                 URL: https://issues.apache.org/jira/browse/MESOS-6396
>             Project: Mesos
>          Issue Type: Improvement
>    Affects Versions: 1.1.0
>            Reporter: Till Toenshoff
>            Assignee: Till Toenshoff
>              Labels: containerizer, docker, hooks, module
>
> The {{slaveExecutorEnvironmentDecorator}} hook is the only one that allows mutating the executor environment of a Docker container. That callback has no means of getting the location of the sandbox. That in turn means that it is not possible for a hook to create files and respective environment variables listing  paths within the sandbox for the executor to access.



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