forked from linkedin/dynoyarn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dynoyarn-site.xml
165 lines (165 loc) · 4.95 KB
/
dynoyarn-site.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!--
Copyright 2020 LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
See LICENSE in the project root for license information.
-->
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value>${baseDir}</value>
</property>
<property>
<name>hadoop.security.authentication</name>
<value>simple</value>
</property>
<property>
<name>hadoop.security.authorization</name>
<value>false</value>
</property>
<property>
<name>hadoop.security.impersonation.provider.class</name>
<value>com.linkedin.dynoyarn.AllowAllImpersonationProvider</value>
</property>
<property>
<name>hadoop.http.authentication.type</name>
<value>simple</value>
</property>
<property>
<name>yarn.resourcemanager.scheduler.address</name>
<value>${rmHost}:${baseSchedulerPort}</value>
</property>
<property>
<name>yarn.resourcemanager.address</name>
<value>${rmHost}:${baseServiceRpcPort}</value>
</property>
<property>
<name>yarn.resourcemanager.admin.address</name>
<value>${rmHost}:${baseAdminPort}</value>
</property>
<property>
<name>yarn.resourcemanager.resource-tracker.address</name>
<value>${rmHost}:${baseTrackerPort}</value>
</property>
<property>
<name>yarn.resourcemanager.webapp.address</name>
<value>${rmHost}:${baseHttpPort}</value>
</property>
<property>
<name>yarn.resourcemanager.leveldb-state-store.path</name>
<value>${baseDir}/rm-state-store</value>
</property>
<property>
<name>yarn.scheduler.configuration.leveldb-store.path</name>
<value>${baseDir}/conf-store</value>
</property>
<property>
<name>yarn.resourcemanager.nodes.include-path</name>
<value></value>
</property>
<property>
<name>yarn.resourcemanager.nodes.exclude-path</name>
<value></value>
</property>
<property>
<name>yarn.resourcemanager.scheduler.default.routing.queue</name>
<value>default</value>
</property>
<property>
<name>yarn.node-labels.fs-store.root-dir</name>
<value>file://${baseDir}/node-labels</value>
</property>
<property>
<name>yarn.scheduler.capacity.config.path</name>
<value>${baseDir}/dcs</value>
</property>
<property>
<name>yarn.nodemanager.address</name>
<value>0.0.0.0:${nm_port}</value>
</property>
<property>
<name>yarn.nodemanager.localizer.address</name>
<value>0.0.0.0:${nm_localizer_port}</value>
</property>
<property>
<name>yarn.nodemanager.webapp.address</name>
<value>0.0.0.0:0</value>
</property>
<property>
<name>yarn.nodemanager.webapp.https.address</name>
<value>0.0.0.0:0</value>
</property>
<!-- disable NM recovery for now, since nm-state-store location should
be different per-NM instance (but there's no way to do that in MiniYARNCluster currently) -->
<property>
<name>yarn.nodemanager.recovery.enabled</name>
<value>false</value>
</property>
<property>
<name>yarn.nodemanager.recovery.dir</name>
<value>${baseDir}/nm-state-store-${containerID}</value>
</property>
<property>
<name>yarn.nodemanager.aux-services</name>
<value></value>
</property>
<property>
<name>yarn.nodemanager.health-checker.script.path</name>
<value></value>
</property>
<property>
<name>yarn.nodemanager.disk-health-checker.enable</name>
<value>false</value>
</property>
<property>
<name>yarn.nodemanager.container-executor.class</name>
<value>org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor</value>
</property>
<property>
<name>yarn.nodemanager.container-monitor.process-tree.class</name>
<value>com.linkedin.dynoyarn.workload.simulation.DynoYARNBasedProcessTree</value>
</property>
<property>
<name>yarn.nodemanager.local-dirs</name>
<value>file://$baseDir/yarn</value>
</property>
<property>
<name>yarn.nodemanager.log-dirs</name>
<value>file://$baseDir/userlogs</value>
</property>
<property>
<name>yarn.nodemanager.delete.debug-delay-sec</name>
<value>10000</value>
</property>
<property>
<name>yarn.nodemanager.resource.cpu-vcores</name>
<value>70</value>
</property>
<property>
<name>yarn.nodemanager.resource.memory-mb</name>
<value>249856</value>
</property>
<property>
<name>yarn.nodemanager.container-manager.thread-count</name>
<value>5</value>
</property>
<property>
<name>yarn.nodemanager.containers-launcher.class</name>
<value>com.linkedin.dynoyarn.FakeContainersLauncher</value>
</property>
<property>
<name>yarn.minicluster.yarn.nodemanager.resource.memory-mb</name>
<value>249856</value>
</property>
<property>
<name>yarn.minicluster.use-rpc</name>
<value>true</value>
</property>
<property>
<name>yarn.minicluster.fixed.ports</name>
<value>true</value>
</property>
<!-- disable log aggregation because submitting user is not authenticated -->
<property>
<name>yarn.log-aggregation-enable</name>
<value>false</value>
</property>
</configuration>