Go through official docs

  • For the official docs of Yarn node label, plase see here.

Overview

  • Node label is a way to group nodes with similiar characteristics and applications can specify where to run.
  • Now only node partition is supported, which is:
    • One node can have only one node partition, so a cluster is partitioned to serveral disjoint sub-clusters by node partitions.
    • User need to configure how much resources of each partition can be used by different queues.
    • There are two kinds of node partitions:
      • Exclusive: containers will be allocated to nodes with exactly match node partition.
      • Non-exclusive: if a partition is non-exclusive, it shares idle resource to container request DEFAULT partition.

Features