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

Arun Suresh commented on YARN-8809:
-----------------------------------

Got it... So, in essence, FS has a unified code path for completing O and G 
containers, but it is different in the CS.
Maybe more intuitive if we move the current implementation of 
{{completeOpportunisticContainerInternal}} method from the 
AbstractYarnScheduler into the CS and in the AbstractYarnScheduler, have the 
default implementation of {{completeOpportunisticContainerInternal}} just call 
{{completeGuaranteedContainerInternal}} ?

> Fair Scheduler does not decrement queue metrics when OPPORTUNISTIC containers 
> are released.
> -------------------------------------------------------------------------------------------
>
>                 Key: YARN-8809
>                 URL: https://issues.apache.org/jira/browse/YARN-8809
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: fairscheduler
>    Affects Versions: YARN-1011
>            Reporter: Haibo Chen
>            Assignee: Haibo Chen
>            Priority: Major
>         Attachments: YARN-8809-YARN-1011.00.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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