[ 
https://issues.apache.org/jira/browse/YARN-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sunil G updated YARN-4865:
--------------------------
    Attachment: 0002-YARN-4865.patch

Thank you [~leftnoteasy] for the comments. Sharing an updated patch.

I think its better to call {{incReservedResource}} from 
{{LeafQueue#assignContainers}} than from {{allocateResource}}. Do you see its 
fine? Because recoverContainer also call  {{allocateResource}}.

> Track Reserved resources in ResourceUsage and QueueCapacities 
> --------------------------------------------------------------
>
>                 Key: YARN-4865
>                 URL: https://issues.apache.org/jira/browse/YARN-4865
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.7.2
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: 0001-YARN-4865.patch, 0002-YARN-4865.patch
>
>
> As discussed in YARN-4678, capture reserved capacity separately in 
> QueueCapcities for better tracking. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to