You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2018/05/30 23:46:00 UTC

[jira] [Commented] (MESOS-8968) Mesos ignores quota (limit) with zero value.

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

Benjamin Mahler commented on MESOS-8968:
----------------------------------------

[~jieyu] [~bbannier] FYI

> Mesos ignores quota (limit) with zero value.
> --------------------------------------------
>
>                 Key: MESOS-8968
>                 URL: https://issues.apache.org/jira/browse/MESOS-8968
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Meng Zhu
>            Priority: Major
>              Labels: Quota, allocator
>
> Currently, Mesos discards resource object with zero scalar value when parsing resources. This means quota set to zero would be ignored and not enforced. For example, role with quota set to "cpu:10;mem:10;gpu:0" intends to get no GPU. Due to the above issue, the allocator can only see the quota as "cpu:10;mem:10", and no quota GPU means no guarantee and NO limit. Thus GPUs may still be allocated to this role.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)