Queue Labels

Queue Labels are defined using the mapred.queue.<queue-name>.label parameter in mapred-site.xml (MapReduce v1). The corresponding parameter mapred.queue.<queue-name>.label.policy specifies one of the following policies that determine the precedence of queue labels and job labels:

  • PREFER_QUEUE — always use label set on queue
  • PREFER_JOB — always use label set on job
  • AND (default) — job label AND queue label
  • OR — job label OR queue label

You can set a default queue policy using mapred.queue.default.label.