| <?xml version="1.0"?> |
| <!-- |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. See accompanying LICENSE file. |
| --> |
| |
| <!-- |
| This file contains queue allocations for the Capacity Scheduler. |
| Its format is explained in the Capacity Scheduler documentation at |
| http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html. |
| The documentation also includes a sample config file. |
| --> |
| |
| <configuration> |
| <property> |
| <name>yarn.scheduler.capacity.root.queues</name> |
| <value>sls_queue_1,sls_queue_2,sls_queue_3</value> |
| <description>The queues at the this level (root is the root queue). |
| </description> |
| </property> |
| |
| <property> |
| <name>yarn.scheduler.capacity.root.sls_queue_1.capacity</name> |
| <value>25</value> |
| </property> |
| |
| <property> |
| <name>yarn.scheduler.capacity.root.sls_queue_1.maximum-capacity</name> |
| <value>100</value> |
| </property> |
| |
| <property> |
| <name>yarn.scheduler.capacity.root.sls_queue_2.capacity</name> |
| <value>25</value> |
| </property> |
| |
| <property> |
| <name>yarn.scheduler.capacity.root.sls_queue_2.maximum-capacity</name> |
| <value>100</value> |
| </property> |
| |
| <property> |
| <name>yarn.scheduler.capacity.root.sls_queue_3.capacity</name> |
| <value>50</value> |
| </property> |
| |
| <property> |
| <name>yarn.scheduler.capacity.root.sls_queue_3.maximum-capacity</name> |
| <value>100</value> |
| </property> |
| </configuration> |