[ https://issues.apache.org/jira/browse/YARN-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138720#comment-14138720 ]
Wangda Tan commented on YARN-2500: ---------------------------------- Highlight major changes for easier review: * Properly setup and check label expression according to ResourceRequest, ApplicationSubmissionContext and queue default label expression ** Located in {{ApplicationMasterService}}, {{RMServerUtils#validateResourceRequest}} * In the past, ResourceRequest of AM container created in two places (one in {{RMAppManager}}, another one in {{RMAppAttemptImpl}}), when trying to allocate resource from YarnScheduler, the 2nd ResourceRequest doesn't normalized. Now reduced this to only one: ResourceRequest will be created in {{RMAppManager}} only, and it will pass ResourceRequest to RMAppImpl to allocate resource * Check if a queue has permission to access all labels in label-expression of a ResourceRequest, located in {{SchedulerUtils.validateResourceRequest}} * Added getLabels() and getDefaultLabelExpression to Queue * Added get/set NodeLabelManager in RMContext > [YARN-796] Miscellaneous changes in ResourceManager to support labels > --------------------------------------------------------------------- > > Key: YARN-2500 > URL: https://issues.apache.org/jira/browse/YARN-2500 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Wangda Tan > Assignee: Wangda Tan > Attachments: YARN-2500.patch, YARN-2500.patch, YARN-2500.patch > > > This patches contains changes in ResourceManager to support labels -- This message was sent by Atlassian JIRA (v6.3.4#6332)