[ https://issues.apache.org/jira/browse/YARN-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14243130#comment-14243130 ]
Jian He commented on YARN-2920: ------------------------------- - getUsedResources-> getUsedResourcesByLabel - RMNodeLabelsManager constructor can pass rmContext, instead of a separate setRMDispatcher method - AM container is killed as well, should we not kill the am container until the max-am-percentage is met, similar to preemption? > CapacityScheduler should be notified when labels on nodes changed > ----------------------------------------------------------------- > > Key: YARN-2920 > URL: https://issues.apache.org/jira/browse/YARN-2920 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Wangda Tan > Assignee: Wangda Tan > Attachments: YARN-2920.1.patch, YARN-2920.2.patch, YARN-2920.3.patch, > YARN-2920.4.patch > > > Currently, labels on nodes changes will only be handled by > RMNodeLabelsManager, but that is not enough upon labels on nodes changes: > - Scheduler should be able to do take actions to running containers. (Like > kill/preempt/do-nothing) > - Used / available capacity in scheduler should be updated for future > planning. > We need add a new event to pass such updates to scheduler -- This message was sent by Atlassian JIRA (v6.3.4#6332)