Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
YARN-4476 Matcher for complex node label expresions
- Patch Available