You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Qian Zhang (JIRA)" <ji...@apache.org> on 2019/07/02 14:28:00 UTC
[jira] [Assigned] (MESOS-9874) Add environment variable
`MESOS_ALLOCATION_ROLE` to the task/container.
[ 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)