Details
Description
If a task is submitted with a tiny CPU request e.g. 0.0004, then when it completes the master crashes due to a CHECK failure:
F0302 10:48:26.654909 15391 sorter.cpp:291] Check failed: allocations[name].resources[slaveId].contains(resources)
I can reproduce this with the following command:
mesos-execute --command='sleep 5' --master=$MASTER --name=crashtest --resources='cpus:0.0004;mem:128'
If I replace 0.0004 with 0.001 the issue no longer occurs.
Attachments
Issue Links
- is duplicated by
-
MESOS-7382 Master dies when task resources are set to less than minimum
- Resolved
- is related to
-
MESOS-7382 Master dies when task resources are set to less than minimum
- Resolved
-
MESOS-1807 Disallow executors with cpu only or memory only resources
- Accepted
- is superceded by
-
MESOS-4687 Implement reliable floating point for scalar resources
- Resolved