You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Charles Reiss (Created) (JIRA)" <ji...@apache.org> on 2011/11/15 01:48:51 UTC

[jira] [Created] (MESOS-83) Filters should be removed when more resources are available than rejected offer had

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

                 Key: MESOS-83
                 URL: https://issues.apache.org/jira/browse/MESOS-83
             Project: Mesos
          Issue Type: Bug
          Components: master
            Reporter: Charles Reiss


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MESOS-83) Filters should be removed when more resources are available than rejected offer had

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154734#comment-13154734 ] 

jiraposter@reviews.apache.org commented on MESOS-83:
----------------------------------------------------


-----------------------------------------------------------
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


                
> Filters should be removed when more resources are available than rejected offer had
> -----------------------------------------------------------------------------------
>
>                 Key: MESOS-83
>                 URL: https://issues.apache.org/jira/browse/MESOS-83
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>            Reporter: Charles Reiss
>            Assignee: Charles Reiss
>              Labels: filter, master
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (MESOS-83) Filters should be removed when more resources are available than rejected offer had

Posted by "Charles Reiss (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Reiss reassigned MESOS-83:
----------------------------------

    Assignee: Charles Reiss
    
> Filters should be removed when more resources are available than rejected offer had
> -----------------------------------------------------------------------------------
>
>                 Key: MESOS-83
>                 URL: https://issues.apache.org/jira/browse/MESOS-83
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>            Reporter: Charles Reiss
>            Assignee: Charles Reiss
>              Labels: filter, master
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MESOS-83) Filters should be removed when more resources are available than rejected offer had

Posted by "Charles Reiss (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Reiss resolved MESOS-83.
--------------------------------

    Resolution: Fixed

I believe this has been fixed incidentally as a result of the allocator refactoring.
                
> Filters should be removed when more resources are available than rejected offer had
> -----------------------------------------------------------------------------------
>
>                 Key: MESOS-83
>                 URL: https://issues.apache.org/jira/browse/MESOS-83
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>            Reporter: Charles Reiss
>            Assignee: Charles Reiss
>              Labels: filter, master
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira