Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8966

Operations can contain explicit zero resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • master
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbannier Benjamin Bannier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: