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

Meng Zhu commented on MESOS-9314:
---------------------------------

We can generalize this to other quantity related API as well. For example, 
`min_allocatable_resources` (currently only accept simple string).

> Consider introducing a ScalarResourceQuantity protobuf message.
> ---------------------------------------------------------------
>
>                 Key: MESOS-9314
>                 URL: https://issues.apache.org/jira/browse/MESOS-9314
>             Project: Mesos
>          Issue Type: Improvement
>          Components: HTTP API
>            Reporter: Benjamin Mahler
>            Priority: Major
>
> As part of introducing quota limits, we're adding a new master::Call for 
> updating quota. This call can take a simplified message that expresses scalar 
> resource quantities:
> {code}
> message ScalarResourceQuantity {
>   required string name;
>   required Value::Scalar quantity;
> }
> {code}
> This greatly simplified the validation code, as well as the UX of the API 
> when it comes to knowing what kind of data to provide.
> Ideally, the new quota paths can use this message in lieu of Resource 
> objects, but we'll have to explore backwards compatibility (e.g. registry 
> data).



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

Reply via email to