mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guangya Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-4123) Enable agent/master know resource type is USAGE_SLACK for QoS Controller related resources
Date Fri, 11 Dec 2015 02:22:11 GMT

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

Guangya Liu commented on MESOS-4123:
------------------------------------

To keep compatibility issue, I think that we can add some new helper functions to get usage_slack
resources in both master and agent. 

> 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)

Mime
View raw message