[
https://issues.apache.org/jira/browse/MESOS-9874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qian Zhang reassigned MESOS-9874:
---------------------------------
Assignee: Qian Zhang
> 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
>
> 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.3#76005)