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: [email protected]
For additional commands, e-mail: [email protected]