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

Wire `UPDATE_QUOTA` call.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: None
    • Epic Link:
    • Sprint:
      Resource Mgmt: RI-16 Sp 50, Resource Mgmt: RI-16 51
    • Story Points:
      5

      Description

      Wire the existing master, auth, registar, and allocator pieces together to complete the `UPDATE_QUOTA` call.

      This would enable the master capability `QUOTA_V2`.

      This also fixes the "ignoring zero resource quota" bug in the old quota implementation, namely:

      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.

      With the completion of `UPDATE_QUOTA` which takes a map of name, scalar values, zero value will no longer be dropped.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mzhu Meng Zhu
                Reporter:
                mzhu Meng Zhu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: