You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Niklas Quarfot Nielsen (JIRA)" <ji...@apache.org> on 2015/04/21 21:59:00 UTC

[jira] [Commented] (MESOS-2160) Add support for allocator modules

    [ https://issues.apache.org/jira/browse/MESOS-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14505624#comment-14505624 ] 

Niklas Quarfot Nielsen commented on MESOS-2160:
-----------------------------------------------

commit da607079b473d34d06031943e69cd8e0c24073c5
Author: Alexander Rukletsov <ru...@gmail.com>
Date:   Tue Apr 21 12:12:12 2015 -0700

    Wired up test allocator to allocator tests.
    
    Same typed tests are used for built-in and modularized allocators.
    
    Review: https://reviews.apache.org/r/31268

commit 54b5bdccb43f724353fd3112115e980360e53c9a
Author: Alexander Rukletsov <ru...@gmail.com>
Date:   Tue Apr 21 12:11:58 2015 -0700

    Provided a factory for allocator in tests.
    
    The factory creates allocator instances in a way identical to how
    instances from modules are created. It allows us to use same typed tests
    for built-in and modularized allocators.
    
    Review: https://reviews.apache.org/r/31265

commit ab48d54c0250bffc5542bf68afd648e6a12025ad
Author: Alexander Rukletsov <ru...@gmail.com>
Date:   Tue Apr 21 12:11:37 2015 -0700

    Refactored TestAllocator and allocator text fixture.
    
    TestAllocator owns a pointer to a real allocator. Each test should
    instantiate and destroy Allocator instances explicitly to avoid not
    expected calls.
    
    Review: https://reviews.apache.org/r/31263

commit c97c93e3ee5c6f7286c99b5e623cdcff663fd19b
Author: Alexander Rukletsov <ru...@gmail.com>
Date:   Tue Apr 21 12:11:20 2015 -0700

    Moved allocator actions before TestAllocator.
    
    The allocator actions should be defined before they are used in
    TestAllocator, despite it compiles now since TestAllocator is a
    template.
    
    Review: https://reviews.apache.org/r/31262

commit a5f270fe513ecb50021eb06d429a1a84e260f98a
Author: Alexander Rukletsov <ru...@gmail.com>
Date:   Tue Apr 21 12:11:03 2015 -0700

    Added a test allocator module.
    
    The test allocator module is a built-in HierarchicalDRFAllocator put in
    a module.
    
    NOTE: Here we add harness code to load the module, tests will be wired
    up later in the patch stack.
    
    Review: https://reviews.apache.org/r/31267

commit 079fc0af9600b5407b37cbc6145b99a27a09201c
Author: Alexander Rukletsov <ru...@gmail.com>
Date:   Tue Apr 21 12:10:51 2015 -0700

    Added support for allocator modules.
    
    Review: https://reviews.apache.org/r/31266

commit aabebb14c22492552c77ed471ad56a51c87d4ee1
Author: Alexander Rukletsov <ru...@gmail.com>
Date:   Tue Apr 21 12:10:27 2015 -0700

    Moved RoleInfo to mesos.master namespace.
    
    Since the Allocator is a public interface now, there is no reason to
    keep RoleInfo in mesos.internal. It is ok to change the package because
    RoleInfo is used solely by Master and Allocator, hence there is no
    external communication affected.
    
    Review: https://reviews.apache.org/r/33356

commit f1fc3d76de93b0149e2797e3923f4bf939037c98
Author: Alexander Rukletsov <ru...@gmail.com>
Date:   Tue Apr 21 12:10:07 2015 -0700

    Moved allocator to public headers.
    
    This is required for out-of-tree allocator modules. RoleInfo protobuf
    message has to be extracted into its own public proto file.
    
    Review: https://reviews.apache.org/r/31776

commit 97dce737c0ea8822e37f6eb13cc195039f77c623
Author: Alexander Rukletsov <ru...@gmail.com>
Date:   Tue Apr 21 12:09:09 2015 -0700

    Removed Master::Flags dependency from Allocator.
    
    On the way to moving allocator to public includes we need to remove the
    dependency to internal Master::Flags type.
    
    Review: https://reviews.apache.org/r/31775

> Add support for allocator modules
> ---------------------------------
>
>                 Key: MESOS-2160
>                 URL: https://issues.apache.org/jira/browse/MESOS-2160
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Niklas Quarfot Nielsen
>            Assignee: Alexander Rukletsov
>              Labels: mesosphere
>
> Currently Mesos supports only the DRF allocator, changing which requires hacking Mesos source code, which, in turn, sets a high entry barrier. Allocator modules give an easy possibility to tweak resource allocation policy. This will enable swapping allocation policies without the necessity to edit Mesos source code. Custom allocators may be written by everybody and does not need be distributed together with Mesos.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)