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

Joseph Wu commented on MESOS-3892:
----------------------------------

Yes that's reasonable (and what we discussed in the [work group 
meeting|https://docs.google.com/document/d/1CKMelV6xD_HOsqwbqH3PM24P7ypS_G4oz_MDNxE85D8/edit#bookmark=id.xlfbqnql7ngq]).

Can you update the relevant JIRA's accordingly (rename, update descriptions, 
etc)?

> 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