-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmapred-site.xml
259 lines (257 loc) · 8.74 KB
/
mapred-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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
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.
-->
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>mapreduce.job.reduces</name>
<value>39</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.jobhistory.address</name>
<value>10.11.12.111:10020</value>
<description>MapReduce JobHistory Server IPC host:port</description>
</property>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
<property>
<name>mapreduce.map.log.level</name>
<value>DEBUG</value>
</property>
<property>
<name>mapreduce.reduce.log.level</name>
<value>DEBUG</value>
</property>
<property>
<name>mapreduce.job.classloader</name>
<value>true</value>
</property>
<property>
<name>mapreduce.fileoutputcommitter.task.cleanup.enabled</name>
<value>true</value>
<description>
Whether tasks should delete their task temporary directories. This is
purely an optimization for filesystems without O(1) recursive delete,
as commitJob will recursively delete the entire job temporary
directory. HDFS has O(1) recursive delete, so this parameter is left
false by default. Users of object stores, for example, may want to set
this to true. Note: this is only used if
mapreduce.fileoutputcommitter.algorithm.version=2 See
https://issues.apache.org/jira/browse/MAPREDUCE-7029 for details.
</description>
</property>
<property>
<name>yarn.app.mapreduce.am.resource.mb</name>
<value>3386</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.map.java.opts</name>
<value>-Xmx2708m</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.jobhistory.recovery.store.fs.uri</name>
<value>${hadoop.tmp.dir}/mapred/history/recoverystore</value>
<description>URI where history server state is stored.</description>
</property>
<property>
<name>mapreduce.job.working.dir</name>
<value>/user/${user.name}</value>
<description>
The FileSystem working directory to use for relative paths.
</description>
</property>
<property>
<name>mapred.local.dir</name>
<value>/hadoop/mapred/local</value>
<description>
Directories on the local machine in which to store mapreduce temp files.
</description>
</property>
<property>
<name>mapreduce.fileoutputcommitter.failures.attempts</name>
<value>4</value>
<description>
Number of attempts when failure happens in commit job.
</description>
</property>
<property>
<name>mapreduce.reduce.java.opts</name>
<value>-Xmx2708m</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.map.memory.mb</name>
<value>3386</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.reduce.memory.mb</name>
<value>3386</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.jobhistory.recovery.enable</name>
<value>true</value>
<description>
Enable history server to recover server state on startup.
</description>
</property>
<property>
<name>mapreduce.tasktracker.map.tasks.maximum</name>
<value>4</value>
<description>
Property from MapReduce version 1 still used for TeraGen sharding.
</description>
</property>
<property>
<name>mapreduce.input.fileinputformat.list-status.num-threads</name>
<value>20</value>
<description>
The number of threads to use to list and fetch block locations for the
specified input paths. Note: multiple threads should not be used if a
custom non thread-safe path filter is used. Setting a larger value than
the default of 1 can significantly improve job startup overhead,
especially if using GCS as input with multi-level directories, such
as in partitioned Hive tables.
</description>
</property>
<property>
<name>mapreduce.reduce.cpu.vcores</name>
<value>1</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.map.cpu.vcores</name>
<value>1</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.jobhistory.recovery.store.class</name>
<value>org.apache.hadoop.mapreduce.v2.hs.HistoryServerLeveldbStateStoreService</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.job.maps</name>
<value>117</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.jobhistory.webapp.address</name>
<value>druid-ingestion-cluster-m:19888</value>
<description>MapReduce JobHistory Server Web UI host:port</description>
</property>
<property>
<name>yarn.app.mapreduce.am.command-opts</name>
<value>-Xmx2708m</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>yarn.app.mapreduce.am.resource.cpu-vcores</name>
<value>1</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.jobhistory.always-scan-user-dir</name>
<value>true</value>
<description>Enable history server to always scan user dir.</description>
</property>
<property>
<name>mapreduce.fileoutputcommitter.algorithm.version</name>
<value>2</value>
<description>
Updated file output committer algorithm in Hadoop 2.7+. Significantly
improves commitJob times when using the Google Cloud Storage connector.
See https://issues.apache.org/jira/browse/MAPREDUCE-4815 for more details.
</description>
</property>
<property>
<name>mapreduce.application.classpath</name>
<value>$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*,
$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*,
/usr/local/share/google/dataproc/lib/*</value>
</property>
<property>
<name>mapred.bq.project.id</name>
<value>planar-root-628</value>
<description>
Google Cloud Project ID to use for BigQuery operations.
</description>
</property>
<property>
<name>mapred.bq.output.buffer.size</name>
<value>67108864</value>
<description>
The size in bytes of the output buffer to use when writing to BigQuery.
</description>
</property>
<property>
<name>mapred.bq.gcs.bucket</name>
<value>dataproc-16cac6e9-273a-4b60-9ea4-d40b3a01a923-europe-west4</value>
<description>
The GCS bucket holding temporary BigQuery data for the input connector.
</description>
</property>
<property>
<name>mapreduce.jobhistory.done-dir</name>
<value>gs://dataproc-temp-europe-west4-366312403477-2pg3cl6p/1ea5039b-7bda-49ec-9ab7-3a0d171e47c0/mapreduce-job-history/done</value>
</property>
<property>
<name>mapreduce.jobhistory.intermediate-done-dir</name>
<value>gs://dataproc-temp-europe-west4-366312403477-2pg3cl6p/1ea5039b-7bda-49ec-9ab7-3a0d171e47c0/mapreduce-job-history/done_intermediate</value>
</property>
<property>
<name>mapreduce.jobhistory.move.interval-ms</name>
<value>1000</value>
</property>
<property>
<name>mapreduce.job.reduce.slowstart.completedmaps</name>
<value>0.95</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.reduce.maxattempts</name>
<value>10</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.map.maxattempts</name>
<value>10</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
<property>
<name>mapreduce.task.io.sort.mb</name>
<value>256</value>
<final>false</final>
<source>Dataproc Cluster Properties</source>
</property>
</configuration>