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

Klaus Ma commented on MESOS-3892:
---------------------------------

For command line tasks, there's no executor_info in master. In MESOS-1718, 
we're going to build {{ExecutorInfo}} instead of slave/agent; so master will 
aware of Executor of command line.

> Add a helper function to the Agent to retrieve the list of executors that are 
> using optimistically offered, revocable resources.
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-3892
>                 URL: https://issues.apache.org/jira/browse/MESOS-3892
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Artem Harutyunyan
>            Assignee: Klaus Ma
>              Labels: mesosphere
>
> {noformat}
> class Slave {
>   ...
>   // How the master currently keeps track of executors.
>   hashmap<FrameworkID, hashmap<ExecutorID, ExecutorInfo>> executors;
>   ...
>   // Returns the list of executors that are using optimistically-
>   // offered, revocable resources.
>   list<ExecutorID> getEvictableExecutors() { ... }
>   ...
> }
> {noformat}



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

Reply via email to