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

Guangya Liu commented on MESOS-3892:
------------------------------------

Is it possible that we do not generate the executor list in master but let 
slave handle this in MVP? The slave already knows all of the executors/tasks 
who is using allocation slack resources, so when launch a new task which 
request resource preemption, the slave can just check and kill some 
executors/tasks to recover those resources, make sense? [~jvanremoortere] 
[~kaysoky] [~hartem] [~klaus1982] 

> 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