Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6569

Multiple conditions on node label expression matching

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • resourcemanager
    • 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

          Activity

            People

              Unassigned Unassigned
              biwang Bin Wang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: