Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
My mesos worker pool consists of 4 core machines in AWS. When I look at the calculated amount of CPU that each machine is offering it looks like
"name":"cpus",
"scalar":3.9999999999999973
It feels like this number should be rounded up to the nearest thousands so that a job does not need to specify 3.9 CPU but can just specify the full 4.
This can be remedied by adding the following to the worker machines:
--resources='cpus:4'
But this would be hard to manage if the worker pool is at all heterogenous.
Attachments
Issue Links
- duplicates
-
MESOS-3552 CHECK failure due to floating point precision on reservation request
- Resolved
- is related to
-
MESOS-1187 precision errors with allocation calculations
- Resolved
-
MESOS-3997 Switch to fixed-point for resources
- Accepted