Mesos
  1. Mesos
  2. MESOS-83

Filters should be removed when more resources are available than rejected offer had

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Component/s: master
    • Labels:

      Description

      Currently, if a framework rejects an offer and sets a filter for a slave, then more resources become available (such as by a task finishing), the framework will not get another offer until its filter expires. Instead, the filter should be removed whenever more resources (than at least the size of the rejected offer) become available on the slave.

        Activity

        Charles Reiss created issue -
        Charles Reiss made changes -
        Field Original Value New Value
        Assignee Charles Reiss [ woggle ]
        Hide
        jiraposter@reviews.apache.org added a comment -

        -----------------------------------------------------------
        This is an automatically generated e-mail. To reply, visit:
        https://reviews.apache.org/r/2898/
        -----------------------------------------------------------

        Review request for mesos.

        Summary
        -------

        Note: this is a patch against the MESOS-46 patch to simplify the added test, so either that needs to be committed first or the test needs to be changed substantially.

        This test makes filters installed by rejecting an offer track the amount of resources rejected. The filter will only discard offers for the filtered slave when the offer would be no larger than the rejected offer.

        This addresses bug MESOS-83.
        https://issues.apache.org/jira/browse/MESOS-83

        Diffs


        src/master/master.hpp fdacf36
        src/master/master.cpp b6cfde7
        src/tests/master_tests.cpp 2438114
        src/tests/utils.hpp 02772f7

        Diff: https://reviews.apache.org/r/2898/diff

        Testing
        -------

        Thanks,

        Charles

        Show
        jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/2898/ ----------------------------------------------------------- Review request for mesos. Summary ------- Note: this is a patch against the MESOS-46 patch to simplify the added test, so either that needs to be committed first or the test needs to be changed substantially. This test makes filters installed by rejecting an offer track the amount of resources rejected. The filter will only discard offers for the filtered slave when the offer would be no larger than the rejected offer. This addresses bug MESOS-83 . https://issues.apache.org/jira/browse/MESOS-83 Diffs src/master/master.hpp fdacf36 src/master/master.cpp b6cfde7 src/tests/master_tests.cpp 2438114 src/tests/utils.hpp 02772f7 Diff: https://reviews.apache.org/r/2898/diff Testing ------- Thanks, Charles
        Charles Reiss made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Charles Reiss added a comment -

        I believe this has been fixed incidentally as a result of the allocator refactoring.

        Show
        Charles Reiss added a comment - I believe this has been fixed incidentally as a result of the allocator refactoring.
        Charles Reiss made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12642108 ] Mesos workflow [ 12741214 ]
        Vinod Kone made changes -
        Fix Version/s 0.10.0 [ 12324389 ]
        Vinod Kone made changes -
        Affects Version/s 0.9.0 [ 12319875 ]
        Tony Stevenson made changes -
        Workflow Mesos workflow [ 12741214 ] Copy of Mesos workflow [ 13028612 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        15d 20h 25m 1 Charles Reiss 30/Nov/11 21:12
        In Progress In Progress Resolved Resolved
        280d 7h 19m 1 Charles Reiss 06/Sep/12 04:31

          People

          • Assignee:
            Charles Reiss
            Reporter:
            Charles Reiss
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development