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

Haibo Chen commented on YARN-4511:
----------------------------------

Patch updated to address the follow major issues:
1) rename SchedulerNode.launchedContainers to allocatedContainers to avoid 
confusion with the launchedOnNode tag.
2) rename allocationInThisHeart  to resourcesOfContainersPendingLaunch which is 
incremented when containers are allocated and decremented when containers are 
launched on the node. It is now detached from node heartbeat, should also be 
fine in the case of global scheduler.
3) replace two nodes passed to ContainerUpdateContext.swap() with a single 
node, given Arun's comment that container update is done locally on a node.

> Common scheduler changes supporting scheduler-specific implementations
> ----------------------------------------------------------------------
>
>                 Key: YARN-4511
>                 URL: https://issues.apache.org/jira/browse/YARN-4511
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Wangda Tan
>            Assignee: Haibo Chen
>         Attachments: YARN-4511-YARN-1011.00.patch, 
> YARN-4511-YARN-1011.01.patch, YARN-4511-YARN-1011.02.patch, 
> YARN-4511-YARN-1011.03.patch, YARN-4511-YARN-1011.04.patch
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to