Yan Xu created MESOS-6085:
-----------------------------

             Summary: 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