[
https://issues.apache.org/jira/browse/YARN-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siqi Li updated YARN-1221:
--------------------------
Attachment: YARN1221_v2.patch.txt
I've added a unit test.
The reason I removed the following line is that application is the same object
as app.
getMetrics().reserveResource(app.getUser(),
container.getResource());
The reason I removed the rootQueueMetrics update is that
getMetrics().reserveResource and getMetrics.unreserveResource actually update
the rootQueueMetrics.
As for the total memory issue, we can create another JIRA to discuss about it
> 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, YARN1221_v2.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