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

Miklos Szegedi commented on YARN-7337:
--------------------------------------

Thank you for the patch [~haibochen].
{code}
168        * Get the <em>number of allocated guaranteed containers</em> on the 
node.
{code}
I understand that we need to keep backward compatibility. However, naming a 
method getNumContainers but returning the allocated guaranteed ones break 
compatibility as well. I think a better long term approach would be to add 
getNumOpportunisticContainers, getNumGuaranteedContainers and keep the 
getNumContainers returning the sum of the other two.

> Expose per-node over-allocation info in Node Report
> ---------------------------------------------------
>
>                 Key: YARN-7337
>                 URL: https://issues.apache.org/jira/browse/YARN-7337
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Haibo Chen
>            Assignee: Haibo Chen
>         Attachments: YARN-7337-YARN-1011.00.patch, 
> YARN-7337-YARN-1011.01.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to