MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<?xml version="1.0"?>
|
2011-11-02 00:50:41 +00:00
|
|
|
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You 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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- Do not modify this file directly. Instead, copy entries that you -->
|
|
|
|
<!-- wish to modify from this file into yarn-site.xml and change them -->
|
|
|
|
<!-- there. If yarn-site.xml does not already exist, create it. -->
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<configuration>
|
2011-09-09 01:44:58 +00:00
|
|
|
|
|
|
|
<!-- IPC Configs -->
|
|
|
|
<property>
|
|
|
|
<description>Factory to create client IPC classes.</description>
|
|
|
|
<name>yarn.ipc.client.factory.class</name>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Type of serialization to use.</description>
|
|
|
|
<name>yarn.ipc.serializer.type</name>
|
|
|
|
<value>protocolbuffers</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Factory to create server IPC classes.</description>
|
|
|
|
<name>yarn.ipc.server.factory.class</name>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Factory to create IPC exceptions.</description>
|
|
|
|
<name>yarn.ipc.exception.factory.class</name>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Factory to create serializeable records.</description>
|
|
|
|
<name>yarn.ipc.record.factory.class</name>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>RPC class implementation</description>
|
|
|
|
<name>yarn.ipc.rpc.class</name>
|
|
|
|
<value>org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<!-- Resource Manager Configs -->
|
2013-04-03 21:04:23 +00:00
|
|
|
<property>
|
|
|
|
<description>The hostname of the RM.</description>
|
|
|
|
<name>yarn.resourcemanager.hostname</name>
|
|
|
|
<value>0.0.0.0</value>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>The address of the applications manager interface in the RM.</description>
|
|
|
|
<name>yarn.resourcemanager.address</name>
|
2013-04-03 21:04:23 +00:00
|
|
|
<value>${yarn.resourcemanager.hostname}:8032</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The number of threads used to handle applications manager requests.</description>
|
|
|
|
<name>yarn.resourcemanager.client.thread-count</name>
|
2012-01-26 21:37:28 +00:00
|
|
|
<value>50</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The expiry interval for application master reporting.</description>
|
2011-12-14 19:55:22 +00:00
|
|
|
<name>yarn.am.liveness-monitor.expiry-interval-ms</name>
|
2011-09-09 01:44:58 +00:00
|
|
|
<value>600000</value>
|
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>The Kerberos principal for the resource manager.</description>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<name>yarn.resourcemanager.principal</name>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>The address of the scheduler interface.</description>
|
|
|
|
<name>yarn.resourcemanager.scheduler.address</name>
|
2013-04-03 21:04:23 +00:00
|
|
|
<value>${yarn.resourcemanager.hostname}:8030</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>Number of threads to handle scheduler interface.</description>
|
|
|
|
<name>yarn.resourcemanager.scheduler.client.thread-count</name>
|
2012-01-26 21:37:28 +00:00
|
|
|
<value>50</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
2013-10-06 18:43:36 +00:00
|
|
|
<property>
|
|
|
|
<description>
|
|
|
|
This configures the HTTP endpoint for Yarn Daemons.The following
|
|
|
|
values are supported:
|
|
|
|
- HTTP_ONLY : Service is provided only on http
|
|
|
|
- HTTPS_ONLY : Service is provided only on https
|
|
|
|
</description>
|
|
|
|
<name>yarn.http.policy</name>
|
|
|
|
<value>HTTP_ONLY</value>
|
|
|
|
</property>
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2013-10-02 06:31:27 +00:00
|
|
|
<description>The http address of the RM web application.</description>
|
2011-09-09 01:44:58 +00:00
|
|
|
<name>yarn.resourcemanager.webapp.address</name>
|
2013-04-03 21:04:23 +00:00
|
|
|
<value>${yarn.resourcemanager.hostname}:8088</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2013-10-02 06:31:27 +00:00
|
|
|
<property>
|
|
|
|
<description>The https adddress of the RM web application.</description>
|
|
|
|
<name>yarn.resourcemanager.webapp.https.address</name>
|
|
|
|
<value>${yarn.resourcemanager.hostname}:8090</value>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<name>yarn.resourcemanager.resource-tracker.address</name>
|
2013-04-03 21:04:23 +00:00
|
|
|
<value>${yarn.resourcemanager.hostname}:8031</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
2011-10-20 11:45:38 +00:00
|
|
|
<description>Are acls enabled.</description>
|
|
|
|
<name>yarn.acl.enable</name>
|
2011-10-17 04:08:36 +00:00
|
|
|
<value>true</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-10-20 11:45:38 +00:00
|
|
|
<description>ACL of who can be admin of the YARN cluster.</description>
|
|
|
|
<name>yarn.admin.acl</name>
|
2011-09-09 01:44:58 +00:00
|
|
|
<value>*</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>The address of the RM admin interface.</description>
|
|
|
|
<name>yarn.resourcemanager.admin.address</name>
|
2013-04-03 21:04:23 +00:00
|
|
|
<value>${yarn.resourcemanager.hostname}:8033</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Number of threads used to handle RM admin interface.</description>
|
|
|
|
<name>yarn.resourcemanager.admin.client.thread-count</name>
|
|
|
|
<value>1</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>How often should the RM check that the AM is still alive.</description>
|
|
|
|
<name>yarn.resourcemanager.amliveliness-monitor.interval-ms</name>
|
|
|
|
<value>1000</value>
|
|
|
|
</property>
|
|
|
|
|
2013-08-15 02:35:48 +00:00
|
|
|
<property>
|
|
|
|
<description>Maximum time to wait to establish connection to
|
|
|
|
ResourceManager.</description>
|
|
|
|
<name>yarn.resourcemanager.connect.max-wait.ms</name>
|
|
|
|
<value>900000</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>How often to try connecting to the
|
|
|
|
ResourceManager.</description>
|
|
|
|
<name>yarn.resourcemanager.connect.retry-interval.ms</name>
|
|
|
|
<value>30000</value>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
2013-03-25 21:11:33 +00:00
|
|
|
<description>The maximum number of application attempts. It's a global
|
|
|
|
setting for all application masters. Each application master can specify
|
|
|
|
its individual maximum number of application attempts via the API, but the
|
|
|
|
individual number cannot be more than the global upper bound. If it is,
|
2013-04-20 00:35:29 +00:00
|
|
|
the resourcemanager will override it. The default number is set to 2, to
|
|
|
|
allow at least one retry for AM.</description>
|
2013-03-25 21:11:33 +00:00
|
|
|
<name>yarn.resourcemanager.am.max-attempts</name>
|
2013-04-20 00:35:29 +00:00
|
|
|
<value>2</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
2011-09-09 01:44:58 +00:00
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>How often to check that containers are still alive. </description>
|
|
|
|
<name>yarn.resourcemanager.container.liveness-monitor.interval-ms</name>
|
|
|
|
<value>600000</value>
|
|
|
|
</property>
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>The keytab for the resource manager.</description>
|
|
|
|
<name>yarn.resourcemanager.keytab</name>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<value>/etc/krb5.keytab</value>
|
|
|
|
</property>
|
|
|
|
|
2011-08-23 01:32:32 +00:00
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>How long to wait until a node manager is considered dead.</description>
|
2011-12-14 19:55:22 +00:00
|
|
|
<name>yarn.nm.liveness-monitor.expiry-interval-ms</name>
|
2011-09-09 01:44:58 +00:00
|
|
|
<value>600000</value>
|
2011-08-23 01:32:32 +00:00
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>How often to check that node managers are still alive.</description>
|
|
|
|
<name>yarn.resourcemanager.nm.liveness-monitor.interval-ms</name>
|
|
|
|
<value>1000</value>
|
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Path to file with nodes to include.</description>
|
|
|
|
<name>yarn.resourcemanager.nodes.include-path</name>
|
|
|
|
<value></value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Path to file with nodes to exclude.</description>
|
|
|
|
<name>yarn.resourcemanager.nodes.exclude-path</name>
|
|
|
|
<value></value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Number of threads to handle resource tracker calls.</description>
|
|
|
|
<name>yarn.resourcemanager.resource-tracker.client.thread-count</name>
|
2012-01-26 21:37:28 +00:00
|
|
|
<value>50</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>The class to use as the resource scheduler.</description>
|
|
|
|
<name>yarn.resourcemanager.scheduler.class</name>
|
2012-09-30 00:41:24 +00:00
|
|
|
<value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
2012-04-23 15:26:35 +00:00
|
|
|
<property>
|
2013-01-09 05:08:23 +00:00
|
|
|
<description>The minimum allocation for every container request at the RM,
|
2012-04-23 15:26:35 +00:00
|
|
|
in MBs. Memory requests lower than this won't take effect,
|
|
|
|
and the specified value will get allocated at minimum.</description>
|
|
|
|
<name>yarn.scheduler.minimum-allocation-mb</name>
|
2012-09-30 03:32:07 +00:00
|
|
|
<value>1024</value>
|
2012-04-23 15:26:35 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2013-01-09 05:08:23 +00:00
|
|
|
<description>The maximum allocation for every container request at the RM,
|
2012-04-23 15:26:35 +00:00
|
|
|
in MBs. Memory requests higher than this won't take effect,
|
|
|
|
and will get capped to this value.</description>
|
|
|
|
<name>yarn.scheduler.maximum-allocation-mb</name>
|
2012-09-30 03:32:07 +00:00
|
|
|
<value>8192</value>
|
2012-04-23 15:26:35 +00:00
|
|
|
</property>
|
|
|
|
|
2013-01-09 05:08:23 +00:00
|
|
|
<property>
|
|
|
|
<description>The minimum allocation for every container request at the RM,
|
|
|
|
in terms of virtual CPU cores. Requests lower than this won't take effect,
|
|
|
|
and the specified value will get allocated the minimum.</description>
|
|
|
|
<name>yarn.scheduler.minimum-allocation-vcores</name>
|
|
|
|
<value>1</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The maximum allocation for every container request at the RM,
|
|
|
|
in terms of virtual CPU cores. Requests higher than this won't take effect,
|
|
|
|
and will get capped to this value.</description>
|
|
|
|
<name>yarn.scheduler.maximum-allocation-vcores</name>
|
|
|
|
<value>32</value>
|
|
|
|
</property>
|
|
|
|
|
2012-12-19 04:21:18 +00:00
|
|
|
<property>
|
|
|
|
<description>Enable RM to recover state after starting. If true, then
|
2014-01-07 01:56:11 +00:00
|
|
|
yarn.resourcemanager.store.class must be specified. </description>
|
2012-12-19 04:21:18 +00:00
|
|
|
<name>yarn.resourcemanager.recovery.enabled</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2014-01-07 01:56:11 +00:00
|
|
|
<description>The class to use as the persistent store.
|
|
|
|
|
|
|
|
If org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
|
|
|
|
is used, the store is implicitly fenced; meaning a single ResourceManager
|
|
|
|
is able to use the store at any point in time. More details on this
|
|
|
|
implicit fencing, along with setting up appropriate ACLs is discussed
|
|
|
|
under yarn.resourcemanager.zk-state-store.root-node.acl.
|
|
|
|
</description>
|
2011-09-09 01:44:58 +00:00
|
|
|
<name>yarn.resourcemanager.store.class</name>
|
2013-01-23 00:57:37 +00:00
|
|
|
<value>org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore</value>
|
|
|
|
</property>
|
|
|
|
|
2013-12-08 04:17:51 +00:00
|
|
|
<property>
|
|
|
|
<description>The maximum number of completed applications RM state
|
|
|
|
store keeps, less than or equals to ${yarn.resourcemanager.max-completed-applications}.
|
|
|
|
By default, it equals to ${yarn.resourcemanager.max-completed-applications}.
|
|
|
|
This ensures that the applications kept in the state store are consistent with
|
|
|
|
the applications remembered in RM memory.
|
|
|
|
Any values larger than ${yarn.resourcemanager.max-completed-applications} will
|
|
|
|
be reset to ${yarn.resourcemanager.max-completed-applications}.
|
|
|
|
Note that this value impacts the RM recovery performance.Typically,
|
|
|
|
a smaller value indicates better performance on RM recovery.
|
|
|
|
</description>
|
|
|
|
<name>yarn.resourcemanager.state-store.max-completed-applications</name>
|
|
|
|
<value>${yarn.resourcemanager.max-completed-applications}</value>
|
|
|
|
</property>
|
|
|
|
|
2013-09-19 20:39:10 +00:00
|
|
|
<property>
|
2014-01-07 01:56:11 +00:00
|
|
|
<description>Host:Port of the ZooKeeper server to be used by the RM. This
|
|
|
|
must be supplied when using the ZooKeeper based implementation of the
|
|
|
|
RM state store and/or embedded automatic failover in a HA setting.
|
|
|
|
</description>
|
|
|
|
<name>yarn.resourcemanager.zk-address</name>
|
2013-09-19 20:39:10 +00:00
|
|
|
<!--value>127.0.0.1:2181</value-->
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2014-01-07 01:56:11 +00:00
|
|
|
<description>Number of times RM tries to connect to ZooKeeper.</description>
|
|
|
|
<name>yarn.resourcemanager.zk-num-retries</name>
|
2013-12-03 19:28:02 +00:00
|
|
|
<value>500</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2014-01-07 01:56:11 +00:00
|
|
|
<description>Retry interval in milliseconds when connecting to ZooKeeper.
|
|
|
|
</description>
|
|
|
|
<name>yarn.resourcemanager.zk-retry-interval-ms</name>
|
2013-12-03 19:28:02 +00:00
|
|
|
<value>2000</value>
|
2013-09-19 20:39:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Full path of the ZooKeeper znode where RM state will be
|
|
|
|
stored. This must be supplied when using
|
|
|
|
org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
|
|
|
|
as the value for yarn.resourcemanager.store.class</description>
|
2013-12-03 19:28:02 +00:00
|
|
|
<name>yarn.resourcemanager.zk-state-store.parent-path</name>
|
2013-09-19 20:39:10 +00:00
|
|
|
<value>/rmstore</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2013-12-03 19:28:02 +00:00
|
|
|
<description>ZooKeeper session timeout in milliseconds. Session expiration
|
|
|
|
is managed by the ZooKeeper cluster itself, not by the client. This value is
|
|
|
|
used by the cluster to determine when the client's session expires.
|
|
|
|
Expirations happens when the cluster does not hear from the client within
|
2014-01-07 01:56:11 +00:00
|
|
|
the specified session timeout period (i.e. no heartbeat).</description>
|
|
|
|
<name>yarn.resourcemanager.zk-timeout-ms</name>
|
2013-09-19 20:39:10 +00:00
|
|
|
<value>60000</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2014-01-07 01:56:11 +00:00
|
|
|
<description>ACL's to be used for ZooKeeper znodes.</description>
|
|
|
|
<name>yarn.resourcemanager.zk-acl</name>
|
2013-09-19 20:39:10 +00:00
|
|
|
<value>world:anyone:rwcda</value>
|
|
|
|
</property>
|
|
|
|
|
2013-11-14 17:53:25 +00:00
|
|
|
<property>
|
|
|
|
<description>
|
|
|
|
ACLs to be used for the root znode when using ZKRMStateStore in a HA
|
|
|
|
scenario for fencing.
|
|
|
|
|
|
|
|
ZKRMStateStore supports implicit fencing to allow a single
|
|
|
|
ResourceManager write-access to the store. For fencing, the
|
|
|
|
ResourceManagers in the cluster share read-write-admin privileges on the
|
|
|
|
root node, but the Active ResourceManager claims exclusive create-delete
|
|
|
|
permissions.
|
|
|
|
|
|
|
|
By default, when this property is not set, we use the ACLs from
|
2014-01-07 01:56:11 +00:00
|
|
|
yarn.resourcemanager.zk-acl for shared admin access and
|
2013-11-14 17:53:25 +00:00
|
|
|
rm-address:cluster-timestamp for username-based exclusive create-delete
|
|
|
|
access.
|
|
|
|
|
|
|
|
This property allows users to set ACLs of their choice instead of using
|
|
|
|
the default mechanism. For fencing to work, the ACLs should be
|
|
|
|
carefully set differently on each ResourceManger such that all the
|
|
|
|
ResourceManagers have shared admin access and the Active ResourceManger
|
|
|
|
takes over (exclusively) the create-delete access.
|
|
|
|
</description>
|
2013-12-03 19:28:02 +00:00
|
|
|
<name>yarn.resourcemanager.zk-state-store.root-node.acl</name>
|
2013-11-14 17:53:25 +00:00
|
|
|
</property>
|
|
|
|
|
2013-01-23 00:57:37 +00:00
|
|
|
<property>
|
|
|
|
<description>URI pointing to the location of the FileSystem path where
|
|
|
|
RM state will be stored. This must be supplied when using
|
|
|
|
org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore
|
|
|
|
as the value for yarn.resourcemanager.store.class</description>
|
2013-08-15 02:35:48 +00:00
|
|
|
<name>yarn.resourcemanager.fs.state-store.uri</name>
|
2013-01-23 00:57:37 +00:00
|
|
|
<value>${hadoop.tmp.dir}/yarn/system/rmstore</value>
|
|
|
|
<!--value>hdfs://localhost:9000/rmstore</value-->
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2013-12-03 19:28:02 +00:00
|
|
|
<property>
|
|
|
|
<description>hdfs client retry policy specification. hdfs client retry
|
|
|
|
is always enabled. Specified in pairs of sleep-time and number-of-retries
|
|
|
|
and (t0, n0), (t1, n1), ..., the first n0 retries sleep t0 milliseconds on
|
|
|
|
average, the following n1 retries sleep t1 milliseconds on average, and so on.
|
|
|
|
</description>
|
|
|
|
<name>yarn.resourcemanager.fs.state-store.retry-policy-spec</name>
|
|
|
|
<value>2000, 500</value>
|
|
|
|
</property>
|
|
|
|
|
2013-09-16 18:33:59 +00:00
|
|
|
<property>
|
2013-10-04 18:40:18 +00:00
|
|
|
<description>Enable RM high-availability. When enabled,
|
|
|
|
(1) The RM starts in the Standby mode by default, and transitions to
|
|
|
|
the Active mode when prompted to.
|
|
|
|
(2) The nodes in the RM ensemble are listed in
|
|
|
|
yarn.resourcemanager.ha.rm-ids
|
|
|
|
(3) The id of each RM comes from yarn.resourcemanager.ha.id
|
|
|
|
(4) The actual physical addresses come from the configs of the pattern
|
|
|
|
- {rpc-config}.{id}</description>
|
2013-09-16 18:33:59 +00:00
|
|
|
<name>yarn.resourcemanager.ha.enabled</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
|
2014-01-07 01:56:11 +00:00
|
|
|
<property>
|
|
|
|
<description>Enable automatic failover.</description>
|
|
|
|
<name>yarn.resourcemanager.ha.automatic-failover.enabled</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Enable embedded automatic failover. The embedded elector
|
|
|
|
relies on the RM state store to handle fencing, and is primarily intended
|
|
|
|
to be used in conjunction with ZKRMStateStore.</description>
|
|
|
|
<name>yarn.resourcemanager.ha.automatic-failover.embedded</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The base znode path to use for storing leader information,
|
|
|
|
when using ZooKeeper based leader election.</description>
|
|
|
|
<name>yarn.resourcemanager.ha.automatic-failover.zk-base-path</name>
|
|
|
|
<value>/yarn-leader-election</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Name of the cluster. In a HA setting,
|
|
|
|
this is used to ensure the RM participates in leader
|
|
|
|
election fo this cluster and ensures it does not affect
|
|
|
|
other clusters</description>
|
|
|
|
<name>yarn.resourcemanager.cluster-id</name>
|
|
|
|
<!--value>yarn-cluster</value-->
|
|
|
|
</property>
|
|
|
|
|
2013-10-04 18:40:18 +00:00
|
|
|
<property>
|
|
|
|
<description>The list of RM nodes in the cluster when HA is
|
|
|
|
enabled. See description of yarn.resourcemanager.ha
|
|
|
|
.enabled for full details on how this is used.</description>
|
|
|
|
<name>yarn.resourcemanager.ha.rm-ids</name>
|
|
|
|
<!--value>rm1,rm2</value-->
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The id (string) of the current RM. When HA is enabled, this
|
|
|
|
is a required config. See description of yarn.resourcemanager.ha.enabled
|
|
|
|
for full details on how this is used.</description>
|
|
|
|
<name>yarn.resourcemanager.ha.id</name>
|
|
|
|
<!--value>rm1</value-->
|
|
|
|
</property>
|
|
|
|
|
2013-12-17 22:32:38 +00:00
|
|
|
<property>
|
|
|
|
<description>When HA is enabled, the class to be used by Clients, AMs and
|
|
|
|
NMs to failover to the Active RM. It should extend
|
|
|
|
org.apache.hadoop.yarn.client.RMFailoverProxyProvider</description>
|
|
|
|
<name>yarn.client.failover-proxy-provider</name>
|
|
|
|
<value>org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>When HA is enabled, the max number of times
|
|
|
|
FailoverProxyProvider should attempt failover. When set,
|
|
|
|
this overrides the yarn.resourcemanager.connect.max-wait.ms. When
|
|
|
|
not set, this is inferred from
|
|
|
|
yarn.resourcemanager.connect.max-wait.ms.</description>
|
|
|
|
<name>yarn.client.failover-max-attempts</name>
|
|
|
|
<!--value>15</value-->
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>When HA is enabled, the sleep base (in milliseconds) to be
|
|
|
|
used for calculating the exponential delay between failovers. When set,
|
|
|
|
this overrides the yarn.resourcemanager.connect.* settings. When
|
|
|
|
not set, yarn.resourcemanager.connect.retry-interval.ms is used instead.
|
|
|
|
</description>
|
|
|
|
<name>yarn.client.failover-sleep-base-ms</name>
|
|
|
|
<!--value>500</value-->
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>When HA is enabled, the maximum sleep time (in milliseconds)
|
|
|
|
between failovers. When set, this overrides the
|
|
|
|
yarn.resourcemanager.connect.* settings. When not set,
|
|
|
|
yarn.resourcemanager.connect.retry-interval.ms is used instead.</description>
|
|
|
|
<name>yarn.client.failover-sleep-max-ms</name>
|
|
|
|
<!--value>15000</value-->
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>When HA is enabled, the number of retries per
|
|
|
|
attempt to connect to a ResourceManager. In other words,
|
|
|
|
it is the ipc.client.connect.max.retries to be used during
|
|
|
|
failover attempts</description>
|
|
|
|
<name>yarn.client.failover-retries</name>
|
|
|
|
<value>0</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>When HA is enabled, the number of retries per
|
|
|
|
attempt to connect to a ResourceManager on socket timeouts. In other
|
|
|
|
words, it is the ipc.client.connect.max.retries.on.timeouts to be used
|
|
|
|
during failover attempts</description>
|
|
|
|
<name>yarn.client.failover-retries-on-socket-timeouts</name>
|
|
|
|
<value>0</value>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>The maximum number of completed applications RM keeps. </description>
|
|
|
|
<name>yarn.resourcemanager.max-completed-applications</name>
|
|
|
|
<value>10000</value>
|
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
2011-12-14 19:55:22 +00:00
|
|
|
<property>
|
|
|
|
<description>Interval at which the delayed token removal thread runs</description>
|
|
|
|
<name>yarn.resourcemanager.delayed.delegation-token.removal-interval-ms</name>
|
|
|
|
<value>30000</value>
|
|
|
|
</property>
|
|
|
|
|
2012-04-17 18:48:42 +00:00
|
|
|
<property>
|
|
|
|
<description>Interval for the roll over for the master key used to generate
|
|
|
|
application tokens
|
|
|
|
</description>
|
|
|
|
<name>yarn.resourcemanager.application-tokens.master-key-rolling-interval-secs</name>
|
|
|
|
<value>86400</value>
|
|
|
|
</property>
|
|
|
|
|
2012-08-25 02:18:49 +00:00
|
|
|
<property>
|
|
|
|
<description>Interval for the roll over for the master key used to generate
|
|
|
|
container tokens. It is expected to be much greater than
|
|
|
|
yarn.nm.liveness-monitor.expiry-interval-ms and
|
|
|
|
yarn.rm.container-allocation.expiry-interval-ms. Otherwise the
|
|
|
|
behavior is undefined.
|
|
|
|
</description>
|
|
|
|
<name>yarn.resourcemanager.container-tokens.master-key-rolling-interval-secs</name>
|
|
|
|
<value>86400</value>
|
|
|
|
</property>
|
|
|
|
|
2013-04-02 01:04:07 +00:00
|
|
|
<property>
|
|
|
|
<description>The heart-beat interval in milliseconds for every NodeManager in the cluster.</description>
|
|
|
|
<name>yarn.resourcemanager.nodemanagers.heartbeat-interval-ms</name>
|
|
|
|
<value>1000</value>
|
|
|
|
</property>
|
|
|
|
|
2013-09-26 19:55:26 +00:00
|
|
|
<property>
|
|
|
|
<description>The minimum allowed version of a connecting nodemanager. The valid values are
|
|
|
|
NONE (no version checking), EqualToRM (the nodemanager's version is equal to
|
|
|
|
or greater than the RM version), or a Version String.</description>
|
|
|
|
<name>yarn.resourcemanager.nodemanager.minimum.version</name>
|
|
|
|
<value>NONE</value>
|
|
|
|
</property>
|
|
|
|
|
2013-07-11 01:20:23 +00:00
|
|
|
<property>
|
|
|
|
<description>Enable a set of periodic monitors (specified in
|
|
|
|
yarn.resourcemanager.scheduler.monitor.policies) that affect the
|
|
|
|
scheduler.</description>
|
|
|
|
<name>yarn.resourcemanager.scheduler.monitor.enable</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The list of SchedulingEditPolicy classes that interact with
|
|
|
|
the scheduler. A particular module may be incompatible with the
|
|
|
|
scheduler, other policies, or a configuration of either.</description>
|
|
|
|
<name>yarn.resourcemanager.scheduler.monitor.policies</name>
|
|
|
|
<value>org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy</value>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<!-- Node Manager Configs -->
|
2013-04-03 21:04:23 +00:00
|
|
|
<property>
|
|
|
|
<description>The hostname of the NM.</description>
|
|
|
|
<name>yarn.nodemanager.hostname</name>
|
|
|
|
<value>0.0.0.0</value>
|
|
|
|
</property>
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2012-07-24 22:08:27 +00:00
|
|
|
<description>The address of the container manager in the NM.</description>
|
2011-09-09 01:44:58 +00:00
|
|
|
<name>yarn.nodemanager.address</name>
|
2013-04-03 21:04:23 +00:00
|
|
|
<value>${yarn.nodemanager.hostname}:0</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2011-10-18 01:22:14 +00:00
|
|
|
<property>
|
|
|
|
<description>Environment variables that should be forwarded from the NodeManager's environment to the container's.</description>
|
|
|
|
<name>yarn.nodemanager.admin-env</name>
|
|
|
|
<value>MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Environment variables that containers may override rather than use NodeManager's default.</description>
|
|
|
|
<name>yarn.nodemanager.env-whitelist</name>
|
2012-09-25 23:37:32 +00:00
|
|
|
<value>JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,HADOOP_YARN_HOME</value>
|
2011-10-18 01:22:14 +00:00
|
|
|
</property>
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>who will execute(launch) the containers.</description>
|
|
|
|
<name>yarn.nodemanager.container-executor.class</name>
|
|
|
|
<value>org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor</value>
|
|
|
|
<!--<value>org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor</value>-->
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Number of threads container manager uses.</description>
|
|
|
|
<name>yarn.nodemanager.container-manager.thread-count</name>
|
2012-01-26 21:37:28 +00:00
|
|
|
<value>20</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Number of threads used in cleanup.</description>
|
|
|
|
<name>yarn.nodemanager.delete.thread-count</name>
|
|
|
|
<value>4</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2012-04-30 13:43:09 +00:00
|
|
|
<property>
|
|
|
|
<description>
|
|
|
|
Number of seconds after an application finishes before the nodemanager's
|
|
|
|
DeletionService will delete the application's localized file directory
|
|
|
|
and log directory.
|
|
|
|
|
|
|
|
To diagnose Yarn application problems, set this property's value large
|
|
|
|
enough (for example, to 600 = 10 minutes) to permit examination of these
|
|
|
|
directories. After changing the property's value, you must restart the
|
|
|
|
nodemanager in order for it to have an effect.
|
|
|
|
|
|
|
|
The roots of Yarn applications' work directories is configurable with
|
|
|
|
the yarn.nodemanager.local-dirs property (see below), and the roots
|
|
|
|
of the Yarn applications' log directories is configurable with the
|
|
|
|
yarn.nodemanager.log-dirs property (see also below).
|
|
|
|
</description>
|
|
|
|
<name>yarn.nodemanager.delete.debug-delay-sec</name>
|
|
|
|
<value>0</value>
|
|
|
|
</property>
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Keytab for NM.</description>
|
|
|
|
<name>yarn.nodemanager.keytab</name>
|
|
|
|
<value>/etc/krb5.keytab</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2012-04-30 13:43:09 +00:00
|
|
|
<description>List of directories to store localized files in. An
|
|
|
|
application's localized file directory will be found in:
|
|
|
|
${yarn.nodemanager.local-dirs}/usercache/${user}/appcache/application_${appid}.
|
|
|
|
Individual containers' work directories, called container_${contid}, will
|
|
|
|
be subdirectories of this.
|
|
|
|
</description>
|
2011-09-09 01:44:58 +00:00
|
|
|
<name>yarn.nodemanager.local-dirs</name>
|
2012-09-21 06:28:47 +00:00
|
|
|
<value>${hadoop.tmp.dir}/nm-local-dir</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
|
|
|
|
2013-04-03 05:00:28 +00:00
|
|
|
<property>
|
|
|
|
<description>It limits the maximum number of files which will be localized
|
|
|
|
in a single local directory. If the limit is reached then sub-directories
|
|
|
|
will be created and new files will be localized in them. If it is set to
|
|
|
|
a value less than or equal to 36 [which are sub-directories (0-9 and then
|
|
|
|
a-z)] then NodeManager will fail to start. For example; [for public
|
|
|
|
cache] if this is configured with a value of 40 ( 4 files +
|
|
|
|
36 sub-directories) and the local-dir is "/tmp/local-dir1" then it will
|
|
|
|
allow 4 files to be created directly inside "/tmp/local-dir1/filecache".
|
|
|
|
For files that are localized further it will create a sub-directory "0"
|
|
|
|
inside "/tmp/local-dir1/filecache" and will localize files inside it
|
|
|
|
until it becomes full. If a file is removed from a sub-directory that
|
|
|
|
is marked full, then that sub-directory will be used back again to
|
|
|
|
localize files.
|
|
|
|
</description>
|
|
|
|
<name>yarn.nodemanager.local-cache.max-files-per-directory</name>
|
|
|
|
<value>8192</value>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>Address where the localizer IPC is.</description>
|
|
|
|
<name>yarn.nodemanager.localizer.address</name>
|
2013-04-03 21:04:23 +00:00
|
|
|
<value>${yarn.nodemanager.hostname}:8040</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Interval in between cache cleanups.</description>
|
|
|
|
<name>yarn.nodemanager.localizer.cache.cleanup.interval-ms</name>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<value>600000</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Target size of localizer cache in MB, per local directory.</description>
|
|
|
|
<name>yarn.nodemanager.localizer.cache.target-size-mb</name>
|
|
|
|
<value>10240</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Number of threads to handle localization requests.</description>
|
|
|
|
<name>yarn.nodemanager.localizer.client.thread-count</name>
|
|
|
|
<value>5</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Number of threads to use for localization fetching.</description>
|
|
|
|
<name>yarn.nodemanager.localizer.fetch.thread-count</name>
|
|
|
|
<value>4</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
2012-04-30 13:43:09 +00:00
|
|
|
<description>
|
|
|
|
Where to store container logs. An application's localized log directory
|
|
|
|
will be found in ${yarn.nodemanager.log-dirs}/application_${appid}.
|
|
|
|
Individual containers' log directories will be below this, in directories
|
|
|
|
named container_{$contid}. Each container directory will contain the files
|
|
|
|
stderr, stdin, and syslog generated by that container.
|
|
|
|
</description>
|
2011-09-09 01:44:58 +00:00
|
|
|
<name>yarn.nodemanager.log-dirs</name>
|
2012-09-21 06:28:47 +00:00
|
|
|
<value>${yarn.log.dir}/userlogs</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
2011-10-28 06:45:04 +00:00
|
|
|
<property>
|
|
|
|
<description>Whether to enable log aggregation</description>
|
2011-12-14 19:55:22 +00:00
|
|
|
<name>yarn.log-aggregation-enable</name>
|
2011-10-28 06:45:04 +00:00
|
|
|
<value>false</value>
|
|
|
|
</property>
|
2012-08-17 20:29:38 +00:00
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>How long to keep aggregation logs before deleting them. -1 disables.
|
|
|
|
Be careful set this too small and you will spam the name node.</description>
|
|
|
|
<name>yarn.log-aggregation.retain-seconds</name>
|
|
|
|
<value>-1</value>
|
|
|
|
</property>
|
2011-10-31 09:55:29 +00:00
|
|
|
|
2013-01-31 22:46:05 +00:00
|
|
|
<property>
|
|
|
|
<description>How long to wait between aggregated log retention checks.
|
|
|
|
If set to 0 or a negative value then the value is computed as one-tenth
|
|
|
|
of the aggregated log retention time. Be careful set this too small and
|
|
|
|
you will spam the name node.</description>
|
|
|
|
<name>yarn.log-aggregation.retain-check-interval-seconds</name>
|
|
|
|
<value>-1</value>
|
|
|
|
</property>
|
|
|
|
|
2011-10-31 09:55:29 +00:00
|
|
|
<property>
|
|
|
|
<description>Time in seconds to retain user logs. Only applicable if
|
|
|
|
log aggregation is disabled
|
|
|
|
</description>
|
|
|
|
<name>yarn.nodemanager.log.retain-seconds</name>
|
|
|
|
<value>10800</value>
|
|
|
|
</property>
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Where to aggregate logs to.</description>
|
|
|
|
<name>yarn.nodemanager.remote-app-log-dir</name>
|
|
|
|
<value>/tmp/logs</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
2011-10-28 06:45:04 +00:00
|
|
|
<property>
|
|
|
|
<description>The remote log dir will be created at
|
|
|
|
{yarn.nodemanager.remote-app-log-dir}/${user}/{thisParam}
|
|
|
|
</description>
|
|
|
|
<name>yarn.nodemanager.remote-app-log-dir-suffix</name>
|
|
|
|
<value>logs</value>
|
|
|
|
</property>
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2011-10-26 23:58:31 +00:00
|
|
|
<description>Amount of physical memory, in MB, that can be allocated
|
|
|
|
for containers.</description>
|
|
|
|
<name>yarn.nodemanager.resource.memory-mb</name>
|
|
|
|
<value>8192</value>
|
|
|
|
</property>
|
|
|
|
|
2013-03-22 21:28:31 +00:00
|
|
|
<property>
|
|
|
|
<description>Whether physical memory limits will be enforced for
|
|
|
|
containers.</description>
|
|
|
|
<name>yarn.nodemanager.pmem-check-enabled</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Whether virtual memory limits will be enforced for
|
|
|
|
containers.</description>
|
|
|
|
<name>yarn.nodemanager.vmem-check-enabled</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
|
2011-10-26 23:58:31 +00:00
|
|
|
<property>
|
|
|
|
<description>Ratio between virtual memory to physical memory when
|
|
|
|
setting memory limits for containers. Container allocations are
|
|
|
|
expressed in terms of physical memory, and virtual memory usage
|
|
|
|
is allowed to exceed this allocation by this ratio.
|
|
|
|
</description>
|
|
|
|
<name>yarn.nodemanager.vmem-pmem-ratio</name>
|
|
|
|
<value>2.1</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2013-01-09 05:08:23 +00:00
|
|
|
<property>
|
|
|
|
<description>Number of CPU cores that can be allocated
|
|
|
|
for containers.</description>
|
2013-06-14 13:41:45 +00:00
|
|
|
<name>yarn.nodemanager.resource.cpu-vcores</name>
|
2013-01-09 05:08:23 +00:00
|
|
|
<value>8</value>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>NM Webapp address.</description>
|
|
|
|
<name>yarn.nodemanager.webapp.address</name>
|
2013-04-03 21:04:23 +00:00
|
|
|
<value>${yarn.nodemanager.hostname}:8042</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>How often to monitor containers.</description>
|
|
|
|
<name>yarn.nodemanager.container-monitor.interval-ms</name>
|
|
|
|
<value>3000</value>
|
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>Class that calculates containers current resource utilization.</description>
|
|
|
|
<name>yarn.nodemanager.container-monitor.resource-calculator.class</name>
|
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Frequency of running node health script.</description>
|
|
|
|
<name>yarn.nodemanager.health-checker.interval-ms</name>
|
|
|
|
<value>600000</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>Script time out period.</description>
|
|
|
|
<name>yarn.nodemanager.health-checker.script.timeout-ms</name>
|
|
|
|
<value>1200000</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<description>The health check script to run.</description>
|
|
|
|
<name>yarn.nodemanager.health-checker.script.path</name>
|
|
|
|
<value></value>
|
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>The arguments to pass to the health check script.</description>
|
|
|
|
<name>yarn.nodemanager.health-checker.script.opts</name>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<value></value>
|
|
|
|
</property>
|
|
|
|
|
2011-11-29 23:17:54 +00:00
|
|
|
<property>
|
|
|
|
<description>Frequency of running disk health checker code.</description>
|
|
|
|
<name>yarn.nodemanager.disk-health-checker.interval-ms</name>
|
|
|
|
<value>120000</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The minimum fraction of number of disks to be healthy for the
|
|
|
|
nodemanager to launch new containers. This correspond to both
|
|
|
|
yarn-nodemanager.local-dirs and yarn.nodemanager.log-dirs. i.e. If there
|
|
|
|
are less number of healthy local-dirs (or log-dirs) available, then
|
|
|
|
new containers will not be launched on this node.</description>
|
|
|
|
<name>yarn.nodemanager.disk-health-checker.min-healthy-disks</name>
|
|
|
|
<value>0.25</value>
|
|
|
|
</property>
|
|
|
|
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>The path to the Linux container executor.</description>
|
|
|
|
<name>yarn.nodemanager.linux-container-executor.path</name>
|
|
|
|
</property>
|
|
|
|
|
2012-12-18 22:58:32 +00:00
|
|
|
<property>
|
|
|
|
<description>The class which should help the LCE handle resources.</description>
|
|
|
|
<name>yarn.nodemanager.linux-container-executor.resources-handler.class</name>
|
|
|
|
<value>org.apache.hadoop.yarn.server.nodemanager.util.DefaultLCEResourcesHandler</value>
|
|
|
|
<!-- <value>org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler</value> -->
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The cgroups hierarchy under which to place YARN proccesses (cannot contain commas).
|
|
|
|
If yarn.nodemanager.linux-container-executor.cgroups.mount is false (that is, if cgroups have
|
|
|
|
been pre-configured), then this cgroups hierarchy must already exist and be writable by the
|
|
|
|
NodeManager user, otherwise the NodeManager may fail.
|
|
|
|
Only used when the LCE resources handler is set to the CgroupsLCEResourcesHandler.</description>
|
|
|
|
<name>yarn.nodemanager.linux-container-executor.cgroups.hierarchy</name>
|
|
|
|
<value>/hadoop-yarn</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Whether the LCE should attempt to mount cgroups if not found.
|
|
|
|
Only used when the LCE resources handler is set to the CgroupsLCEResourcesHandler.</description>
|
|
|
|
<name>yarn.nodemanager.linux-container-executor.cgroups.mount</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Where the LCE should attempt to mount cgroups if not found. Common locations
|
|
|
|
include /sys/fs/cgroup and /cgroup; the default location can vary depending on the Linux
|
|
|
|
distribution in use. This path must exist before the NodeManager is launched.
|
|
|
|
Only used when the LCE resources handler is set to the CgroupsLCEResourcesHandler, and
|
|
|
|
yarn.nodemanager.linux-container-executor.cgroups.mount is true.</description>
|
|
|
|
<name>yarn.nodemanager.linux-container-executor.cgroups.mount-path</name>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
2013-10-04 21:59:43 +00:00
|
|
|
<description>The UNIX user that containers will run as when Linux-container-executor
|
|
|
|
is used in nonsecure mode (a use case for this is using cgroups).</description>
|
|
|
|
<name>yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user</name>
|
|
|
|
<value>nobody</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The allowed pattern for UNIX user names enforced by
|
|
|
|
Linux-container-executor when used in nonsecure mode (use case for this
|
|
|
|
is using cgroups). The default value is taken from /usr/sbin/adduser</description>
|
|
|
|
<name>yarn.nodemanager.linux-container-executor.nonsecure-mode.user-pattern</name>
|
|
|
|
<value>^[_.A-Za-z0-9][-@_.A-Za-z0-9]{0,255}?[$]?$</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<description>T-file compression types used to compress aggregated logs.</description>
|
|
|
|
<name>yarn.nodemanager.log-aggregation.compression-type</name>
|
|
|
|
<value>none</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The kerberos principal for the node manager.</description>
|
|
|
|
<name>yarn.nodemanager.principal</name>
|
2012-01-05 20:11:09 +00:00
|
|
|
<value></value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2013-09-25 00:35:03 +00:00
|
|
|
<description>the valid service name should only contain a-zA-Z0-9_ and can not start with numbers</description>
|
2011-09-09 01:44:58 +00:00
|
|
|
<name>yarn.nodemanager.aux-services</name>
|
|
|
|
<value></value>
|
2013-09-25 00:35:03 +00:00
|
|
|
<!--<value>mapreduce_shuffle</value>-->
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
|
2011-10-27 12:03:17 +00:00
|
|
|
<property>
|
|
|
|
<description>No. of ms to wait between sending a SIGTERM and SIGKILL to a container</description>
|
|
|
|
<name>yarn.nodemanager.sleep-delay-before-sigkill.ms</name>
|
|
|
|
<value>250</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Max time to wait for a process to come up when trying to cleanup a container</description>
|
|
|
|
<name>yarn.nodemanager.process-kill-wait.ms</name>
|
|
|
|
<value>2000</value>
|
|
|
|
</property>
|
|
|
|
|
2013-03-15 17:58:58 +00:00
|
|
|
<property>
|
|
|
|
<description>Max time, in seconds, to wait to establish a connection to RM when NM starts.
|
|
|
|
The NM will shutdown if it cannot connect to RM within the specified max time period.
|
|
|
|
If the value is set as -1, then NM will retry forever.</description>
|
|
|
|
<name>yarn.nodemanager.resourcemanager.connect.wait.secs</name>
|
|
|
|
<value>900</value>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Time interval, in seconds, between each NM attempt to connect to RM.</description>
|
|
|
|
<name>yarn.nodemanager.resourcemanager.connect.retry_interval.secs</name>
|
|
|
|
<value>30</value>
|
2013-09-26 19:55:26 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The minimum allowed version of a resourcemanager that a nodemanager will connect to.
|
|
|
|
The valid values are NONE (no version checking), EqualToNM (the resourcemanager's version is
|
|
|
|
equal to or greater than the NM version), or a Version String.</description>
|
|
|
|
<name>yarn.nodemanager.resourcemanager.minimum.version</name>
|
|
|
|
<value>NONE</value>
|
2013-03-15 17:58:58 +00:00
|
|
|
</property>
|
|
|
|
|
2013-05-29 01:41:41 +00:00
|
|
|
<property>
|
|
|
|
<description>Max number of threads in NMClientAsync to process container
|
|
|
|
management events</description>
|
|
|
|
<name>yarn.client.nodemanager-client-async.thread-pool-max-size</name>
|
|
|
|
<value>500</value>
|
|
|
|
</property>
|
2013-06-18 23:19:49 +00:00
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>
|
|
|
|
Maximum number of proxy connections for node manager. It should always be
|
|
|
|
more than 1. NMClient and MRAppMaster will use this to cache connection
|
|
|
|
with node manager. There will be at max one connection per node manager.
|
|
|
|
Ex. configuring it to a value of 5 will make sure that client will at
|
|
|
|
max have 5 connections cached with 5 different node managers. These
|
|
|
|
connections will be timed out if idle for more than system wide idle
|
|
|
|
timeout period. The token if used for authentication then it will be used
|
|
|
|
only at connection creation time. If new token is received then earlier
|
|
|
|
connection should be closed in order to use newer token. This and
|
|
|
|
(yarn.client.nodemanager-client-async.thread-pool-max-size) are related
|
|
|
|
and should be sync (no need for them to be equal).
|
|
|
|
</description>
|
|
|
|
<name>yarn.client.max-nodemanagers-proxies</name>
|
|
|
|
<value>500</value>
|
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<!--Map Reduce configuration-->
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
<property>
|
2013-09-25 00:35:03 +00:00
|
|
|
<name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name>
|
2011-09-09 01:44:58 +00:00
|
|
|
<value>org.apache.hadoop.mapred.ShuffleHandler</value>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
2011-09-09 01:44:58 +00:00
|
|
|
<name>mapreduce.job.jar</name>
|
|
|
|
<value/>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</property>
|
|
|
|
|
2011-09-09 01:44:58 +00:00
|
|
|
<property>
|
|
|
|
<name>mapreduce.job.hdfs-servers</name>
|
2012-02-14 23:09:05 +00:00
|
|
|
<value>${fs.defaultFS}</value>
|
2011-09-09 01:44:58 +00:00
|
|
|
</property>
|
2011-10-26 06:29:21 +00:00
|
|
|
|
|
|
|
<!-- WebAppProxy Configuration-->
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The kerberos principal for the proxy, if the proxy is not
|
|
|
|
running as part of the RM.</description>
|
|
|
|
<name>yarn.web-proxy.principal</name>
|
|
|
|
<value/>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>Keytab for WebAppProxy, if the proxy is not running as part of
|
|
|
|
the RM.</description>
|
|
|
|
<name>yarn.web-proxy.keytab</name>
|
|
|
|
</property>
|
|
|
|
|
|
|
|
<property>
|
|
|
|
<description>The address for the web proxy as HOST:PORT, if this is not
|
2012-03-30 13:40:48 +00:00
|
|
|
given then the proxy will run as part of the RM</description>
|
2011-10-26 06:29:21 +00:00
|
|
|
<name>yarn.web-proxy.address</name>
|
|
|
|
<value/>
|
|
|
|
</property>
|
2012-01-24 18:21:27 +00:00
|
|
|
|
2012-09-06 23:06:35 +00:00
|
|
|
<!-- Applications' Configuration-->
|
|
|
|
|
2012-01-24 18:21:27 +00:00
|
|
|
<property>
|
2014-01-09 23:04:18 +00:00
|
|
|
<description>
|
|
|
|
CLASSPATH for YARN applications. A comma-separated list
|
|
|
|
of CLASSPATH entries. When this value is empty, the following default
|
|
|
|
CLASSPATH for YARN applications would be used.
|
|
|
|
For Linux:
|
|
|
|
$HADOOP_CONF_DIR,
|
|
|
|
$HADOOP_COMMON_HOME/share/hadoop/common/*,
|
|
|
|
$HADOOP_COMMON_HOME/share/hadoop/common/lib/*,
|
|
|
|
$HADOOP_HDFS_HOME/share/hadoop/hdfs/*,
|
|
|
|
$HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*,
|
|
|
|
$HADOOP_YARN_HOME/share/hadoop/yarn/*,
|
|
|
|
$HADOOP_YARN_HOME/share/hadoop/yarn/lib/*
|
|
|
|
For Windows:
|
|
|
|
%HADOOP_CONF_DIR%,
|
|
|
|
%HADOOP_COMMON_HOME%/share/hadoop/common/*,
|
|
|
|
%HADOOP_COMMON_HOME%/share/hadoop/common/lib/*,
|
|
|
|
%HADOOP_HDFS_HOME%/share/hadoop/hdfs/*,
|
|
|
|
%HADOOP_HDFS_HOME%/share/hadoop/hdfs/lib/*,
|
|
|
|
%HADOOP_YARN_HOME%/share/hadoop/yarn/*,
|
|
|
|
%HADOOP_YARN_HOME%/share/hadoop/yarn/lib/*
|
|
|
|
</description>
|
|
|
|
<name>yarn.application.classpath</name>
|
|
|
|
<value></value>
|
2012-01-24 18:21:27 +00:00
|
|
|
</property>
|
2012-09-06 23:06:35 +00:00
|
|
|
|
2013-04-23 03:06:41 +00:00
|
|
|
<!-- Other configuration -->
|
|
|
|
<property>
|
2013-12-17 02:16:20 +00:00
|
|
|
<description>The interval that the yarn client library uses to poll the
|
|
|
|
completion status of the asynchronous API of application client protocol.
|
|
|
|
</description>
|
|
|
|
<name>yarn.client.application-client-protocol.poll-interval-ms</name>
|
|
|
|
<value>200</value>
|
2013-04-23 03:06:41 +00:00
|
|
|
</property>
|
MAPREDUCE-279. MapReduce 2.0. Merging MR-279 branch into trunk. Contributed by Arun C Murthy, Christopher Douglas, Devaraj Das, Greg Roelofs, Jeffrey Naisbitt, Josh Wills, Jonathan Eagles, Krishna Ramachandran, Luke Lu, Mahadev Konar, Robert Evans, Sharad Agarwal, Siddharth Seth, Thomas Graves, and Vinod Kumar Vavilapalli.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1159166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:07:10 +00:00
|
|
|
</configuration>
|