Benjamin Bannier created MESOS-8966:
---------------------------------------

             Summary: Operations can contain explicit zero resources
                 Key: MESOS-8966
                 URL: https://issues.apache.org/jira/browse/MESOS-8966
             Project: Mesos
          Issue Type: Bug
          Components: master
            Reporter: Benjamin Bannier


The master does not make sure that resources given as part of operations are 
not empty. While we fixed the case of frameworks sending non-empty resources 
which would internally be rounded to zero as part of MESOS-8945, we still do 
not validate that e.g., frameworks do not attempt to {{RESERVE}} {{cpus:0}} or 
an empty port range.

We still want to allow specifying some resources as explicitly zero to 
distinguish absent or empty resources (currently e.g., used to trigger 
autodetection of {{gpus}} or in the future to set zero quota guarantees), so it 
seems that we could update the validation in {{validateAndUpgradeResources}} to 
require non-empty resources where needed.



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

Reply via email to