[
https://issues.apache.org/jira/browse/YARN-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652107#comment-13652107
]
Sandy Ryza commented on YARN-656:
---------------------------------
Agreed that memory total should be the total amount of memory in the cluster.
In the fair scheduler, and I'm pretty sure the capacity scheduler as well, a
reservation is a promise that the next time resources on a certain node free
up, they will go to a particular application. The purpose of these is to
prevent larger container requests from starving. So it doesn't really make
sense to subtract these from availableMB, because they overlap with allocatedMB.
> In scheduler UI, "Memory Total" should not include reserved memory.
> -------------------------------------------------------------------
>
> Key: YARN-656
> URL: https://issues.apache.org/jira/browse/YARN-656
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager, scheduler
> Affects Versions: 2.0.4-alpha
> Reporter: Sandy Ryza
> Assignee: Sandy Ryza
>
> "Memory Total" is currently a sum of availableMB, allocatedMB, and
> reservedMB. Including reservedMB in this sum can make the total exceed the
> capacity of the cluster.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira