mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles (Jira)" <>
Subject [jira] [Commented] (MESOS-1807) Disallow executors with cpu only or memory only resources
Date Mon, 20 Jan 2020 21:04:00 GMT


Charles commented on MESOS-1807:

BTW, how come this problem doesn't affect the command executor?

> Disallow executors with cpu only or memory only resources
> ---------------------------------------------------------
>                 Key: MESOS-1807
>                 URL:
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Vinod Kone
>            Priority: Major
>         Attachments: Screenshot 2015-07-28 14.40.35.png
> Currently master allows executors to be launched with either only cpus or only memory
but we shouldn't allow that.
> This is because executor is an actual unix process that is launched by the slave. If
an executor doesn't specify cpus, what should the cpu limits be for that executor when there
are no tasks running on it? If no cpu limits are set then it might starve other executors/tasks
on the slave violating isolation guarantees. Same goes with memory. Moreover, the current
containerizer/isolator code will throw failures when using such an executor, e.g., when the
last task on the executor finishes and Containerizer::update() is called with 0 cpus or 0
> According to a source code [TODO |]
this should also include checking whether requested resources are greater than  MIN_CPUS/MIN_BYTES.

This message was sent by Atlassian Jira

View raw message