You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bin Wang (JIRA)" <ji...@apache.org> on 2017/05/08 08:12:04 UTC

[jira] [Created] (YARN-6569) Multiple conditions on node label expression matching

Bin Wang created YARN-6569:
------------------------------

             Summary: Multiple conditions on node label expression matching
                 Key: YARN-6569
                 URL: https://issues.apache.org/jira/browse/YARN-6569
             Project: Hadoop YARN
          Issue Type: New Feature
          Components: resourcemanager
            Reporter: Bin Wang


Currently Yarn can only support single full nodel label matching, or multiple nodel labels via wildcard expression. wildcard expression has some limitations which requires the all matched nodel labels has some common sections.

To let user can utilize resources more flexible, it's better to enhance the node label expressions in resource requests so that multiple labels can be matched.

Here we introduce logical operators for node labels. Firstly, only "||" and "&&" are supported, "&&" will have higher operator precedence thant "||". Blanks around operators will be trimed. Wildcare expression can be used together with logcial operators.

We intentiaonally not allow the verify generic ANYLABEL because it is very likely to be abused.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org