/hadoop/etc/hadoop/yarn-site.xml
https://github.com/deltaforge/nebu-app-hadoop · XML · 50 lines · 35 code · 2 blank · 13 comment · 0 complexity · 6be252e9e6d32572f24f7ce837ac6866 MD5 · raw file
- <?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.
- -->
- <configuration>
- <property>
- <name>yarn.resourcemanager.hostname</name>
- <value>$RESOURCEMANAGER$</value>
- </property>
- <property>
- <name>yarn.nodemanager.address</name>
- <value>${yarn.nodemanager.hostname}:8034</value>
- </property>
- <property>
- <name>yarn.nodemanager.aux-services</name>
- <value>mapreduce_shuffle</value>
- </property>
- <property>
- <name>yarn.nodemanager.local-dirs</name>
- <value>/data/hadoop/yarn/local</value>
- </property>
- <property>
- <name>yarn.nodemanager.log-dirs</name>
- <value>/data/hadoop/yarn/logs</value>
- </property>
- <property>
- <name>yarn.nodemanager.resource.memory-mb</name>
- <value>3072</value>
- </property>
- <property>
- <name>yarn.nodemanager.resource.cpu-vcores</name>
- <value>2</value>
- </property>
- <property>
- <name>yarn.scheduler.minimum-allocation-mb</name>
- <value>1536</value>
- </property>
- </configuration>