[ https://issues.apache.org/jira/browse/MESOS-2933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bartek Plotka updated MESOS-2933: --------------------------------- Description: For some triggers and sophisticated calculations in the Estimator and QoSController it is necessary to know the total slave's resources. These 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. was: 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. > Pass slave's total resources to the 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 the Estimator and > QoSController it is necessary to know the total slave's resources. These > 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)