Bartek Plotka created MESOS-2933:
------------------------------------
Summary: Pass slave's total resources to ResourceEstimator and
QoSController via Slave::usage().
Key: MESOS-2933
URL: https://issues.apache.org/jira/browse/MESOS-2933
Project: Mesos
Issue Type: Task
Reporter: Bartek Plotka
For some triggers and sophisticated calculations in Estimator and QoSController
it is necessary to know the total slave's resources. Total slave resources
keeps changing due to dynamic reservations, so it cannot be passed during
initialization. Thanks of https://issues.apache.org/jira/browse/MESOS-2818 it
can be a part of ResourceUsage proto and be passed via Slave::usage()
This task includes:
1. Add 'total' to ResourceUsage (mesos.proto). There is TODO for that in code.
2. Fetch 'total' and attach it' to usage in Slave::usage() method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)