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

Yan Xu commented on MESOS-6085:
-------------------------------

Similar to MESOS-4668 but MESOS-4668 focuses on the full reservation info 
(including "principal" etc., from the direct protobuf -> JSON conversion).

> Agent's /state endpoint does not include total resources
> --------------------------------------------------------
>
>                 Key: MESOS-6085
>                 URL: https://issues.apache.org/jira/browse/MESOS-6085
>             Project: Mesos
>          Issue Type: Bug
>          Components: slave
>            Reporter: Yan Xu
>
> The agent's /state endpoint exposes a "resources" field but the resources 
> include only those specified in the flags and not the total resources which 
> include (dynamic) reservations.
> This is inconsistent with the master's slave "resources" field which does 
> include these reservations.
> The master also exposes "reserved_resources" and "unreserved_resources" 
> separately.
> We should consider making the agent's "resources" field expose the total as 
> well. (the flags' version is available through the "flags.resources" field). 
> We can add "reserved_resources" and "unreserved_resources" to the agent 
> /state as well.



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

Reply via email to