[
https://issues.apache.org/jira/browse/YARN-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778174#comment-13778174
]
Sandy Ryza commented on YARN-1221:
----------------------------------
{code}
- this.totalMB = availableMB + reservedMB + allocatedMB;
+ this.totalMB = availableMB;
{code}
Total MB should still include allocatedMB. I agree that reservedMB should be
removed from it, but I think this is work for a separate JIRA. This one is for
dealing with why reservedMB is calculated incorrectly.
{code}
- getMetrics().reserveResource(app.getUser(),
- container.getResource());
{code}
Can you explain the rationale behind removing this?
> With Fair Scheduler, reserved MB reported in RM web UI increases indefinitely
> -----------------------------------------------------------------------------
>
> Key: YARN-1221
> URL: https://issues.apache.org/jira/browse/YARN-1221
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager, scheduler
> Affects Versions: 2.1.0-beta
> Reporter: Sandy Ryza
> Attachments: YARN1221_v1.patch.txt
>
>
--
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