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

Quota is over-allocated when used with hierarchical roles.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      Consider following case: role a is quota'd with resource 100, role a/b is quota'd with resource 40. In current implementation, quota of parent role is actually the aggregation of quota in whole subtree, including itself. Therefore, the internal node of a is actually quota'd with 60, instead of 100. In another word, allocation made for quota of a/b should also be charged from the quota of its parent.

        Attachments

        1. hrole_quota_test.patch
          3 kB
          Neil Conway

          Issue Links

            Activity

              People

              • Assignee:
                guoger Jay Guo
                Reporter:
                guoger Jay Guo
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: