You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alexander Rukletsov (JIRA)" <ji...@apache.org> on 2015/12/03 17:40:10 UTC

[jira] [Created] (MESOS-4058) Do not use `Resource.role` for resources in quota request

Alexander Rukletsov created MESOS-4058:
------------------------------------------

             Summary: Do not use `Resource.role` for resources in quota request
                 Key: MESOS-4058
                 URL: https://issues.apache.org/jira/browse/MESOS-4058
             Project: Mesos
          Issue Type: Improvement
          Components: master
            Reporter: Alexander Rukletsov
            Assignee: Alexander Rukletsov


To be consistent with other operator endpoints and to adhere to the principal of least surprise, move role from each {{Resource}} in quota set request to the request itself. 

{{Resource.role}} is used for reserved resources. Since quota is not a direct reservation request, to avoid confusion we shall not reuse this field for communicating the role for which quota should be reserved.

As food for thought we may want to introduce a schema or a typed object per each quota request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)