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

Daniel Templeton commented on YARN-2497:
----------------------------------------

[~leftnoteasy], it looks to me like {{NODE_LABEL_EXPRESSION_NOT_SET}} has to be 
{{""}}, because it gets submitted as the label expression for the app... Unless 
we want to add a bunch of checks for {{NODE_LABEL_EXPRESSION_NOT_SET}} in the 
scheduler.  I think the better approach would be to do the formatting when we 
print the label expression.  If you don't want duplicate code, we can add a 
helper method.

> Changes for fair scheduler to support allocate resource respect labels
> ----------------------------------------------------------------------
>
>                 Key: YARN-2497
>                 URL: https://issues.apache.org/jira/browse/YARN-2497
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: fairscheduler
>            Reporter: Wangda Tan
>            Assignee: Daniel Templeton
>         Attachments: YARN-2497.001.patch, YARN-2497.002.patch, 
> YARN-2497.003.patch, YARN-2497.004.patch, YARN-2499.WIP01.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