[
https://issues.apache.org/jira/browse/MESOS-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14634155#comment-14634155
]
Benjamin Mahler commented on MESOS-3090:
----------------------------------------
Where did the 3.9999999999999973 come from, an endpoint? Which version of mesos
are you running?
Can you post the very beginning of the slave log? (I'm looking for where we
log the slave resources at start-up).
> Calculated CPU should be rounded
> --------------------------------
>
> Key: MESOS-3090
> URL: https://issues.apache.org/jira/browse/MESOS-3090
> Project: Mesos
> Issue Type: Bug
> Reporter: Andrew Jorgensen
>
> 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
> {quote}
> "name":"cpus",
> "scalar":3.9999999999999973
> {quote}
> 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:
> {quote}
> --resources='cpus:4'
> {quote}
> But this would be hard to manage if the worker pool is at all heterogenous.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)