PageRenderTime 32ms CodeModel.GetById 29ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1<?xml version="1.0"?>
 2<!--
 3  Licensed under the Apache License, Version 2.0 (the "License");
 4  you may not use this file except in compliance with the License.
 5  You may obtain a copy of the License at
 6
 7    http://www.apache.org/licenses/LICENSE-2.0
 8
 9  Unless required by applicable law or agreed to in writing, software
10  distributed under the License is distributed on an "AS IS" BASIS,
11  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  See the License for the specific language governing permissions and
13  limitations under the License. See accompanying LICENSE file.
14-->
15<configuration>
16	<property>
17		<name>yarn.resourcemanager.hostname</name>
18		<value>$RESOURCEMANAGER$</value>
19	</property>
20
21	<property>
22		<name>yarn.nodemanager.address</name>
23		<value>${yarn.nodemanager.hostname}:8034</value>
24	</property>
25	<property>
26		<name>yarn.nodemanager.aux-services</name>
27		<value>mapreduce_shuffle</value>
28	</property>
29	<property>
30		<name>yarn.nodemanager.local-dirs</name>
31		<value>/data/hadoop/yarn/local</value>
32	</property>
33	<property>
34		<name>yarn.nodemanager.log-dirs</name>
35		<value>/data/hadoop/yarn/logs</value>
36	</property>
37
38	<property>
39		<name>yarn.nodemanager.resource.memory-mb</name>
40		<value>3072</value>
41	</property>
42	<property>
43		<name>yarn.nodemanager.resource.cpu-vcores</name>
44		<value>2</value>
45	</property>
46	<property>
47		<name>yarn.scheduler.minimum-allocation-mb</name>
48		<value>1536</value>
49	</property>
50</configuration>