The following examples show the job placement policy behavior in various scenarios, based on the sample node labels file:
|
Application Label |
Queue Label |
Queue Policy |
Outcome |
|---|---|---|---|
|
Fast |
High Memory |
PREFER_APP |
The job runs on nodes labeled Fast (hostnames match perfnode200, perfnode202, perfnode204, or devnode100) |
|
Fast |
High Memory |
PREFER_QUEUE |
The job runs on nodes labeled High Memory (hostnames match perfnode201 or perfnode202) |
|
Fast |
High Memory |
AND |
The job runs on nodes only if they are labeled both Fast and High Memory (hostname matches perfnode202) |
|
Fast |
High Memory |
OR |
The job runs on nodes if they are labeled either Fast or High Memory (hostnames match perfnode200, perfnode201, perfnode202, perfnode204, or devnode100) |