Alexander Rukletsov created MESOS-2213:
------------------------------------------
Summary: Custom allocators should implement Allocator instead of
AllocatorProcess
Key: MESOS-2213
URL: https://issues.apache.org/jira/browse/MESOS-2213
Project: Mesos
Issue Type: Task
Components: allocation
Reporter: Alexander Rukletsov
Assignee: Alexander Rukletsov
Currently new allocation policies can be added by implementing
{{AllocatorProcess}} interface, while {{Allocator}} class is a thin wrapper
around it. This architecture may be not very favourable, because it imposes
restriction on how allocators should be implemented. Additionally, the current
design is not consistent with other pluggable—or potentially pluggable—Mesos
components, e.g. {{Isolator}}, {{Authenticator}}.
As we are moving to modularizing the allocator, this ticket aims to change the
way we implement allocation policies and instantiate allocators. Allocator
tests and {{MockAllocatorProcess}} will be affected as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)