You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Klaus Ma (JIRA)" <ji...@apache.org> on 2015/11/22 15:06:10 UTC

[jira] [Commented] (MESOS-3892) Add a helper function to the Agent to retrieve the list of executors that are using optimistically offered, revocable resources.

    [ 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)