mapred-default.xml 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4. Licensed to the Apache Software Foundation (ASF) under one or more
  5. contributor license agreements. See the NOTICE file distributed with
  6. this work for additional information regarding copyright ownership.
  7. The ASF licenses this file to You under the Apache License, Version 2.0
  8. (the "License"); you may not use this file except in compliance with
  9. the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <!-- Do not modify this file directly. Instead, copy entries that you -->
  18. <!-- wish to modify from this file into mapred-site.xml and change them -->
  19. <!-- there. If mapred-site.xml does not already exist, create it. -->
  20. <configuration>
  21. <property>
  22. <name>mapreduce.job.committer.setup.cleanup.needed</name>
  23. <value>true</value>
  24. <description> true, if job needs job-setup and job-cleanup.
  25. false, otherwise
  26. </description>
  27. </property>
  28. <!-- i/o properties -->
  29. <property>
  30. <name>mapreduce.task.io.sort.factor</name>
  31. <value>10</value>
  32. <description>The number of streams to merge at once while sorting
  33. files. This determines the number of open file handles.</description>
  34. </property>
  35. <property>
  36. <name>mapreduce.task.io.sort.mb</name>
  37. <value>100</value>
  38. <description>The total amount of buffer memory to use while sorting
  39. files, in megabytes. By default, gives each merge stream 1MB, which
  40. should minimize seeks.</description>
  41. </property>
  42. <property>
  43. <name>mapreduce.map.sort.spill.percent</name>
  44. <value>0.80</value>
  45. <description>The soft limit in the serialization buffer. Once reached, a
  46. thread will begin to spill the contents to disk in the background. Note that
  47. collection will not block if this threshold is exceeded while a spill is
  48. already in progress, so spills may be larger than this threshold when it is
  49. set to less than .5</description>
  50. </property>
  51. <property>
  52. <name>mapreduce.jobtracker.address</name>
  53. <value>local</value>
  54. <description>The host and port that the MapReduce job tracker runs
  55. at. If "local", then jobs are run in-process as a single map
  56. and reduce task.
  57. </description>
  58. </property>
  59. <property>
  60. <name>mapreduce.local.clientfactory.class.name</name>
  61. <value>org.apache.hadoop.mapred.LocalClientFactory</value>
  62. <description>This the client factory that is responsible for
  63. creating local job runner client</description>
  64. </property>
  65. <property>
  66. <name>mapreduce.jobtracker.system.dir</name>
  67. <value>${hadoop.tmp.dir}/mapred/system</value>
  68. <description>The directory where MapReduce stores control files.
  69. </description>
  70. </property>
  71. <property>
  72. <name>mapreduce.jobtracker.staging.root.dir</name>
  73. <value>${hadoop.tmp.dir}/mapred/staging</value>
  74. <description>The root of the staging area for users' job files
  75. In practice, this should be the directory where users' home
  76. directories are located (usually /user)
  77. </description>
  78. </property>
  79. <property>
  80. <name>mapreduce.cluster.temp.dir</name>
  81. <value>${hadoop.tmp.dir}/mapred/temp</value>
  82. <description>A shared directory for temporary files.
  83. </description>
  84. </property>
  85. <property>
  86. <name>mapreduce.job.maps</name>
  87. <value>2</value>
  88. <description>The default number of map tasks per job.
  89. Ignored when mapreduce.framework.name is "local".
  90. </description>
  91. </property>
  92. <property>
  93. <name>mapreduce.job.reduces</name>
  94. <value>1</value>
  95. <description>The default number of reduce tasks per job. Typically set to 99%
  96. of the cluster's reduce capacity, so that if a node fails the reduces can
  97. still be executed in a single wave.
  98. Ignored when mapreduce.framework.name is "local".
  99. </description>
  100. </property>
  101. <property>
  102. <name>mapreduce.job.running.map.limit</name>
  103. <value>0</value>
  104. <description>The maximum number of simultaneous map tasks per job.
  105. There is no limit if this value is 0 or negative.
  106. </description>
  107. </property>
  108. <property>
  109. <name>mapreduce.job.running.reduce.limit</name>
  110. <value>0</value>
  111. <description>The maximum number of simultaneous reduce tasks per job.
  112. There is no limit if this value is 0 or negative.
  113. </description>
  114. </property>
  115. <property>
  116. <name>mapreduce.job.reducer.preempt.delay.sec</name>
  117. <value>0</value>
  118. <description>The threshold (in seconds) after which an unsatisfied
  119. mapper request triggers reducer preemption when there is no anticipated
  120. headroom. If set to 0 or a negative value, the reducer is preempted as
  121. soon as lack of headroom is detected. Default is 0.
  122. </description>
  123. </property>
  124. <property>
  125. <name>mapreduce.job.reducer.unconditional-preempt.delay.sec</name>
  126. <value>300</value>
  127. <description>The threshold (in seconds) after which an unsatisfied
  128. mapper request triggers a forced reducer preemption irrespective of the
  129. anticipated headroom. By default, it is set to 5 mins. Setting it to 0
  130. leads to immediate reducer preemption. Setting to -1 disables this
  131. preemption altogether.
  132. </description>
  133. </property>
  134. <property>
  135. <name>mapreduce.job.max.split.locations</name>
  136. <value>10</value>
  137. <description>The max number of block locations to store for each split for
  138. locality calculation.
  139. </description>
  140. </property>
  141. <property>
  142. <name>mapreduce.job.split.metainfo.maxsize</name>
  143. <value>10000000</value>
  144. <description>The maximum permissible size of the split metainfo file.
  145. The MapReduce ApplicationMaster won't attempt to read submitted split metainfo
  146. files bigger than this configured value.
  147. No limits if set to -1.
  148. </description>
  149. </property>
  150. <property>
  151. <name>mapreduce.map.maxattempts</name>
  152. <value>4</value>
  153. <description>Expert: The maximum number of attempts per map task.
  154. In other words, framework will try to execute a map task these many number
  155. of times before giving up on it.
  156. </description>
  157. </property>
  158. <property>
  159. <name>mapreduce.reduce.maxattempts</name>
  160. <value>4</value>
  161. <description>Expert: The maximum number of attempts per reduce task.
  162. In other words, framework will try to execute a reduce task these many number
  163. of times before giving up on it.
  164. </description>
  165. </property>
  166. <property>
  167. <name>mapreduce.reduce.shuffle.fetch.retry.enabled</name>
  168. <value>${yarn.nodemanager.recovery.enabled}</value>
  169. <description>Set to enable fetch retry during host restart.</description>
  170. </property>
  171. <property>
  172. <name>mapreduce.reduce.shuffle.fetch.retry.interval-ms</name>
  173. <value>1000</value>
  174. <description>Time of interval that fetcher retry to fetch again when some
  175. non-fatal failure happens because of some events like NM restart.
  176. </description>
  177. </property>
  178. <property>
  179. <name>mapreduce.reduce.shuffle.fetch.retry.timeout-ms</name>
  180. <value>30000</value>
  181. <description>Timeout value for fetcher to retry to fetch again when some
  182. non-fatal failure happens because of some events like NM restart.</description>
  183. </property>
  184. <property>
  185. <name>mapreduce.reduce.shuffle.retry-delay.max.ms</name>
  186. <value>60000</value>
  187. <description>The maximum number of ms the reducer will delay before retrying
  188. to download map data.
  189. </description>
  190. </property>
  191. <property>
  192. <name>mapreduce.reduce.shuffle.parallelcopies</name>
  193. <value>5</value>
  194. <description>The default number of parallel transfers run by reduce
  195. during the copy(shuffle) phase.
  196. </description>
  197. </property>
  198. <property>
  199. <name>mapreduce.reduce.shuffle.connect.timeout</name>
  200. <value>180000</value>
  201. <description>Expert: The maximum amount of time (in milli seconds) reduce
  202. task spends in trying to connect to a remote node for getting map output.
  203. </description>
  204. </property>
  205. <property>
  206. <name>mapreduce.reduce.shuffle.read.timeout</name>
  207. <value>180000</value>
  208. <description>Expert: The maximum amount of time (in milli seconds) reduce
  209. task waits for map output data to be available for reading after obtaining
  210. connection.
  211. </description>
  212. </property>
  213. <property>
  214. <name>mapreduce.shuffle.listen.queue.size</name>
  215. <value>128</value>
  216. <description>The length of the shuffle server listen queue.</description>
  217. </property>
  218. <property>
  219. <name>mapreduce.shuffle.connection-keep-alive.enable</name>
  220. <value>false</value>
  221. <description>set to true to support keep-alive connections.</description>
  222. </property>
  223. <property>
  224. <name>mapreduce.shuffle.connection-keep-alive.timeout</name>
  225. <value>5</value>
  226. <description>The number of seconds a shuffle client attempts to retain
  227. http connection. Refer "Keep-Alive: timeout=" header in
  228. Http specification
  229. </description>
  230. </property>
  231. <property>
  232. <name>mapreduce.task.timeout</name>
  233. <value>600000</value>
  234. <description>The number of milliseconds before a task will be
  235. terminated if it neither reads an input, writes an output, nor
  236. updates its status string. A value of 0 disables the timeout.
  237. </description>
  238. </property>
  239. <property>
  240. <name>mapreduce.map.memory.mb</name>
  241. <value>1024</value>
  242. <description>The amount of memory to request from the scheduler for each
  243. map task.
  244. </description>
  245. </property>
  246. <property>
  247. <name>mapreduce.map.cpu.vcores</name>
  248. <value>1</value>
  249. <description>The number of virtual cores to request from the scheduler for
  250. each map task.
  251. </description>
  252. </property>
  253. <property>
  254. <name>mapreduce.reduce.memory.mb</name>
  255. <value>1024</value>
  256. <description>The amount of memory to request from the scheduler for each
  257. reduce task.
  258. </description>
  259. </property>
  260. <property>
  261. <name>mapreduce.reduce.cpu.vcores</name>
  262. <value>1</value>
  263. <description>The number of virtual cores to request from the scheduler for
  264. each reduce task.
  265. </description>
  266. </property>
  267. <property>
  268. <name>mapred.child.java.opts</name>
  269. <value>-Xmx200m</value>
  270. <description>Java opts for the task processes.
  271. The following symbol, if present, will be interpolated: @taskid@ is replaced
  272. by current TaskID. Any other occurrences of '@' will go unchanged.
  273. For example, to enable verbose gc logging to a file named for the taskid in
  274. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  275. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  276. Usage of -Djava.library.path can cause programs to no longer function if
  277. hadoop native libraries are used. These values should instead be set as part
  278. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  279. mapreduce.reduce.env config settings.
  280. </description>
  281. </property>
  282. <!-- This is commented out so that it won't override mapred.child.java.opts.
  283. <property>
  284. <name>mapreduce.map.java.opts</name>
  285. <value></value>
  286. <description>Java opts only for the child processes that are maps. If set,
  287. this will be used instead of mapred.child.java.opts.
  288. </description>
  289. </property>
  290. -->
  291. <!-- This is commented out so that it won't override mapred.child.java.opts.
  292. <property>
  293. <name>mapreduce.reduce.java.opts</name>
  294. <value></value>
  295. <description>Java opts only for the child processes that are reduces. If set,
  296. this will be used instead of mapred.child.java.opts.
  297. </description>
  298. </property>
  299. -->
  300. <property>
  301. <name>mapred.child.env</name>
  302. <value></value>
  303. <description>User added environment variables for the task processes.
  304. Example :
  305. 1) A=foo This will set the env variable A to foo
  306. 2) B=$B:c This is inherit nodemanager's B env variable on Unix.
  307. 3) B=%B%;c This is inherit nodemanager's B env variable on Windows.
  308. </description>
  309. </property>
  310. <!-- This is commented out so that it won't override mapred.child.env.
  311. <property>
  312. <name>mapreduce.map.env</name>
  313. <value></value>
  314. <description>User added environment variables for the map task processes.
  315. </description>
  316. </property>
  317. -->
  318. <!-- This is commented out so that it won't override mapred.child.env.
  319. <property>
  320. <name>mapreduce.reduce.env</name>
  321. <value></value>
  322. <description>User added environment variables for the reduce task processes.
  323. </description>
  324. </property>
  325. -->
  326. <property>
  327. <name>mapreduce.admin.user.env</name>
  328. <value></value>
  329. <description>
  330. Expert: Additional execution environment entries for
  331. map and reduce task processes. This is not an additive property.
  332. You must preserve the original value if you want your map and
  333. reduce tasks to have access to native libraries (compression, etc).
  334. When this value is empty, the command to set execution
  335. envrionment will be OS dependent:
  336. For linux, use LD_LIBRARY_PATH=$HADOOP_COMMON_HOME/lib/native.
  337. For windows, use PATH = %PATH%;%HADOOP_COMMON_HOME%\\bin.
  338. </description>
  339. </property>
  340. <property>
  341. <name>yarn.app.mapreduce.am.log.level</name>
  342. <value>INFO</value>
  343. <description>The logging level for the MR ApplicationMaster. The allowed
  344. levels are: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  345. The setting here could be overriden if "mapreduce.job.log4j-properties-file"
  346. is set.
  347. </description>
  348. </property>
  349. <property>
  350. <name>mapreduce.map.log.level</name>
  351. <value>INFO</value>
  352. <description>The logging level for the map task. The allowed levels are:
  353. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  354. The setting here could be overridden if "mapreduce.job.log4j-properties-file"
  355. is set.
  356. </description>
  357. </property>
  358. <property>
  359. <name>mapreduce.reduce.log.level</name>
  360. <value>INFO</value>
  361. <description>The logging level for the reduce task. The allowed levels are:
  362. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  363. The setting here could be overridden if "mapreduce.job.log4j-properties-file"
  364. is set.
  365. </description>
  366. </property>
  367. <property>
  368. <name>mapreduce.reduce.merge.inmem.threshold</name>
  369. <value>1000</value>
  370. <description>The threshold, in terms of the number of files
  371. for the in-memory merge process. When we accumulate threshold number of files
  372. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  373. 0 indicates we want to DON'T have any threshold and instead depend only on
  374. the ramfs's memory consumption to trigger the merge.
  375. </description>
  376. </property>
  377. <property>
  378. <name>mapreduce.reduce.shuffle.merge.percent</name>
  379. <value>0.66</value>
  380. <description>The usage threshold at which an in-memory merge will be
  381. initiated, expressed as a percentage of the total memory allocated to
  382. storing in-memory map outputs, as defined by
  383. mapreduce.reduce.shuffle.input.buffer.percent.
  384. </description>
  385. </property>
  386. <property>
  387. <name>mapreduce.reduce.shuffle.input.buffer.percent</name>
  388. <value>0.70</value>
  389. <description>The percentage of memory to be allocated from the maximum heap
  390. size to storing map outputs during the shuffle.
  391. </description>
  392. </property>
  393. <property>
  394. <name>mapreduce.reduce.input.buffer.percent</name>
  395. <value>0.0</value>
  396. <description>The percentage of memory- relative to the maximum heap size- to
  397. retain map outputs during the reduce. When the shuffle is concluded, any
  398. remaining map outputs in memory must consume less than this threshold before
  399. the reduce can begin.
  400. </description>
  401. </property>
  402. <property>
  403. <name>mapreduce.reduce.shuffle.memory.limit.percent</name>
  404. <value>0.25</value>
  405. <description>Expert: Maximum percentage of the in-memory limit that a
  406. single shuffle can consume</description>
  407. </property>
  408. <property>
  409. <name>mapreduce.shuffle.ssl.enabled</name>
  410. <value>false</value>
  411. <description>
  412. Whether to use SSL for for the Shuffle HTTP endpoints.
  413. </description>
  414. </property>
  415. <property>
  416. <name>mapreduce.shuffle.ssl.file.buffer.size</name>
  417. <value>65536</value>
  418. <description>Buffer size for reading spills from file when using SSL.
  419. </description>
  420. </property>
  421. <property>
  422. <name>mapreduce.shuffle.max.connections</name>
  423. <value>0</value>
  424. <description>Max allowed connections for the shuffle. Set to 0 (zero)
  425. to indicate no limit on the number of connections.
  426. </description>
  427. </property>
  428. <property>
  429. <name>mapreduce.shuffle.max.threads</name>
  430. <value>0</value>
  431. <description>Max allowed threads for serving shuffle connections. Set to zero
  432. to indicate the default of 2 times the number of available
  433. processors (as reported by Runtime.availableProcessors()). Netty is used to
  434. serve requests, so a thread is not needed for each connection.
  435. </description>
  436. </property>
  437. <property>
  438. <name>mapreduce.shuffle.transferTo.allowed</name>
  439. <value></value>
  440. <description>This option can enable/disable using nio transferTo method in
  441. the shuffle phase. NIO transferTo does not perform well on windows in the
  442. shuffle phase. Thus, with this configuration property it is possible to
  443. disable it, in which case custom transfer method will be used. Recommended
  444. value is false when running Hadoop on Windows. For Linux, it is recommended
  445. to set it to true. If nothing is set then the default value is false for
  446. Windows, and true for Linux.
  447. </description>
  448. </property>
  449. <property>
  450. <name>mapreduce.shuffle.transfer.buffer.size</name>
  451. <value>131072</value>
  452. <description>This property is used only if
  453. mapreduce.shuffle.transferTo.allowed is set to false. In that case,
  454. this property defines the size of the buffer used in the buffer copy code
  455. for the shuffle phase. The size of this buffer determines the size of the IO
  456. requests.
  457. </description>
  458. </property>
  459. <property>
  460. <name>mapreduce.reduce.markreset.buffer.percent</name>
  461. <value>0.0</value>
  462. <description>The percentage of memory -relative to the maximum heap size- to
  463. be used for caching values when using the mark-reset functionality.
  464. </description>
  465. </property>
  466. <property>
  467. <name>mapreduce.map.speculative</name>
  468. <value>true</value>
  469. <description>If true, then multiple instances of some map tasks
  470. may be executed in parallel.</description>
  471. </property>
  472. <property>
  473. <name>mapreduce.reduce.speculative</name>
  474. <value>true</value>
  475. <description>If true, then multiple instances of some reduce tasks
  476. may be executed in parallel.</description>
  477. </property>
  478. <property>
  479. <name>mapreduce.job.speculative.speculative-cap-running-tasks</name>
  480. <value>0.1</value>
  481. <description>The max percent (0-1) of running tasks that
  482. can be speculatively re-executed at any time.</description>
  483. </property>
  484. <property>
  485. <name>mapreduce.job.speculative.speculative-cap-total-tasks</name>
  486. <value>0.01</value>
  487. <description>The max percent (0-1) of all tasks that
  488. can be speculatively re-executed at any time.</description>
  489. </property>
  490. <property>
  491. <name>mapreduce.job.speculative.minimum-allowed-tasks</name>
  492. <value>10</value>
  493. <description>The minimum allowed tasks that
  494. can be speculatively re-executed at any time.</description>
  495. </property>
  496. <property>
  497. <name>mapreduce.job.speculative.retry-after-no-speculate</name>
  498. <value>1000</value>
  499. <description>The waiting time(ms) to do next round of speculation
  500. if there is no task speculated in this round.</description>
  501. </property>
  502. <property>
  503. <name>mapreduce.job.speculative.retry-after-speculate</name>
  504. <value>15000</value>
  505. <description>The waiting time(ms) to do next round of speculation
  506. if there are tasks speculated in this round.</description>
  507. </property>
  508. <property>
  509. <name>mapreduce.job.map.output.collector.class</name>
  510. <value>org.apache.hadoop.mapred.MapTask$MapOutputBuffer</value>
  511. <description>
  512. The MapOutputCollector implementation(s) to use. This may be a comma-separated
  513. list of class names, in which case the map task will try to initialize each
  514. of the collectors in turn. The first to successfully initialize will be used.
  515. </description>
  516. </property>
  517. <property>
  518. <name>mapreduce.job.speculative.slowtaskthreshold</name>
  519. <value>1.0</value>
  520. <description>The number of standard deviations by which a task's
  521. ave progress-rates must be lower than the average of all running tasks'
  522. for the task to be considered too slow.
  523. </description>
  524. </property>
  525. <property>
  526. <name>mapreduce.job.ubertask.enable</name>
  527. <value>false</value>
  528. <description>Whether to enable the small-jobs "ubertask" optimization,
  529. which runs "sufficiently small" jobs sequentially within a single JVM.
  530. "Small" is defined by the following maxmaps, maxreduces, and maxbytes
  531. settings. Note that configurations for application masters also affect
  532. the "Small" definition - yarn.app.mapreduce.am.resource.mb must be
  533. larger than both mapreduce.map.memory.mb and mapreduce.reduce.memory.mb,
  534. and yarn.app.mapreduce.am.resource.cpu-vcores must be larger than
  535. both mapreduce.map.cpu.vcores and mapreduce.reduce.cpu.vcores to enable
  536. ubertask. Users may override this value.
  537. </description>
  538. </property>
  539. <property>
  540. <name>mapreduce.job.ubertask.maxmaps</name>
  541. <value>9</value>
  542. <description>Threshold for number of maps, beyond which job is considered
  543. too big for the ubertasking optimization. Users may override this value,
  544. but only downward.
  545. </description>
  546. </property>
  547. <property>
  548. <name>mapreduce.job.ubertask.maxreduces</name>
  549. <value>1</value>
  550. <description>Threshold for number of reduces, beyond which job is considered
  551. too big for the ubertasking optimization. CURRENTLY THE CODE CANNOT SUPPORT
  552. MORE THAN ONE REDUCE and will ignore larger values. (Zero is a valid max,
  553. however.) Users may override this value, but only downward.
  554. </description>
  555. </property>
  556. <property>
  557. <name>mapreduce.job.ubertask.maxbytes</name>
  558. <value></value>
  559. <description>Threshold for number of input bytes, beyond which job is
  560. considered too big for the ubertasking optimization. If no value is
  561. specified, dfs.block.size is used as a default. Be sure to specify a
  562. default value in mapred-site.xml if the underlying filesystem is not HDFS.
  563. Users may override this value, but only downward.
  564. </description>
  565. </property>
  566. <property>
  567. <name>mapreduce.job.emit-timeline-data</name>
  568. <value>false</value>
  569. <description>Specifies if the Application Master should emit timeline data
  570. to the timeline server. Individual jobs can override this value.
  571. </description>
  572. </property>
  573. <property>
  574. <name>mapreduce.input.fileinputformat.split.minsize</name>
  575. <value>0</value>
  576. <description>The minimum size chunk that map input should be split
  577. into. Note that some file formats may have minimum split sizes that
  578. take priority over this setting.</description>
  579. </property>
  580. <property>
  581. <name>mapreduce.input.fileinputformat.list-status.num-threads</name>
  582. <value>1</value>
  583. <description>The number of threads to use to list and fetch block locations
  584. for the specified input paths. Note: multiple threads should not be used
  585. if a custom non thread-safe path filter is used.
  586. </description>
  587. </property>
  588. <property>
  589. <name>mapreduce.input.lineinputformat.linespermap</name>
  590. <value>1</value>
  591. <description>When using NLineInputFormat, the number of lines of input data
  592. to include in each split.</description>
  593. </property>
  594. <property>
  595. <name>mapreduce.client.submit.file.replication</name>
  596. <value>10</value>
  597. <description>The replication level for submitted job files. This
  598. should be around the square root of the number of nodes.
  599. </description>
  600. </property>
  601. <property>
  602. <name>mapreduce.task.files.preserve.failedtasks</name>
  603. <value>false</value>
  604. <description>Should the files for failed tasks be kept. This should only be
  605. used on jobs that are failing, because the storage is never
  606. reclaimed. It also prevents the map outputs from being erased
  607. from the reduce directory as they are consumed.</description>
  608. </property>
  609. <!--
  610. <property>
  611. <name>mapreduce.task.files.preserve.filepattern</name>
  612. <value>.*_m_123456_0</value>
  613. <description>Keep all files from tasks whose task names match the given
  614. regular expression. Defaults to none.</description>
  615. </property>
  616. -->
  617. <property>
  618. <name>mapreduce.output.fileoutputformat.compress</name>
  619. <value>false</value>
  620. <description>Should the job outputs be compressed?
  621. </description>
  622. </property>
  623. <property>
  624. <name>mapreduce.output.fileoutputformat.compress.type</name>
  625. <value>RECORD</value>
  626. <description>If the job outputs are to compressed as SequenceFiles, how should
  627. they be compressed? Should be one of NONE, RECORD or BLOCK.
  628. </description>
  629. </property>
  630. <property>
  631. <name>mapreduce.output.fileoutputformat.compress.codec</name>
  632. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  633. <description>If the job outputs are compressed, how should they be compressed?
  634. </description>
  635. </property>
  636. <property>
  637. <name>mapreduce.map.output.compress</name>
  638. <value>false</value>
  639. <description>Should the outputs of the maps be compressed before being
  640. sent across the network. Uses SequenceFile compression.
  641. </description>
  642. </property>
  643. <property>
  644. <name>mapreduce.map.output.compress.codec</name>
  645. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  646. <description>If the map outputs are compressed, how should they be
  647. compressed?
  648. </description>
  649. </property>
  650. <property>
  651. <name>map.sort.class</name>
  652. <value>org.apache.hadoop.util.QuickSort</value>
  653. <description>The default sort class for sorting keys.
  654. </description>
  655. </property>
  656. <property>
  657. <name>mapreduce.task.userlog.limit.kb</name>
  658. <value>0</value>
  659. <description>The maximum size of user-logs of each task in KB. 0 disables the cap.
  660. </description>
  661. </property>
  662. <property>
  663. <name>yarn.app.mapreduce.am.container.log.limit.kb</name>
  664. <value>0</value>
  665. <description>The maximum size of the MRAppMaster attempt container logs in KB.
  666. 0 disables the cap.
  667. </description>
  668. </property>
  669. <property>
  670. <name>yarn.app.mapreduce.task.container.log.backups</name>
  671. <value>0</value>
  672. <description>Number of backup files for task logs when using
  673. ContainerRollingLogAppender (CRLA). See
  674. org.apache.log4j.RollingFileAppender.maxBackupIndex. By default,
  675. ContainerLogAppender (CLA) is used, and container logs are not rolled. CRLA
  676. is enabled for tasks when both mapreduce.task.userlog.limit.kb and
  677. yarn.app.mapreduce.task.container.log.backups are greater than zero.
  678. </description>
  679. </property>
  680. <property>
  681. <name>yarn.app.mapreduce.am.container.log.backups</name>
  682. <value>0</value>
  683. <description>Number of backup files for the ApplicationMaster logs when using
  684. ContainerRollingLogAppender (CRLA). See
  685. org.apache.log4j.RollingFileAppender.maxBackupIndex. By default,
  686. ContainerLogAppender (CLA) is used, and container logs are not rolled. CRLA
  687. is enabled for the ApplicationMaster when both
  688. yarn.app.mapreduce.am.container.log.limit.kb and
  689. yarn.app.mapreduce.am.container.log.backups are greater than zero.
  690. </description>
  691. </property>
  692. <property>
  693. <name>yarn.app.mapreduce.shuffle.log.separate</name>
  694. <value>true</value>
  695. <description>If enabled ('true') logging generated by the client-side shuffle
  696. classes in a reducer will be written in a dedicated log file
  697. 'syslog.shuffle' instead of 'syslog'.
  698. </description>
  699. </property>
  700. <property>
  701. <name>yarn.app.mapreduce.shuffle.log.limit.kb</name>
  702. <value>0</value>
  703. <description>Maximum size of the syslog.shuffle file in kilobytes
  704. (0 for no limit).
  705. </description>
  706. </property>
  707. <property>
  708. <name>yarn.app.mapreduce.shuffle.log.backups</name>
  709. <value>0</value>
  710. <description>If yarn.app.mapreduce.shuffle.log.limit.kb and
  711. yarn.app.mapreduce.shuffle.log.backups are greater than zero
  712. then a ContainerRollngLogAppender is used instead of ContainerLogAppender
  713. for syslog.shuffle. See
  714. org.apache.log4j.RollingFileAppender.maxBackupIndex
  715. </description>
  716. </property>
  717. <property>
  718. <name>mapreduce.job.maxtaskfailures.per.tracker</name>
  719. <value>3</value>
  720. <description>The number of task-failures on a node manager of a given job
  721. after which new tasks of that job aren't assigned to it. It
  722. MUST be less than mapreduce.map.maxattempts and
  723. mapreduce.reduce.maxattempts otherwise the failed task will
  724. never be tried on a different node.
  725. </description>
  726. </property>
  727. <property>
  728. <name>mapreduce.client.output.filter</name>
  729. <value>FAILED</value>
  730. <description>The filter for controlling the output of the task's userlogs sent
  731. to the console of the JobClient.
  732. The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
  733. ALL.
  734. </description>
  735. </property>
  736. <property>
  737. <name>mapreduce.client.completion.pollinterval</name>
  738. <value>5000</value>
  739. <description>The interval (in milliseconds) between which the JobClient
  740. polls the MapReduce ApplicationMaster for updates about job status. You may want to
  741. set this to a lower value to make tests run faster on a single node system. Adjusting
  742. this value in production may lead to unwanted client-server traffic.
  743. </description>
  744. </property>
  745. <property>
  746. <name>mapreduce.client.progressmonitor.pollinterval</name>
  747. <value>1000</value>
  748. <description>The interval (in milliseconds) between which the JobClient
  749. reports status to the console and checks for job completion. You may want to set this
  750. to a lower value to make tests run faster on a single node system. Adjusting
  751. this value in production may lead to unwanted client-server traffic.
  752. </description>
  753. </property>
  754. <property>
  755. <name>mapreduce.task.profile</name>
  756. <value>false</value>
  757. <description>To set whether the system should collect profiler
  758. information for some of the tasks in this job? The information is stored
  759. in the user log directory. The value is "true" if task profiling
  760. is enabled.</description>
  761. </property>
  762. <property>
  763. <name>mapreduce.task.profile.maps</name>
  764. <value>0-2</value>
  765. <description> To set the ranges of map tasks to profile.
  766. mapreduce.task.profile has to be set to true for the value to be accounted.
  767. </description>
  768. </property>
  769. <property>
  770. <name>mapreduce.task.profile.reduces</name>
  771. <value>0-2</value>
  772. <description> To set the ranges of reduce tasks to profile.
  773. mapreduce.task.profile has to be set to true for the value to be accounted.
  774. </description>
  775. </property>
  776. <property>
  777. <name>mapreduce.task.profile.params</name>
  778. <value>-agentlib:hprof=cpu=samples,heap=sites,force=n,thread=y,verbose=n,file=%s</value>
  779. <description>JVM profiler parameters used to profile map and reduce task
  780. attempts. This string may contain a single format specifier %s that will
  781. be replaced by the path to profile.out in the task attempt log directory.
  782. To specify different profiling options for map tasks and reduce tasks,
  783. more specific parameters mapreduce.task.profile.map.params and
  784. mapreduce.task.profile.reduce.params should be used.</description>
  785. </property>
  786. <property>
  787. <name>mapreduce.task.profile.map.params</name>
  788. <value>${mapreduce.task.profile.params}</value>
  789. <description>Map-task-specific JVM profiler parameters. See
  790. mapreduce.task.profile.params</description>
  791. </property>
  792. <property>
  793. <name>mapreduce.task.profile.reduce.params</name>
  794. <value>${mapreduce.task.profile.params}</value>
  795. <description>Reduce-task-specific JVM profiler parameters. See
  796. mapreduce.task.profile.params</description>
  797. </property>
  798. <property>
  799. <name>mapreduce.task.skip.start.attempts</name>
  800. <value>2</value>
  801. <description> The number of Task attempts AFTER which skip mode
  802. will be kicked off. When skip mode is kicked off, the
  803. tasks reports the range of records which it will process
  804. next, to the MR ApplicationMaster. So that on failures, the MR AM
  805. knows which ones are possibly the bad records. On further executions,
  806. those are skipped.
  807. </description>
  808. </property>
  809. <property>
  810. <name>mapreduce.map.skip.proc-count.auto-incr</name>
  811. <value>true</value>
  812. <description> The flag which if set to true,
  813. SkipBadRecords.COUNTER_MAP_PROCESSED_RECORDS is incremented
  814. by MapRunner after invoking the map function. This value must be set to
  815. false for applications which process the records asynchronously
  816. or buffer the input records. For example streaming.
  817. In such cases applications should increment this counter on their own.
  818. </description>
  819. </property>
  820. <property>
  821. <name>mapreduce.reduce.skip.proc-count.auto-incr</name>
  822. <value>true</value>
  823. <description> The flag which if set to true,
  824. SkipBadRecords.COUNTER_REDUCE_PROCESSED_GROUPS is incremented
  825. by framework after invoking the reduce function. This value must be set to
  826. false for applications which process the records asynchronously
  827. or buffer the input records. For example streaming.
  828. In such cases applications should increment this counter on their own.
  829. </description>
  830. </property>
  831. <property>
  832. <name>mapreduce.job.skip.outdir</name>
  833. <value></value>
  834. <description> If no value is specified here, the skipped records are
  835. written to the output directory at _logs/skip.
  836. User can stop writing skipped records by giving the value "none".
  837. </description>
  838. </property>
  839. <property>
  840. <name>mapreduce.map.skip.maxrecords</name>
  841. <value>0</value>
  842. <description> The number of acceptable skip records surrounding the bad
  843. record PER bad record in mapper. The number includes the bad record as well.
  844. To turn the feature of detection/skipping of bad records off, set the
  845. value to 0.
  846. The framework tries to narrow down the skipped range by retrying
  847. until this threshold is met OR all attempts get exhausted for this task.
  848. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  849. narrow down. Whatever records(depends on application) get skipped are
  850. acceptable.
  851. </description>
  852. </property>
  853. <property>
  854. <name>mapreduce.reduce.skip.maxgroups</name>
  855. <value>0</value>
  856. <description> The number of acceptable skip groups surrounding the bad
  857. group PER bad group in reducer. The number includes the bad group as well.
  858. To turn the feature of detection/skipping of bad groups off, set the
  859. value to 0.
  860. The framework tries to narrow down the skipped range by retrying
  861. until this threshold is met OR all attempts get exhausted for this task.
  862. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  863. narrow down. Whatever groups(depends on application) get skipped are
  864. acceptable.
  865. </description>
  866. </property>
  867. <property>
  868. <name>mapreduce.ifile.readahead</name>
  869. <value>true</value>
  870. <description>Configuration key to enable/disable IFile readahead.
  871. </description>
  872. </property>
  873. <property>
  874. <name>mapreduce.ifile.readahead.bytes</name>
  875. <value>4194304</value>
  876. <description>Configuration key to set the IFile readahead length in bytes.
  877. </description>
  878. </property>
  879. <!-- Proxy Configuration -->
  880. <property>
  881. <name>mapreduce.job.queuename</name>
  882. <value>default</value>
  883. <description> Queue to which a job is submitted. This must match one of the
  884. queues defined in mapred-queues.xml for the system. Also, the ACL setup
  885. for the queue must allow the current user to submit a job to the queue.
  886. Before specifying a queue, ensure that the system is configured with
  887. the queue, and access is allowed for submitting jobs to the queue.
  888. </description>
  889. </property>
  890. <property>
  891. <name>mapreduce.job.tags</name>
  892. <value></value>
  893. <description> Tags for the job that will be passed to YARN at submission
  894. time. Queries to YARN for applications can filter on these tags.
  895. </description>
  896. </property>
  897. <property>
  898. <name>mapreduce.cluster.local.dir</name>
  899. <value>${hadoop.tmp.dir}/mapred/local</value>
  900. <description>
  901. The local directory where MapReduce stores intermediate
  902. data files. May be a comma-separated list of
  903. directories on different devices in order to spread disk i/o.
  904. Directories that do not exist are ignored.
  905. </description>
  906. </property>
  907. <property>
  908. <name>mapreduce.cluster.acls.enabled</name>
  909. <value>false</value>
  910. <description> Specifies whether ACLs should be checked
  911. for authorization of users for doing various queue and job level operations.
  912. ACLs are disabled by default. If enabled, access control checks are made by
  913. MapReduce ApplicationMaster when requests are made by users for queue
  914. operations like submit job to a queue and kill a job in the queue and job
  915. operations like viewing the job-details (See mapreduce.job.acl-view-job)
  916. or for modifying the job (See mapreduce.job.acl-modify-job) using
  917. Map/Reduce APIs, RPCs or via the console and web user interfaces.
  918. For enabling this flag, set to true in mapred-site.xml file of all
  919. MapReduce clients (MR job submitting nodes).
  920. </description>
  921. </property>
  922. <property>
  923. <name>mapreduce.job.acl-modify-job</name>
  924. <value> </value>
  925. <description> Job specific access-control list for 'modifying' the job. It
  926. is only used if authorization is enabled in Map/Reduce by setting the
  927. configuration property mapreduce.cluster.acls.enabled to true.
  928. This specifies the list of users and/or groups who can do modification
  929. operations on the job. For specifying a list of users and groups the
  930. format to use is "user1,user2 group1,group". If set to '*', it allows all
  931. users/groups to modify this job. If set to ' '(i.e. space), it allows
  932. none. This configuration is used to guard all the modifications with respect
  933. to this job and takes care of all the following operations:
  934. o killing this job
  935. o killing a task of this job, failing a task of this job
  936. o setting the priority of this job
  937. Each of these operations are also protected by the per-queue level ACL
  938. "acl-administer-jobs" configured via mapred-queues.xml. So a caller should
  939. have the authorization to satisfy either the queue-level ACL or the
  940. job-level ACL.
  941. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  942. started the cluster, (c) members of an admin configured supergroup
  943. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  944. administrators of the queue to which this job was submitted to configured
  945. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  946. do all the modification operations on a job.
  947. By default, nobody else besides job-owner, the user who started the cluster,
  948. members of supergroup and queue administrators can perform modification
  949. operations on a job.
  950. </description>
  951. </property>
  952. <property>
  953. <name>mapreduce.job.acl-view-job</name>
  954. <value> </value>
  955. <description> Job specific access-control list for 'viewing' the job. It is
  956. only used if authorization is enabled in Map/Reduce by setting the
  957. configuration property mapreduce.cluster.acls.enabled to true.
  958. This specifies the list of users and/or groups who can view private details
  959. about the job. For specifying a list of users and groups the
  960. format to use is "user1,user2 group1,group". If set to '*', it allows all
  961. users/groups to modify this job. If set to ' '(i.e. space), it allows
  962. none. This configuration is used to guard some of the job-views and at
  963. present only protects APIs that can return possibly sensitive information
  964. of the job-owner like
  965. o job-level counters
  966. o task-level counters
  967. o tasks' diagnostic information
  968. o task-logs displayed on the HistoryServer's web-UI and
  969. o job.xml showed by the HistoryServer's web-UI
  970. Every other piece of information of jobs is still accessible by any other
  971. user, for e.g., JobStatus, JobProfile, list of jobs in the queue, etc.
  972. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  973. started the cluster, (c) members of an admin configured supergroup
  974. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  975. administrators of the queue to which this job was submitted to configured
  976. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  977. do all the view operations on a job.
  978. By default, nobody else besides job-owner, the user who started the
  979. cluster, memebers of supergroup and queue administrators can perform
  980. view operations on a job.
  981. </description>
  982. </property>
  983. <property>
  984. <name>mapreduce.job.finish-when-all-reducers-done</name>
  985. <value>false</value>
  986. <description>Specifies whether the job should complete once all reducers
  987. have finished, regardless of whether there are still running mappers.
  988. </description>
  989. </property>
  990. <property>
  991. <name>mapreduce.job.token.tracking.ids.enabled</name>
  992. <value>false</value>
  993. <description>Whether to write tracking ids of tokens to
  994. job-conf. When true, the configuration property
  995. "mapreduce.job.token.tracking.ids" is set to the token-tracking-ids of
  996. the job</description>
  997. </property>
  998. <property>
  999. <name>mapreduce.job.token.tracking.ids</name>
  1000. <value></value>
  1001. <description>When mapreduce.job.token.tracking.ids.enabled is
  1002. set to true, this is set by the framework to the
  1003. token-tracking-ids used by the job.</description>
  1004. </property>
  1005. <property>
  1006. <name>mapreduce.task.merge.progress.records</name>
  1007. <value>10000</value>
  1008. <description> The number of records to process during merge before
  1009. sending a progress notification to the MR ApplicationMaster.
  1010. </description>
  1011. </property>
  1012. <property>
  1013. <name>mapreduce.task.combine.progress.records</name>
  1014. <value>10000</value>
  1015. <description> The number of records to process during combine output collection
  1016. before sending a progress notification.
  1017. </description>
  1018. </property>
  1019. <property>
  1020. <name>mapreduce.job.reduce.slowstart.completedmaps</name>
  1021. <value>0.05</value>
  1022. <description>Fraction of the number of maps in the job which should be
  1023. complete before reduces are scheduled for the job.
  1024. </description>
  1025. </property>
  1026. <property>
  1027. <name>mapreduce.job.complete.cancel.delegation.tokens</name>
  1028. <value>true</value>
  1029. <description> if false - do not unregister/cancel delegation tokens from
  1030. renewal, because same tokens may be used by spawned jobs
  1031. </description>
  1032. </property>
  1033. <property>
  1034. <name>mapreduce.shuffle.port</name>
  1035. <value>13562</value>
  1036. <description>Default port that the ShuffleHandler will run on. ShuffleHandler
  1037. is a service run at the NodeManager to facilitate transfers of intermediate
  1038. Map outputs to requesting Reducers.
  1039. </description>
  1040. </property>
  1041. <property>
  1042. <name>mapreduce.job.reduce.shuffle.consumer.plugin.class</name>
  1043. <value>org.apache.hadoop.mapreduce.task.reduce.Shuffle</value>
  1044. <description>
  1045. Name of the class whose instance will be used
  1046. to send shuffle requests by reducetasks of this job.
  1047. The class must be an instance of org.apache.hadoop.mapred.ShuffleConsumerPlugin.
  1048. </description>
  1049. </property>
  1050. <!-- MR YARN Application properties -->
  1051. <property>
  1052. <name>mapreduce.job.node-label-expression</name>
  1053. <description>All the containers of the Map Reduce job will be run with this
  1054. node label expression. If the node-label-expression for job is not set, then
  1055. it will use queue's default-node-label-expression for all job's containers.
  1056. </description>
  1057. </property>
  1058. <property>
  1059. <name>mapreduce.job.am.node-label-expression</name>
  1060. <description>This is node-label configuration for Map Reduce Application Master
  1061. container. If not configured it will make use of
  1062. mapreduce.job.node-label-expression and if job's node-label expression is not
  1063. configured then it will use queue's default-node-label-expression.
  1064. </description>
  1065. </property>
  1066. <property>
  1067. <name>mapreduce.map.node-label-expression</name>
  1068. <description>This is node-label configuration for Map task containers. If not
  1069. configured it will use mapreduce.job.node-label-expression and if job's
  1070. node-label expression is not configured then it will use queue's
  1071. default-node-label-expression.
  1072. </description>
  1073. </property>
  1074. <property>
  1075. <name>mapreduce.reduce.node-label-expression</name>
  1076. <description>This is node-label configuration for Reduce task containers. If
  1077. not configured it will use mapreduce.job.node-label-expression and if job's
  1078. node-label expression is not configured then it will use queue's
  1079. default-node-label-expression.
  1080. </description>
  1081. </property>
  1082. <property>
  1083. <name>mapreduce.job.counters.limit</name>
  1084. <value>120</value>
  1085. <description>Limit on the number of user counters allowed per job.
  1086. </description>
  1087. </property>
  1088. <property>
  1089. <name>mapreduce.framework.name</name>
  1090. <value>local</value>
  1091. <description>The runtime framework for executing MapReduce jobs.
  1092. Can be one of local, classic or yarn.
  1093. </description>
  1094. </property>
  1095. <property>
  1096. <name>yarn.app.mapreduce.am.staging-dir</name>
  1097. <value>/tmp/hadoop-yarn/staging</value>
  1098. <description>The staging dir used while submitting jobs.
  1099. </description>
  1100. </property>
  1101. <property>
  1102. <name>mapreduce.am.max-attempts</name>
  1103. <value>2</value>
  1104. <description>The maximum number of application attempts. It is a
  1105. application-specific setting. It should not be larger than the global number
  1106. set by resourcemanager. Otherwise, it will be override. The default number is
  1107. set to 2, to allow at least one retry for AM.</description>
  1108. </property>
  1109. <!-- Job Notification Configuration -->
  1110. <property>
  1111. <name>mapreduce.job.end-notification.url</name>
  1112. <!--<value>http://localhost:8080/jobstatus.php?jobId=$jobId&amp;jobStatus=$jobStatus</value>-->
  1113. <description>Indicates url which will be called on completion of job to inform
  1114. end status of job.
  1115. User can give at most 2 variables with URI : $jobId and $jobStatus.
  1116. If they are present in URI, then they will be replaced by their
  1117. respective values.
  1118. </description>
  1119. </property>
  1120. <property>
  1121. <name>mapreduce.job.end-notification.retry.attempts</name>
  1122. <value>0</value>
  1123. <description>The number of times the submitter of the job wants to retry job
  1124. end notification if it fails. This is capped by
  1125. mapreduce.job.end-notification.max.attempts</description>
  1126. </property>
  1127. <property>
  1128. <name>mapreduce.job.end-notification.retry.interval</name>
  1129. <value>1000</value>
  1130. <description>The number of milliseconds the submitter of the job wants to
  1131. wait before job end notification is retried if it fails. This is capped by
  1132. mapreduce.job.end-notification.max.retry.interval</description>
  1133. </property>
  1134. <property>
  1135. <name>mapreduce.job.end-notification.max.attempts</name>
  1136. <value>5</value>
  1137. <final>true</final>
  1138. <description>The maximum number of times a URL will be read for providing job
  1139. end notification. Cluster administrators can set this to limit how long
  1140. after end of a job, the Application Master waits before exiting. Must be
  1141. marked as final to prevent users from overriding this.
  1142. </description>
  1143. </property>
  1144. <property>
  1145. <name>mapreduce.job.log4j-properties-file</name>
  1146. <value></value>
  1147. <description>Used to override the default settings of log4j in container-log4j.properties
  1148. for NodeManager. Like container-log4j.properties, it requires certain
  1149. framework appenders properly defined in this overriden file. The file on the
  1150. path will be added to distributed cache and classpath. If no-scheme is given
  1151. in the path, it defaults to point to a log4j file on the local FS.
  1152. </description>
  1153. </property>
  1154. <property>
  1155. <name>mapreduce.job.end-notification.max.retry.interval</name>
  1156. <value>5000</value>
  1157. <final>true</final>
  1158. <description>The maximum amount of time (in milliseconds) to wait before
  1159. retrying job end notification. Cluster administrators can set this to
  1160. limit how long the Application Master waits before exiting. Must be marked
  1161. as final to prevent users from overriding this.</description>
  1162. </property>
  1163. <property>
  1164. <name>yarn.app.mapreduce.am.env</name>
  1165. <value></value>
  1166. <description>User added environment variables for the MR App Master
  1167. processes. Example :
  1168. 1) A=foo This will set the env variable A to foo
  1169. 2) B=$B:c This is inherit tasktracker's B env variable.
  1170. </description>
  1171. </property>
  1172. <property>
  1173. <name>yarn.app.mapreduce.am.admin.user.env</name>
  1174. <value></value>
  1175. <description> Environment variables for the MR App Master
  1176. processes for admin purposes. These values are set first and can be
  1177. overridden by the user env (yarn.app.mapreduce.am.env) Example :
  1178. 1) A=foo This will set the env variable A to foo
  1179. 2) B=$B:c This is inherit app master's B env variable.
  1180. </description>
  1181. </property>
  1182. <property>
  1183. <name>yarn.app.mapreduce.am.command-opts</name>
  1184. <value>-Xmx1024m</value>
  1185. <description>Java opts for the MR App Master processes.
  1186. The following symbol, if present, will be interpolated: @taskid@ is replaced
  1187. by current TaskID. Any other occurrences of '@' will go unchanged.
  1188. For example, to enable verbose gc logging to a file named for the taskid in
  1189. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  1190. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  1191. Usage of -Djava.library.path can cause programs to no longer function if
  1192. hadoop native libraries are used. These values should instead be set as part
  1193. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  1194. mapreduce.reduce.env config settings.
  1195. </description>
  1196. </property>
  1197. <property>
  1198. <name>yarn.app.mapreduce.am.admin-command-opts</name>
  1199. <value></value>
  1200. <description>Java opts for the MR App Master processes for admin purposes.
  1201. It will appears before the opts set by yarn.app.mapreduce.am.command-opts and
  1202. thus its options can be overridden user.
  1203. Usage of -Djava.library.path can cause programs to no longer function if
  1204. hadoop native libraries are used. These values should instead be set as part
  1205. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  1206. mapreduce.reduce.env config settings.
  1207. </description>
  1208. </property>
  1209. <property>
  1210. <name>yarn.app.mapreduce.am.job.task.listener.thread-count</name>
  1211. <value>30</value>
  1212. <description>The number of threads used to handle RPC calls in the
  1213. MR AppMaster from remote tasks</description>
  1214. </property>
  1215. <property>
  1216. <name>yarn.app.mapreduce.am.job.client.port-range</name>
  1217. <value></value>
  1218. <description>Range of ports that the MapReduce AM can use when binding.
  1219. Leave blank if you want all possible ports.
  1220. For example 50000-50050,50100-50200</description>
  1221. </property>
  1222. <property>
  1223. <name>yarn.app.mapreduce.am.job.committer.cancel-timeout</name>
  1224. <value>60000</value>
  1225. <description>The amount of time in milliseconds to wait for the output
  1226. committer to cancel an operation if the job is killed</description>
  1227. </property>
  1228. <property>
  1229. <name>yarn.app.mapreduce.am.job.committer.commit-window</name>
  1230. <value>10000</value>
  1231. <description>Defines a time window in milliseconds for output commit
  1232. operations. If contact with the RM has occurred within this window then
  1233. commits are allowed, otherwise the AM will not allow output commits until
  1234. contact with the RM has been re-established.</description>
  1235. </property>
  1236. <property>
  1237. <name>mapreduce.fileoutputcommitter.algorithm.version</name>
  1238. <value>1</value>
  1239. <description>The file output committer algorithm version
  1240. valid algorithm version number: 1 or 2
  1241. default to 1, which is the original algorithm
  1242. In algorithm version 1,
  1243. 1. commitTask will rename directory
  1244. $joboutput/_temporary/$appAttemptID/_temporary/$taskAttemptID/
  1245. to
  1246. $joboutput/_temporary/$appAttemptID/$taskID/
  1247. 2. recoverTask will also do a rename
  1248. $joboutput/_temporary/$appAttemptID/$taskID/
  1249. to
  1250. $joboutput/_temporary/($appAttemptID + 1)/$taskID/
  1251. 3. commitJob will merge every task output file in
  1252. $joboutput/_temporary/$appAttemptID/$taskID/
  1253. to
  1254. $joboutput/, then it will delete $joboutput/_temporary/
  1255. and write $joboutput/_SUCCESS
  1256. It has a performance regression, which is discussed in MAPREDUCE-4815.
  1257. If a job generates many files to commit then the commitJob
  1258. method call at the end of the job can take minutes.
  1259. the commit is single-threaded and waits until all
  1260. tasks have completed before commencing.
  1261. algorithm version 2 will change the behavior of commitTask,
  1262. recoverTask, and commitJob.
  1263. 1. commitTask will rename all files in
  1264. $joboutput/_temporary/$appAttemptID/_temporary/$taskAttemptID/
  1265. to $joboutput/
  1266. 2. recoverTask actually doesn't require to do anything, but for
  1267. upgrade from version 1 to version 2 case, it will check if there
  1268. are any files in
  1269. $joboutput/_temporary/($appAttemptID - 1)/$taskID/
  1270. and rename them to $joboutput/
  1271. 3. commitJob can simply delete $joboutput/_temporary and write
  1272. $joboutput/_SUCCESS
  1273. This algorithm will reduce the output commit time for
  1274. large jobs by having the tasks commit directly to the final
  1275. output directory as they were completing and commitJob had
  1276. very little to do.
  1277. </description>
  1278. </property>
  1279. <property>
  1280. <name>yarn.app.mapreduce.am.scheduler.heartbeat.interval-ms</name>
  1281. <value>1000</value>
  1282. <description>The interval in ms at which the MR AppMaster should send
  1283. heartbeats to the ResourceManager</description>
  1284. </property>
  1285. <property>
  1286. <name>yarn.app.mapreduce.client-am.ipc.max-retries</name>
  1287. <value>3</value>
  1288. <description>The number of client retries to the AM - before reconnecting
  1289. to the RM to fetch Application Status.</description>
  1290. </property>
  1291. <property>
  1292. <name>yarn.app.mapreduce.client-am.ipc.max-retries-on-timeouts</name>
  1293. <value>3</value>
  1294. <description>The number of client retries on socket timeouts to the AM - before
  1295. reconnecting to the RM to fetch Application Status.</description>
  1296. </property>
  1297. <property>
  1298. <name>yarn.app.mapreduce.client.max-retries</name>
  1299. <value>3</value>
  1300. <description>The number of client retries to the RM/HS before
  1301. throwing exception. This is a layer above the ipc.</description>
  1302. </property>
  1303. <property>
  1304. <name>yarn.app.mapreduce.am.resource.mb</name>
  1305. <value>1536</value>
  1306. <description>The amount of memory the MR AppMaster needs.</description>
  1307. </property>
  1308. <property>
  1309. <name>yarn.app.mapreduce.am.resource.cpu-vcores</name>
  1310. <value>1</value>
  1311. <description>
  1312. The number of virtual CPU cores the MR AppMaster needs.
  1313. </description>
  1314. </property>
  1315. <property>
  1316. <name>yarn.app.mapreduce.am.hard-kill-timeout-ms</name>
  1317. <value>10000</value>
  1318. <description>
  1319. Number of milliseconds to wait before the job client kills the application.
  1320. </description>
  1321. </property>
  1322. <property>
  1323. <name>yarn.app.mapreduce.client.job.max-retries</name>
  1324. <value>0</value>
  1325. <description>The number of retries the client will make for getJob and
  1326. dependent calls. The default is 0 as this is generally only needed for
  1327. non-HDFS DFS where additional, high level retries are required to avoid
  1328. spurious failures during the getJob call. 30 is a good value for
  1329. WASB</description>
  1330. </property>
  1331. <property>
  1332. <name>yarn.app.mapreduce.client.job.retry-interval</name>
  1333. <value>2000</value>
  1334. <description>The delay between getJob retries in ms for retries configured
  1335. with yarn.app.mapreduce.client.job.max-retries.</description>
  1336. </property>
  1337. <property>
  1338. <description>CLASSPATH for MR applications. A comma-separated list
  1339. of CLASSPATH entries. If mapreduce.application.framework is set then this
  1340. must specify the appropriate classpath for that archive, and the name of
  1341. the archive must be present in the classpath.
  1342. If mapreduce.app-submission.cross-platform is false, platform-specific
  1343. environment vairable expansion syntax would be used to construct the default
  1344. CLASSPATH entries.
  1345. For Linux:
  1346. $HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*,
  1347. $HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*.
  1348. For Windows:
  1349. %HADOOP_MAPRED_HOME%/share/hadoop/mapreduce/*,
  1350. %HADOOP_MAPRED_HOME%/share/hadoop/mapreduce/lib/*.
  1351. If mapreduce.app-submission.cross-platform is true, platform-agnostic default
  1352. CLASSPATH for MR applications would be used:
  1353. {{HADOOP_MAPRED_HOME}}/share/hadoop/mapreduce/*,
  1354. {{HADOOP_MAPRED_HOME}}/share/hadoop/mapreduce/lib/*
  1355. Parameter expansion marker will be replaced by NodeManager on container
  1356. launch based on the underlying OS accordingly.
  1357. </description>
  1358. <name>mapreduce.application.classpath</name>
  1359. <value></value>
  1360. </property>
  1361. <property>
  1362. <description>If enabled, user can submit an application cross-platform
  1363. i.e. submit an application from a Windows client to a Linux/Unix server or
  1364. vice versa.
  1365. </description>
  1366. <name>mapreduce.app-submission.cross-platform</name>
  1367. <value>false</value>
  1368. </property>
  1369. <property>
  1370. <description>Path to the MapReduce framework archive. If set, the framework
  1371. archive will automatically be distributed along with the job, and this
  1372. path would normally reside in a public location in an HDFS filesystem. As
  1373. with distributed cache files, this can be a URL with a fragment specifying
  1374. the alias to use for the archive name. For example,
  1375. hdfs:/mapred/framework/hadoop-mapreduce-2.1.1.tar.gz#mrframework would
  1376. alias the localized archive as "mrframework".
  1377. Note that mapreduce.application.classpath must include the appropriate
  1378. classpath for the specified framework. The base name of the archive, or
  1379. alias of the archive if an alias is used, must appear in the specified
  1380. classpath.
  1381. </description>
  1382. <name>mapreduce.application.framework.path</name>
  1383. <value></value>
  1384. </property>
  1385. <property>
  1386. <name>mapreduce.job.classloader</name>
  1387. <value>false</value>
  1388. <description>Whether to use a separate (isolated) classloader for
  1389. user classes in the task JVM.</description>
  1390. </property>
  1391. <property>
  1392. <name>mapreduce.job.classloader.system.classes</name>
  1393. <value></value>
  1394. <description>Used to override the default definition of the system classes for
  1395. the job classloader. The system classes are a comma-separated list of
  1396. patterns that indicate whether to load a class from the system classpath,
  1397. instead from the user-supplied JARs, when mapreduce.job.classloader is
  1398. enabled.
  1399. A positive pattern is defined as:
  1400. 1. A single class name 'C' that matches 'C' and transitively all nested
  1401. classes 'C$*' defined in C;
  1402. 2. A package name ending with a '.' (e.g., "com.example.") that matches
  1403. all classes from that package.
  1404. A negative pattern is defined by a '-' in front of a positive pattern
  1405. (e.g., "-com.example.").
  1406. A class is considered a system class if and only if it matches one of the
  1407. positive patterns and none of the negative ones. More formally:
  1408. A class is a member of the inclusion set I if it matches one of the positive
  1409. patterns. A class is a member of the exclusion set E if it matches one of
  1410. the negative patterns. The set of system classes S = I \ E.
  1411. </description>
  1412. </property>
  1413. <property>
  1414. <name>mapreduce.jvm.system-properties-to-log</name>
  1415. <value>os.name,os.version,java.home,java.runtime.version,java.vendor,java.version,java.vm.name,java.class.path,java.io.tmpdir,user.dir,user.name</value>
  1416. <description>Comma-delimited list of system properties to log on mapreduce JVM start</description>
  1417. </property>
  1418. <!-- jobhistory properties -->
  1419. <property>
  1420. <name>mapreduce.jobhistory.address</name>
  1421. <value>0.0.0.0:10020</value>
  1422. <description>MapReduce JobHistory Server IPC host:port</description>
  1423. </property>
  1424. <property>
  1425. <name>mapreduce.jobhistory.webapp.address</name>
  1426. <value>0.0.0.0:19888</value>
  1427. <description>MapReduce JobHistory Server Web UI host:port</description>
  1428. </property>
  1429. <property>
  1430. <name>mapreduce.jobhistory.webapp.https.address</name>
  1431. <value>0.0.0.0:19890</value>
  1432. <description>
  1433. The https address the MapReduce JobHistory Server WebApp is on.
  1434. </description>
  1435. </property>
  1436. <property>
  1437. <name>mapreduce.jobhistory.keytab</name>
  1438. <description>
  1439. Location of the kerberos keytab file for the MapReduce
  1440. JobHistory Server.
  1441. </description>
  1442. <value>/etc/security/keytab/jhs.service.keytab</value>
  1443. </property>
  1444. <property>
  1445. <name>mapreduce.jobhistory.principal</name>
  1446. <description>
  1447. Kerberos principal name for the MapReduce JobHistory Server.
  1448. </description>
  1449. <value>jhs/_HOST@REALM.TLD</value>
  1450. </property>
  1451. <property>
  1452. <name>mapreduce.jobhistory.intermediate-done-dir</name>
  1453. <value>${yarn.app.mapreduce.am.staging-dir}/history/done_intermediate</value>
  1454. <description></description>
  1455. </property>
  1456. <property>
  1457. <name>mapreduce.jobhistory.done-dir</name>
  1458. <value>${yarn.app.mapreduce.am.staging-dir}/history/done</value>
  1459. <description></description>
  1460. </property>
  1461. <property>
  1462. <name>mapreduce.jobhistory.cleaner.enable</name>
  1463. <value>true</value>
  1464. <description></description>
  1465. </property>
  1466. <property>
  1467. <name>mapreduce.jobhistory.cleaner.interval-ms</name>
  1468. <value>86400000</value>
  1469. <description> How often the job history cleaner checks for files to delete,
  1470. in milliseconds. Defaults to 86400000 (one day). Files are only deleted if
  1471. they are older than mapreduce.jobhistory.max-age-ms.
  1472. </description>
  1473. </property>
  1474. <property>
  1475. <name>mapreduce.jobhistory.max-age-ms</name>
  1476. <value>604800000</value>
  1477. <description> Job history files older than this many milliseconds will
  1478. be deleted when the history cleaner runs. Defaults to 604800000 (1 week).
  1479. </description>
  1480. </property>
  1481. <property>
  1482. <name>mapreduce.jobhistory.client.thread-count</name>
  1483. <value>10</value>
  1484. <description>The number of threads to handle client API requests</description>
  1485. </property>
  1486. <property>
  1487. <name>mapreduce.jobhistory.datestring.cache.size</name>
  1488. <value>200000</value>
  1489. <description>Size of the date string cache. Effects the number of directories
  1490. which will be scanned to find a job.</description>
  1491. </property>
  1492. <property>
  1493. <name>mapreduce.jobhistory.joblist.cache.size</name>
  1494. <value>20000</value>
  1495. <description>Size of the job list cache</description>
  1496. </property>
  1497. <property>
  1498. <name>mapreduce.jobhistory.loadedjobs.cache.size</name>
  1499. <value>5</value>
  1500. <description>Size of the loaded job cache. This property is ignored if
  1501. the property mapreduce.jobhistory.loadedtasks.cache.size is set to a
  1502. positive value.
  1503. </description>
  1504. </property>
  1505. <property>
  1506. <name>mapreduce.jobhistory.loadedtasks.cache.size</name>
  1507. <value></value>
  1508. <description>Change the job history cache limit to be set in terms
  1509. of total task count. If the total number of tasks loaded exceeds
  1510. this value, then the job cache will be shrunk down until it is
  1511. under this limit (minimum 1 job in cache). If this value is empty
  1512. or nonpositive then the cache reverts to using the property
  1513. mapreduce.jobhistory.loadedjobs.cache.size as a job cache size.
  1514. Two recommendations for the mapreduce.jobhistory.loadedtasks.cache.size
  1515. property:
  1516. 1) For every 100k of cache size, set the heap size of the Job History
  1517. Server to 1.2GB. For example,
  1518. mapreduce.jobhistory.loadedtasks.cache.size=500000, heap size=6GB.
  1519. 2) Make sure that the cache size is larger than the number of tasks
  1520. required for the largest job run on the cluster. It might be a good
  1521. idea to set the value slightly higher (say, 20%) in order to allow
  1522. for job size growth.
  1523. </description>
  1524. </property>
  1525. <property>
  1526. <name>mapreduce.jobhistory.move.interval-ms</name>
  1527. <value>180000</value>
  1528. <description>Scan for history files to more from intermediate done dir to done
  1529. dir at this frequency.
  1530. </description>
  1531. </property>
  1532. <property>
  1533. <name>mapreduce.jobhistory.move.thread-count</name>
  1534. <value>3</value>
  1535. <description>The number of threads used to move files.</description>
  1536. </property>
  1537. <property>
  1538. <name>mapreduce.jobhistory.store.class</name>
  1539. <value></value>
  1540. <description>The HistoryStorage class to use to cache history data.</description>
  1541. </property>
  1542. <property>
  1543. <name>mapreduce.jobhistory.minicluster.fixed.ports</name>
  1544. <value>false</value>
  1545. <description>Whether to use fixed ports with the minicluster</description>
  1546. </property>
  1547. <property>
  1548. <name>mapreduce.jobhistory.admin.address</name>
  1549. <value>0.0.0.0:10033</value>
  1550. <description>The address of the History server admin interface.</description>
  1551. </property>
  1552. <property>
  1553. <name>mapreduce.jobhistory.admin.acl</name>
  1554. <value>*</value>
  1555. <description>ACL of who can be admin of the History server.</description>
  1556. </property>
  1557. <property>
  1558. <name>mapreduce.jobhistory.recovery.enable</name>
  1559. <value>false</value>
  1560. <description>Enable the history server to store server state and recover
  1561. server state upon startup. If enabled then
  1562. mapreduce.jobhistory.recovery.store.class must be specified.</description>
  1563. </property>
  1564. <property>
  1565. <name>mapreduce.jobhistory.recovery.store.class</name>
  1566. <value>org.apache.hadoop.mapreduce.v2.hs.HistoryServerFileSystemStateStoreService</value>
  1567. <description>The HistoryServerStateStoreService class to store history server
  1568. state for recovery.</description>
  1569. </property>
  1570. <property>
  1571. <name>mapreduce.jobhistory.recovery.store.fs.uri</name>
  1572. <value>${hadoop.tmp.dir}/mapred/history/recoverystore</value>
  1573. <!--value>hdfs://localhost:9000/mapred/history/recoverystore</value-->
  1574. <description>The URI where history server state will be stored if
  1575. HistoryServerFileSystemStateStoreService is configured as the recovery
  1576. storage class.</description>
  1577. </property>
  1578. <property>
  1579. <name>mapreduce.jobhistory.recovery.store.leveldb.path</name>
  1580. <value>${hadoop.tmp.dir}/mapred/history/recoverystore</value>
  1581. <description>The URI where history server state will be stored if
  1582. HistoryServerLeveldbSystemStateStoreService is configured as the recovery
  1583. storage class.</description>
  1584. </property>
  1585. <property>
  1586. <name>mapreduce.jobhistory.http.policy</name>
  1587. <value>HTTP_ONLY</value>
  1588. <description>
  1589. This configures the HTTP endpoint for JobHistoryServer web UI.
  1590. The following values are supported:
  1591. - HTTP_ONLY : Service is provided only on http
  1592. - HTTPS_ONLY : Service is provided only on https
  1593. </description>
  1594. </property>
  1595. <property>
  1596. <name>mapreduce.jobhistory.jobname.limit</name>
  1597. <value>50</value>
  1598. <description>
  1599. Number of characters allowed for job name in Job History Server web page.
  1600. </description>
  1601. </property>
  1602. <property>
  1603. <description>
  1604. File format the AM will use when generating the .jhist file. Valid
  1605. values are "json" for text output and "binary" for faster parsing.
  1606. </description>
  1607. <name>mapreduce.jobhistory.jhist.format</name>
  1608. <value>json</value>
  1609. </property>
  1610. <property>
  1611. <name>yarn.app.mapreduce.am.containerlauncher.threadpool-initial-size</name>
  1612. <value>10</value>
  1613. <description>The initial size of thread pool to launch containers in the
  1614. app master.
  1615. </description>
  1616. </property>
  1617. <property>
  1618. <name>mapreduce.task.exit.timeout</name>
  1619. <value>60000</value>
  1620. <description>The number of milliseconds before a task will be
  1621. terminated if it stays in finishing state for too long.
  1622. After a task attempt completes from TaskUmbilicalProtocol's point of view,
  1623. it will be transitioned to finishing state. That will give a chance for the
  1624. task to exit by itself.
  1625. </description>
  1626. </property>
  1627. <property>
  1628. <name>mapreduce.task.exit.timeout.check-interval-ms</name>
  1629. <value>20000</value>
  1630. <description>The interval in milliseconds between which the MR framework
  1631. checks if task attempts stay in finishing state for too long.
  1632. </description>
  1633. </property>
  1634. <property>
  1635. <name>mapreduce.task.local-fs.write-limit.bytes</name>
  1636. <value>-1</value>
  1637. <description>Limit on the byte written to the local file system by each task.
  1638. This limit only applies to writes that go through the Hadoop filesystem APIs
  1639. within the task process (i.e.: writes that will update the local filesystem's
  1640. BYTES_WRITTEN counter). It does not cover other writes such as logging,
  1641. sideband writes from subprocesses (e.g.: streaming jobs), etc.
  1642. Negative values disable the limit.
  1643. default is -1</description>
  1644. </property>
  1645. <property>
  1646. <description>
  1647. The list of job configuration properties whose value will be redacted.
  1648. </description>
  1649. <name>mapreduce.job.redacted-properties</name>
  1650. <value></value>
  1651. </property>
  1652. </configuration>