Defining a Queue Label Policy

A queue label policy determines whether an application label or a queue label prevails when there is a conflict between the two. For YARN applications, you can set the following queue label policies:

  • PREFER_QUEUE — always use label set on queue

  • PREFER_APP — always use label set on application

  • AND (default) — application label AND queue label

  • OR — application label OR queue label

See the following sections for directions on setting the queue label policy for Fair Scheduler and Capacity Scheduler.