[ 
https://issues.apache.org/jira/browse/YARN-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778196#comment-13778196
 ] 

Siqi Li commented on YARN-1221:
-------------------------------

{code}
-      getMetrics().reserveResource(app.getUser(),
-          container.getResource());
{code}

The reason I removed the code above is that there is no corresponding
unreserve method got called. In addition, app.getUser() and
application.getUser() return the same user.

Maybe we could add getMetrics().unreserveResource(app.getUser(),
container.getResource());
into corresponding unreserve block.

As far as I saw from the webUI, the available memory never get decremented
when it allocates memory to mr jobs. It actually reflects the totally
memory





                
> 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

Reply via email to