76 lines
2.5 KiB
XML
76 lines
2.5 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
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.
|
|
-->
|
|
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
|
|
|
|
<configuration>
|
|
<property>
|
|
<name>yarn.nodemanager.aux-services</name>
|
|
<value>mapreduce_shuffle</value>
|
|
</property>
|
|
|
|
<property>
|
|
<name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name>
|
|
<value>org.apache.hadoop.mapred.ShuffleHandler</value>
|
|
</property>
|
|
|
|
<!--
|
|
<property>
|
|
<name>yarn.log-aggregation-enable</name>
|
|
<value>true</value>
|
|
</property>
|
|
-->
|
|
|
|
<property>
|
|
<name>yarn.dispatcher.exit-on-error</name>
|
|
<value>true</value>
|
|
</property>
|
|
|
|
<property>
|
|
<description>List of directories to store localized files in.</description>
|
|
<name>yarn.nodemanager.local-dirs</name>
|
|
<value>/var/cache/hadoop-yarn/${user.name}/nm-local-dir</value>
|
|
</property>
|
|
|
|
<property>
|
|
<description>Where to store container logs.</description>
|
|
<name>yarn.nodemanager.log-dirs</name>
|
|
<value>/var/log/hadoop-yarn/containers</value>
|
|
</property>
|
|
|
|
<!--
|
|
<property>
|
|
<description>Where to aggregate logs to.</description>
|
|
<name>yarn.nodemanager.remote-app-log-dir</name>
|
|
<value>/var/log/hadoop-yarn/apps</value>
|
|
</property>
|
|
-->
|
|
|
|
<property>
|
|
<description>Classpath for typical applications.</description>
|
|
<name>yarn.application.classpath</name>
|
|
<value>
|
|
$HADOOP_CONF_DIR,$HADOOP_COMMON_HOME/$HADOOP_COMMON_DIR/*,
|
|
$HADOOP_COMMON_HOME/$HADOOP_COMMON_LIB_JARS_DIR/*,
|
|
$HADOOP_HDFS_HOME/$HDFS_DIR/*,$HADOOP_HDFS_HOME/$HDFS_LIB_JARS_DIR/*,
|
|
$HADOOP_MAPRED_HOME/$MAPRED_DIR/*,
|
|
$HADOOP_MAPRED_HOME/$MAPRED_LIB_JARS_DIR/*,
|
|
$HADOOP_YARN_HOME/$YARN_DIR/*,$HADOOP_YARN_HOME/$YARN_LIB_JARS_DIR/*
|
|
</value>
|
|
</property>
|
|
</configuration>
|