Guangya Liu created MESOS-4123:
----------------------------------
Summary: Enable agent/master know resource type is USAGE_SLACK for
QoS Controller related resources
Key: MESOS-4123
URL: https://issues.apache.org/jira/browse/MESOS-4123
Project: Mesos
Issue Type: Bug
Reporter: Guangya Liu
Now the master/agent have endpoint to get all revocable resources but the
current revocable resources are only for QoS controller.
The current use of those resource are only for some display issues, but we may
need those APIs in future such as MESOS-2647 , it need to calculate if there
are enough usage_slack revocable resources before launch a task.
So I think that we need to update the helper functions of
{code}_resources_revocable_total{code}
{code}_resources_revocable_used{code}
{code}_resources_revocable_percent{code}
to only get usage_slack revocable resources .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)