| <?xml version="1.0" encoding="UTF-8"?> |
| <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> |
| <!-- |
| 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. |
| --> |
| |
| <configuration> |
| <property> |
| <name>yarn.resourcemanager.scheduler.class</name> |
| <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler</value> |
| <!-- <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler</value> --> |
| <!-- <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler</value> --> |
| </property> |
| |
| <property> |
| <description>The address of the RM web application.</description> |
| <name>yarn.resourcemanager.webapp.address</name> |
| <value>localhost:18088</value> |
| </property> |
| |
| <property> |
| <name>yarn.resourcemanager.resource-tracker.address</name> |
| <value>localhost:18031</value> |
| </property> |
| |
| <property> |
| <description>The address of the scheduler interface.</description> |
| <name>yarn.resourcemanager.scheduler.address</name> |
| <value>localhost:18030</value> |
| </property> |
| |
| <property> |
| <description>The address of the applications manager interface in the RM.</description> |
| <name>yarn.resourcemanager.address</name> |
| <value>localhost:18032</value> |
| </property> |
| |
| <property> |
| <description>The address of the RM admin interface.</description> |
| <name>yarn.resourcemanager.admin.address</name> |
| <value>localhost:18033</value> |
| </property> |
| |
| <property> |
| <description>Set to false, to avoid ip check</description> |
| <name>hadoop.security.token.service.use_ip</name> |
| <value>false</value> |
| </property> |
| |
| <property> |
| <name>yarn.scheduler.capacity.maximum-applications</name> |
| <value>1000</value> |
| <description>Maximum number of applications in the system which |
| can be concurrently active both running and pending</description> |
| </property> |
| |
| <property> |
| <description>Whether to use preemption. Note that preemption is experimental |
| in the current version. Defaults to false.</description> |
| <name>yarn.scheduler.fair.preemption</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <description>Whether to allow multiple container assignments in one |
| heartbeat. Defaults to false.</description> |
| <name>yarn.scheduler.fair.assignmultiple</name> |
| <value>true</value> |
| </property> |
| </configuration> |