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

Adam B commented on MESOS-2743:
-------------------------------

[~bmahler] The command executor doesn't have an ExecutorInfo, so any of those 
won't show up in the master's list of executors. This may be acceptable for 
some use cases, since we know that command executors have a fixed amount of 
resources (0.1 cpu, 32MB RAM) and can count their resources separately. For 
retrieving sandbox directories, however, we'll discover to know the executorId 
somehow. I wonder if showing some (custom) Executors is better than showing 
none?

> Include ExecutorInfos in master/state.json
> ------------------------------------------
>
>                 Key: MESOS-2743
>                 URL: https://issues.apache.org/jira/browse/MESOS-2743
>             Project: Mesos
>          Issue Type: Improvement
>          Components: json api
>            Reporter: Adam B
>            Assignee: haosdent
>              Labels: mesosphere
>
> The slave/state.json already reports executorInfos:
> https://github.com/apache/mesos/blob/0.22.1/src/slave/http.cpp#L215-219
> Would be great to see this in the master/state.json as well, so external 
> tools don't have to query each slave to find out executor resources, sandbox 
> directories, etc.



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

Reply via email to