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

Gilbert Song commented on MESOS-9874:
-------------------------------------

commit fe89151e053e5c932f920b839ad00792f99ae42c
Author: Qian Zhang <zhq527...@gmail.com>
Date:   Mon Jul 29 23:33:59 2019 -0700

    Added a test `ROOT_DOCKER_AllocationRoleEnvironmentVariable`.
    
    Review: https://reviews.apache.org/r/71004/

commit 11cfb1cad77551f643ad29167766962ac2a71de5
Author: Qian Zhang <zhq527...@gmail.com>
Date:   Mon Jul 29 23:33:57 2019 -0700

    Added a test `DefaultExecutorTest.AllocationRoleEnvironmentVariable`.
    
    Review: https://reviews.apache.org/r/71003/

commit 6f8fcfde600869eda12d17015be0c68ac3bba0d2
Author: Qian Zhang <zhq527...@gmail.com>
Date:   Mon Jul 29 23:33:56 2019 -0700

    Added a test `CommandExecutorTest.AllocationRoleEnvironmentVariable`.
    
    Review: https://reviews.apache.org/r/71002/

> Add environment variable `MESOS_ALLOCATION_ROLE` to the task/container.
> -----------------------------------------------------------------------
>
>                 Key: MESOS-9874
>                 URL: https://issues.apache.org/jira/browse/MESOS-9874
>             Project: Mesos
>          Issue Type: Task
>          Components: containerization
>            Reporter: Gilbert Song
>            Assignee: Qian Zhang
>            Priority: Major
>              Labels: containerization
>             Fix For: 1.9.0
>
>
> Set this env var as the role from the task resource. Here is an example:
> https://github.com/apache/mesos/blob/master/src/master/readonly_handler.cpp#L197
> We probably want to set this env from executors, by adding this env to 
> CommandInfo.
> Mesos and docker containerizers should be supported.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to