1
0

mapred-default.xml 68 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909
  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.local.clientfactory.class.name</name>
  53. <value>org.apache.hadoop.mapred.LocalClientFactory</value>
  54. <description>This the client factory that is responsible for
  55. creating local job runner client</description>
  56. </property>
  57. <property>
  58. <name>mapreduce.job.maps</name>
  59. <value>2</value>
  60. <description>The default number of map tasks per job.
  61. Ignored when mapreduce.framework.name is "local".
  62. </description>
  63. </property>
  64. <property>
  65. <name>mapreduce.job.reduces</name>
  66. <value>1</value>
  67. <description>The default number of reduce tasks per job. Typically set to 99%
  68. of the cluster's reduce capacity, so that if a node fails the reduces can
  69. still be executed in a single wave.
  70. Ignored when mapreduce.framework.name is "local".
  71. </description>
  72. </property>
  73. <property>
  74. <name>mapreduce.job.running.map.limit</name>
  75. <value>0</value>
  76. <description>The maximum number of simultaneous map tasks per job.
  77. There is no limit if this value is 0 or negative.
  78. </description>
  79. </property>
  80. <property>
  81. <name>mapreduce.job.running.reduce.limit</name>
  82. <value>0</value>
  83. <description>The maximum number of simultaneous reduce tasks per job.
  84. There is no limit if this value is 0 or negative.
  85. </description>
  86. </property>
  87. <property>
  88. <name>mapreduce.job.max.map</name>
  89. <value>-1</value>
  90. <description>Limit on the number of map tasks allowed per job.
  91. There is no limit if this value is negative.
  92. </description>
  93. </property>
  94. <property>
  95. <name>mapreduce.job.reducer.preempt.delay.sec</name>
  96. <value>0</value>
  97. <description>The threshold (in seconds) after which an unsatisfied
  98. mapper request triggers reducer preemption when there is no anticipated
  99. headroom. If set to 0 or a negative value, the reducer is preempted as
  100. soon as lack of headroom is detected. Default is 0.
  101. </description>
  102. </property>
  103. <property>
  104. <name>mapreduce.job.reducer.unconditional-preempt.delay.sec</name>
  105. <value>300</value>
  106. <description>The threshold (in seconds) after which an unsatisfied
  107. mapper request triggers a forced reducer preemption irrespective of the
  108. anticipated headroom. By default, it is set to 5 mins. Setting it to 0
  109. leads to immediate reducer preemption. Setting to -1 disables this
  110. preemption altogether.
  111. </description>
  112. </property>
  113. <property>
  114. <name>mapreduce.job.max.split.locations</name>
  115. <value>10</value>
  116. <description>The max number of block locations to store for each split for
  117. locality calculation.
  118. </description>
  119. </property>
  120. <property>
  121. <name>mapreduce.job.split.metainfo.maxsize</name>
  122. <value>10000000</value>
  123. <description>The maximum permissible size of the split metainfo file.
  124. The MapReduce ApplicationMaster won't attempt to read submitted split metainfo
  125. files bigger than this configured value.
  126. No limits if set to -1.
  127. </description>
  128. </property>
  129. <property>
  130. <name>mapreduce.map.maxattempts</name>
  131. <value>4</value>
  132. <description>Expert: The maximum number of attempts per map task.
  133. In other words, framework will try to execute a map task these many number
  134. of times before giving up on it.
  135. </description>
  136. </property>
  137. <property>
  138. <name>mapreduce.reduce.maxattempts</name>
  139. <value>4</value>
  140. <description>Expert: The maximum number of attempts per reduce task.
  141. In other words, framework will try to execute a reduce task these many number
  142. of times before giving up on it.
  143. </description>
  144. </property>
  145. <property>
  146. <name>mapreduce.reduce.shuffle.fetch.retry.enabled</name>
  147. <value>${yarn.nodemanager.recovery.enabled}</value>
  148. <description>Set to enable fetch retry during host restart.</description>
  149. </property>
  150. <property>
  151. <name>mapreduce.reduce.shuffle.fetch.retry.interval-ms</name>
  152. <value>1000</value>
  153. <description>Time of interval that fetcher retry to fetch again when some
  154. non-fatal failure happens because of some events like NM restart.
  155. </description>
  156. </property>
  157. <property>
  158. <name>mapreduce.reduce.shuffle.fetch.retry.timeout-ms</name>
  159. <value>30000</value>
  160. <description>Timeout value for fetcher to retry to fetch again when some
  161. non-fatal failure happens because of some events like NM restart.</description>
  162. </property>
  163. <property>
  164. <name>mapreduce.reduce.shuffle.retry-delay.max.ms</name>
  165. <value>60000</value>
  166. <description>The maximum number of ms the reducer will delay before retrying
  167. to download map data.
  168. </description>
  169. </property>
  170. <property>
  171. <name>mapreduce.reduce.shuffle.parallelcopies</name>
  172. <value>5</value>
  173. <description>The default number of parallel transfers run by reduce
  174. during the copy(shuffle) phase.
  175. </description>
  176. </property>
  177. <property>
  178. <name>mapreduce.reduce.shuffle.connect.timeout</name>
  179. <value>180000</value>
  180. <description>Expert: The maximum amount of time (in milli seconds) reduce
  181. task spends in trying to connect to a remote node for getting map output.
  182. </description>
  183. </property>
  184. <property>
  185. <name>mapreduce.reduce.shuffle.read.timeout</name>
  186. <value>180000</value>
  187. <description>Expert: The maximum amount of time (in milli seconds) reduce
  188. task waits for map output data to be available for reading after obtaining
  189. connection.
  190. </description>
  191. </property>
  192. <property>
  193. <name>mapreduce.shuffle.connection-keep-alive.enable</name>
  194. <value>false</value>
  195. <description>set to true to support keep-alive connections.</description>
  196. </property>
  197. <property>
  198. <name>mapreduce.shuffle.connection-keep-alive.timeout</name>
  199. <value>5</value>
  200. <description>The number of seconds a shuffle client attempts to retain
  201. http connection. Refer "Keep-Alive: timeout=" header in
  202. Http specification
  203. </description>
  204. </property>
  205. <property>
  206. <name>mapreduce.task.timeout</name>
  207. <value>600000</value>
  208. <description>The number of milliseconds before a task will be
  209. terminated if it neither reads an input, writes an output, nor
  210. updates its status string. A value of 0 disables the timeout.
  211. </description>
  212. </property>
  213. <property>
  214. <name>mapreduce.map.memory.mb</name>
  215. <value>1024</value>
  216. <description>The amount of memory to request from the scheduler for each
  217. map task.
  218. </description>
  219. </property>
  220. <property>
  221. <name>mapreduce.map.cpu.vcores</name>
  222. <value>1</value>
  223. <description>The number of virtual cores to request from the scheduler for
  224. each map task.
  225. </description>
  226. </property>
  227. <property>
  228. <name>mapreduce.reduce.memory.mb</name>
  229. <value>1024</value>
  230. <description>The amount of memory to request from the scheduler for each
  231. reduce task.
  232. </description>
  233. </property>
  234. <property>
  235. <name>mapreduce.reduce.cpu.vcores</name>
  236. <value>1</value>
  237. <description>The number of virtual cores to request from the scheduler for
  238. each reduce task.
  239. </description>
  240. </property>
  241. <property>
  242. <name>mapred.child.java.opts</name>
  243. <value>-Xmx200m</value>
  244. <description>Java opts for the task processes.
  245. The following symbol, if present, will be interpolated: @taskid@ is replaced
  246. by current TaskID. Any other occurrences of '@' will go unchanged.
  247. For example, to enable verbose gc logging to a file named for the taskid in
  248. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  249. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  250. Usage of -Djava.library.path can cause programs to no longer function if
  251. hadoop native libraries are used. These values should instead be set as part
  252. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  253. mapreduce.reduce.env config settings.
  254. </description>
  255. </property>
  256. <!-- This is commented out so that it won't override mapred.child.java.opts.
  257. <property>
  258. <name>mapreduce.map.java.opts</name>
  259. <value></value>
  260. <description>Java opts only for the child processes that are maps. If set,
  261. this will be used instead of mapred.child.java.opts.
  262. </description>
  263. </property>
  264. -->
  265. <!-- This is commented out so that it won't override mapred.child.java.opts.
  266. <property>
  267. <name>mapreduce.reduce.java.opts</name>
  268. <value></value>
  269. <description>Java opts only for the child processes that are reduces. If set,
  270. this will be used instead of mapred.child.java.opts.
  271. </description>
  272. </property>
  273. -->
  274. <property>
  275. <name>mapred.child.env</name>
  276. <value></value>
  277. <description>User added environment variables for the task processes.
  278. Example :
  279. 1) A=foo This will set the env variable A to foo
  280. 2) B=$B:c This is inherit nodemanager's B env variable on Unix.
  281. 3) B=%B%;c This is inherit nodemanager's B env variable on Windows.
  282. </description>
  283. </property>
  284. <!-- This is commented out so that it won't override mapred.child.env.
  285. <property>
  286. <name>mapreduce.map.env</name>
  287. <value></value>
  288. <description>User added environment variables for the map task processes.
  289. </description>
  290. </property>
  291. -->
  292. <!-- This is commented out so that it won't override mapred.child.env.
  293. <property>
  294. <name>mapreduce.reduce.env</name>
  295. <value></value>
  296. <description>User added environment variables for the reduce task processes.
  297. </description>
  298. </property>
  299. -->
  300. <property>
  301. <name>mapreduce.admin.user.env</name>
  302. <value></value>
  303. <description>
  304. Expert: Additional execution environment entries for
  305. map and reduce task processes. This is not an additive property.
  306. You must preserve the original value if you want your map and
  307. reduce tasks to have access to native libraries (compression, etc).
  308. When this value is empty, the command to set execution
  309. envrionment will be OS dependent:
  310. For linux, use LD_LIBRARY_PATH=$HADOOP_COMMON_HOME/lib/native.
  311. For windows, use PATH = %PATH%;%HADOOP_COMMON_HOME%\\bin.
  312. </description>
  313. </property>
  314. <property>
  315. <name>yarn.app.mapreduce.am.log.level</name>
  316. <value>INFO</value>
  317. <description>The logging level for the MR ApplicationMaster. The allowed
  318. levels are: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  319. The setting here could be overriden if "mapreduce.job.log4j-properties-file"
  320. is set.
  321. </description>
  322. </property>
  323. <property>
  324. <name>mapreduce.map.log.level</name>
  325. <value>INFO</value>
  326. <description>The logging level for the map task. The allowed levels are:
  327. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  328. The setting here could be overridden if "mapreduce.job.log4j-properties-file"
  329. is set.
  330. </description>
  331. </property>
  332. <property>
  333. <name>mapreduce.reduce.log.level</name>
  334. <value>INFO</value>
  335. <description>The logging level for the reduce task. The allowed levels are:
  336. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  337. The setting here could be overridden if "mapreduce.job.log4j-properties-file"
  338. is set.
  339. </description>
  340. </property>
  341. <property>
  342. <name>mapreduce.map.cpu.vcores</name>
  343. <value>1</value>
  344. <description>
  345. The number of virtual cores required for each map task.
  346. </description>
  347. </property>
  348. <property>
  349. <name>mapreduce.reduce.cpu.vcores</name>
  350. <value>1</value>
  351. <description>
  352. The number of virtual cores required for each reduce task.
  353. </description>
  354. </property>
  355. <property>
  356. <name>mapreduce.reduce.merge.inmem.threshold</name>
  357. <value>1000</value>
  358. <description>The threshold, in terms of the number of files
  359. for the in-memory merge process. When we accumulate threshold number of files
  360. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  361. 0 indicates we want to DON'T have any threshold and instead depend only on
  362. the ramfs's memory consumption to trigger the merge.
  363. </description>
  364. </property>
  365. <property>
  366. <name>mapreduce.reduce.shuffle.merge.percent</name>
  367. <value>0.66</value>
  368. <description>The usage threshold at which an in-memory merge will be
  369. initiated, expressed as a percentage of the total memory allocated to
  370. storing in-memory map outputs, as defined by
  371. mapreduce.reduce.shuffle.input.buffer.percent.
  372. </description>
  373. </property>
  374. <property>
  375. <name>mapreduce.reduce.shuffle.input.buffer.percent</name>
  376. <value>0.70</value>
  377. <description>The percentage of memory to be allocated from the maximum heap
  378. size to storing map outputs during the shuffle.
  379. </description>
  380. </property>
  381. <property>
  382. <name>mapreduce.reduce.input.buffer.percent</name>
  383. <value>0.0</value>
  384. <description>The percentage of memory- relative to the maximum heap size- to
  385. retain map outputs during the reduce. When the shuffle is concluded, any
  386. remaining map outputs in memory must consume less than this threshold before
  387. the reduce can begin.
  388. </description>
  389. </property>
  390. <property>
  391. <name>mapreduce.reduce.shuffle.memory.limit.percent</name>
  392. <value>0.25</value>
  393. <description>Expert: Maximum percentage of the in-memory limit that a
  394. single shuffle can consume. Range of valid values is [0.0, 1.0]. If the value
  395. is 0.0 map outputs are shuffled directly to disk.</description>
  396. </property>
  397. <property>
  398. <name>mapreduce.shuffle.ssl.enabled</name>
  399. <value>false</value>
  400. <description>
  401. Whether to use SSL for for the Shuffle HTTP endpoints.
  402. </description>
  403. </property>
  404. <property>
  405. <name>mapreduce.shuffle.ssl.file.buffer.size</name>
  406. <value>65536</value>
  407. <description>Buffer size for reading spills from file when using SSL.
  408. </description>
  409. </property>
  410. <property>
  411. <name>mapreduce.shuffle.max.connections</name>
  412. <value>0</value>
  413. <description>Max allowed connections for the shuffle. Set to 0 (zero)
  414. to indicate no limit on the number of connections.
  415. </description>
  416. </property>
  417. <property>
  418. <name>mapreduce.shuffle.max.threads</name>
  419. <value>0</value>
  420. <description>Max allowed threads for serving shuffle connections. Set to zero
  421. to indicate the default of 2 times the number of available
  422. processors (as reported by Runtime.availableProcessors()). Netty is used to
  423. serve requests, so a thread is not needed for each connection.
  424. </description>
  425. </property>
  426. <property>
  427. <name>mapreduce.shuffle.transferTo.allowed</name>
  428. <value></value>
  429. <description>This option can enable/disable using nio transferTo method in
  430. the shuffle phase. NIO transferTo does not perform well on windows in the
  431. shuffle phase. Thus, with this configuration property it is possible to
  432. disable it, in which case custom transfer method will be used. Recommended
  433. value is false when running Hadoop on Windows. For Linux, it is recommended
  434. to set it to true. If nothing is set then the default value is false for
  435. Windows, and true for Linux.
  436. </description>
  437. </property>
  438. <property>
  439. <name>mapreduce.shuffle.transfer.buffer.size</name>
  440. <value>131072</value>
  441. <description>This property is used only if
  442. mapreduce.shuffle.transferTo.allowed is set to false. In that case,
  443. this property defines the size of the buffer used in the buffer copy code
  444. for the shuffle phase. The size of this buffer determines the size of the IO
  445. requests.
  446. </description>
  447. </property>
  448. <property>
  449. <name>mapreduce.reduce.markreset.buffer.percent</name>
  450. <value>0.0</value>
  451. <description>The percentage of memory -relative to the maximum heap size- to
  452. be used for caching values when using the mark-reset functionality.
  453. </description>
  454. </property>
  455. <property>
  456. <name>mapreduce.map.speculative</name>
  457. <value>true</value>
  458. <description>If true, then multiple instances of some map tasks
  459. may be executed in parallel.</description>
  460. </property>
  461. <property>
  462. <name>mapreduce.reduce.speculative</name>
  463. <value>true</value>
  464. <description>If true, then multiple instances of some reduce tasks
  465. may be executed in parallel.</description>
  466. </property>
  467. <property>
  468. <name>mapreduce.job.speculative.speculative-cap-running-tasks</name>
  469. <value>0.1</value>
  470. <description>The max percent (0-1) of running tasks that
  471. can be speculatively re-executed at any time.</description>
  472. </property>
  473. <property>
  474. <name>mapreduce.job.speculative.speculative-cap-total-tasks</name>
  475. <value>0.01</value>
  476. <description>The max percent (0-1) of all tasks that
  477. can be speculatively re-executed at any time.</description>
  478. </property>
  479. <property>
  480. <name>mapreduce.job.speculative.minimum-allowed-tasks</name>
  481. <value>10</value>
  482. <description>The minimum allowed tasks that
  483. can be speculatively re-executed at any time.</description>
  484. </property>
  485. <property>
  486. <name>mapreduce.job.speculative.retry-after-no-speculate</name>
  487. <value>1000</value>
  488. <description>The waiting time(ms) to do next round of speculation
  489. if there is no task speculated in this round.</description>
  490. </property>
  491. <property>
  492. <name>mapreduce.job.speculative.retry-after-speculate</name>
  493. <value>15000</value>
  494. <description>The waiting time(ms) to do next round of speculation
  495. if there are tasks speculated in this round.</description>
  496. </property>
  497. <property>
  498. <name>mapreduce.job.map.output.collector.class</name>
  499. <value>org.apache.hadoop.mapred.MapTask$MapOutputBuffer</value>
  500. <description>
  501. The MapOutputCollector implementation(s) to use. This may be a comma-separated
  502. list of class names, in which case the map task will try to initialize each
  503. of the collectors in turn. The first to successfully initialize will be used.
  504. </description>
  505. </property>
  506. <property>
  507. <name>mapreduce.job.speculative.slowtaskthreshold</name>
  508. <value>1.0</value>
  509. <description>The number of standard deviations by which a task's
  510. ave progress-rates must be lower than the average of all running tasks'
  511. for the task to be considered too slow.
  512. </description>
  513. </property>
  514. <property>
  515. <name>mapreduce.job.ubertask.enable</name>
  516. <value>false</value>
  517. <description>Whether to enable the small-jobs "ubertask" optimization,
  518. which runs "sufficiently small" jobs sequentially within a single JVM.
  519. "Small" is defined by the following maxmaps, maxreduces, and maxbytes
  520. settings. Note that configurations for application masters also affect
  521. the "Small" definition - yarn.app.mapreduce.am.resource.mb must be
  522. larger than both mapreduce.map.memory.mb and mapreduce.reduce.memory.mb,
  523. and yarn.app.mapreduce.am.resource.cpu-vcores must be larger than
  524. both mapreduce.map.cpu.vcores and mapreduce.reduce.cpu.vcores to enable
  525. ubertask. Users may override this value.
  526. </description>
  527. </property>
  528. <property>
  529. <name>mapreduce.job.ubertask.maxmaps</name>
  530. <value>9</value>
  531. <description>Threshold for number of maps, beyond which job is considered
  532. too big for the ubertasking optimization. Users may override this value,
  533. but only downward.
  534. </description>
  535. </property>
  536. <property>
  537. <name>mapreduce.job.ubertask.maxreduces</name>
  538. <value>1</value>
  539. <description>Threshold for number of reduces, beyond which job is considered
  540. too big for the ubertasking optimization. CURRENTLY THE CODE CANNOT SUPPORT
  541. MORE THAN ONE REDUCE and will ignore larger values. (Zero is a valid max,
  542. however.) Users may override this value, but only downward.
  543. </description>
  544. </property>
  545. <property>
  546. <name>mapreduce.job.ubertask.maxbytes</name>
  547. <value></value>
  548. <description>Threshold for number of input bytes, beyond which job is
  549. considered too big for the ubertasking optimization. If no value is
  550. specified, dfs.block.size is used as a default. Be sure to specify a
  551. default value in mapred-site.xml if the underlying filesystem is not HDFS.
  552. Users may override this value, but only downward.
  553. </description>
  554. </property>
  555. <property>
  556. <name>mapreduce.job.emit-timeline-data</name>
  557. <value>false</value>
  558. <description>Specifies if the Application Master should emit timeline data
  559. to the timeline server. Individual jobs can override this value.
  560. </description>
  561. </property>
  562. <property>
  563. <name>mapreduce.input.fileinputformat.split.minsize</name>
  564. <value>0</value>
  565. <description>The minimum size chunk that map input should be split
  566. into. Note that some file formats may have minimum split sizes that
  567. take priority over this setting.</description>
  568. </property>
  569. <property>
  570. <name>mapreduce.input.fileinputformat.list-status.num-threads</name>
  571. <value>1</value>
  572. <description>The number of threads to use to list and fetch block locations
  573. for the specified input paths. Note: multiple threads should not be used
  574. if a custom non thread-safe path filter is used.
  575. </description>
  576. </property>
  577. <property>
  578. <name>mapreduce.input.lineinputformat.linespermap</name>
  579. <value>1</value>
  580. <description>When using NLineInputFormat, the number of lines of input data
  581. to include in each split.</description>
  582. </property>
  583. <property>
  584. <name>mapreduce.client.submit.file.replication</name>
  585. <value>10</value>
  586. <description>The replication level for submitted job files. This
  587. should be around the square root of the number of nodes.
  588. </description>
  589. </property>
  590. <property>
  591. <name>mapreduce.task.files.preserve.failedtasks</name>
  592. <value>false</value>
  593. <description>Should the files for failed tasks be kept. This should only be
  594. used on jobs that are failing, because the storage is never
  595. reclaimed. It also prevents the map outputs from being erased
  596. from the reduce directory as they are consumed.</description>
  597. </property>
  598. <!--
  599. <property>
  600. <name>mapreduce.task.files.preserve.filepattern</name>
  601. <value>.*_m_123456_0</value>
  602. <description>Keep all files from tasks whose task names match the given
  603. regular expression. Defaults to none.</description>
  604. </property>
  605. -->
  606. <property>
  607. <name>mapreduce.output.fileoutputformat.compress</name>
  608. <value>false</value>
  609. <description>Should the job outputs be compressed?
  610. </description>
  611. </property>
  612. <property>
  613. <name>mapreduce.output.fileoutputformat.compress.type</name>
  614. <value>RECORD</value>
  615. <description>If the job outputs are to compressed as SequenceFiles, how should
  616. they be compressed? Should be one of NONE, RECORD or BLOCK.
  617. </description>
  618. </property>
  619. <property>
  620. <name>mapreduce.output.fileoutputformat.compress.codec</name>
  621. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  622. <description>If the job outputs are compressed, how should they be compressed?
  623. </description>
  624. </property>
  625. <property>
  626. <name>mapreduce.map.output.compress</name>
  627. <value>false</value>
  628. <description>Should the outputs of the maps be compressed before being
  629. sent across the network. Uses SequenceFile compression.
  630. </description>
  631. </property>
  632. <property>
  633. <name>mapreduce.map.output.compress.codec</name>
  634. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  635. <description>If the map outputs are compressed, how should they be
  636. compressed?
  637. </description>
  638. </property>
  639. <property>
  640. <name>map.sort.class</name>
  641. <value>org.apache.hadoop.util.QuickSort</value>
  642. <description>The default sort class for sorting keys.
  643. </description>
  644. </property>
  645. <property>
  646. <name>mapreduce.task.userlog.limit.kb</name>
  647. <value>0</value>
  648. <description>The maximum size of user-logs of each task in KB. 0 disables the cap.
  649. </description>
  650. </property>
  651. <property>
  652. <name>yarn.app.mapreduce.am.container.log.limit.kb</name>
  653. <value>0</value>
  654. <description>The maximum size of the MRAppMaster attempt container logs in KB.
  655. 0 disables the cap.
  656. </description>
  657. </property>
  658. <property>
  659. <name>yarn.app.mapreduce.task.container.log.backups</name>
  660. <value>0</value>
  661. <description>Number of backup files for task logs when using
  662. ContainerRollingLogAppender (CRLA). See
  663. org.apache.log4j.RollingFileAppender.maxBackupIndex. By default,
  664. ContainerLogAppender (CLA) is used, and container logs are not rolled. CRLA
  665. is enabled for tasks when both mapreduce.task.userlog.limit.kb and
  666. yarn.app.mapreduce.task.container.log.backups are greater than zero.
  667. </description>
  668. </property>
  669. <property>
  670. <name>yarn.app.mapreduce.am.container.log.backups</name>
  671. <value>0</value>
  672. <description>Number of backup files for the ApplicationMaster 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 the ApplicationMaster when both
  677. yarn.app.mapreduce.am.container.log.limit.kb and
  678. yarn.app.mapreduce.am.container.log.backups are greater than zero.
  679. </description>
  680. </property>
  681. <property>
  682. <name>yarn.app.mapreduce.shuffle.log.separate</name>
  683. <value>true</value>
  684. <description>If enabled ('true') logging generated by the client-side shuffle
  685. classes in a reducer will be written in a dedicated log file
  686. 'syslog.shuffle' instead of 'syslog'.
  687. </description>
  688. </property>
  689. <property>
  690. <name>yarn.app.mapreduce.shuffle.log.limit.kb</name>
  691. <value>0</value>
  692. <description>Maximum size of the syslog.shuffle file in kilobytes
  693. (0 for no limit).
  694. </description>
  695. </property>
  696. <property>
  697. <name>yarn.app.mapreduce.shuffle.log.backups</name>
  698. <value>0</value>
  699. <description>If yarn.app.mapreduce.shuffle.log.limit.kb and
  700. yarn.app.mapreduce.shuffle.log.backups are greater than zero
  701. then a ContainerRollngLogAppender is used instead of ContainerLogAppender
  702. for syslog.shuffle. See
  703. org.apache.log4j.RollingFileAppender.maxBackupIndex
  704. </description>
  705. </property>
  706. <property>
  707. <name>mapreduce.job.maxtaskfailures.per.tracker</name>
  708. <value>3</value>
  709. <description>The number of task-failures on a node manager of a given job
  710. after which new tasks of that job aren't assigned to it. It
  711. MUST be less than mapreduce.map.maxattempts and
  712. mapreduce.reduce.maxattempts otherwise the failed task will
  713. never be tried on a different node.
  714. </description>
  715. </property>
  716. <property>
  717. <name>mapreduce.client.output.filter</name>
  718. <value>FAILED</value>
  719. <description>The filter for controlling the output of the task's userlogs sent
  720. to the console of the JobClient.
  721. The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
  722. ALL.
  723. </description>
  724. </property>
  725. <property>
  726. <name>mapreduce.client.completion.pollinterval</name>
  727. <value>5000</value>
  728. <description>The interval (in milliseconds) between which the JobClient
  729. polls the MapReduce ApplicationMaster for updates about job status. You may want to
  730. set this to a lower value to make tests run faster on a single node system. Adjusting
  731. this value in production may lead to unwanted client-server traffic.
  732. </description>
  733. </property>
  734. <property>
  735. <name>mapreduce.client.progressmonitor.pollinterval</name>
  736. <value>1000</value>
  737. <description>The interval (in milliseconds) between which the JobClient
  738. reports status to the console and checks for job completion. You may want to set this
  739. to a lower value to make tests run faster on a single node system. Adjusting
  740. this value in production may lead to unwanted client-server traffic.
  741. </description>
  742. </property>
  743. <property>
  744. <name>mapreduce.client.libjars.wildcard</name>
  745. <value>true</value>
  746. <description>
  747. Whether the libjars cache files should be localized using
  748. a wildcarded directory instead of naming each archive independently.
  749. Using wildcards reduces the space needed for storing the job
  750. information in the case of a highly available resource manager
  751. configuration.
  752. This propery should only be set to false for specific
  753. jobs which are highly sensitive to the details of the archive
  754. localization. Having this property set to true will cause the archives
  755. to all be localized to the same local cache location. If false, each
  756. archive will be localized to its own local cache location. In both
  757. cases a symbolic link will be created to every archive from the job's
  758. working directory.
  759. </description>
  760. </property>
  761. <property>
  762. <name>mapreduce.task.profile</name>
  763. <value>false</value>
  764. <description>To set whether the system should collect profiler
  765. information for some of the tasks in this job? The information is stored
  766. in the user log directory. The value is "true" if task profiling
  767. is enabled.</description>
  768. </property>
  769. <property>
  770. <name>mapreduce.task.profile.maps</name>
  771. <value>0-2</value>
  772. <description> To set the ranges of map 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.reduces</name>
  778. <value>0-2</value>
  779. <description> To set the ranges of reduce tasks to profile.
  780. mapreduce.task.profile has to be set to true for the value to be accounted.
  781. </description>
  782. </property>
  783. <property>
  784. <name>mapreduce.task.profile.params</name>
  785. <value>-agentlib:hprof=cpu=samples,heap=sites,force=n,thread=y,verbose=n,file=%s</value>
  786. <description>JVM profiler parameters used to profile map and reduce task
  787. attempts. This string may contain a single format specifier %s that will
  788. be replaced by the path to profile.out in the task attempt log directory.
  789. To specify different profiling options for map tasks and reduce tasks,
  790. more specific parameters mapreduce.task.profile.map.params and
  791. mapreduce.task.profile.reduce.params should be used.</description>
  792. </property>
  793. <property>
  794. <name>mapreduce.task.profile.map.params</name>
  795. <value>${mapreduce.task.profile.params}</value>
  796. <description>Map-task-specific JVM profiler parameters. See
  797. mapreduce.task.profile.params</description>
  798. </property>
  799. <property>
  800. <name>mapreduce.task.profile.reduce.params</name>
  801. <value>${mapreduce.task.profile.params}</value>
  802. <description>Reduce-task-specific JVM profiler parameters. See
  803. mapreduce.task.profile.params</description>
  804. </property>
  805. <property>
  806. <name>mapreduce.task.skip.start.attempts</name>
  807. <value>2</value>
  808. <description> The number of Task attempts AFTER which skip mode
  809. will be kicked off. When skip mode is kicked off, the
  810. tasks reports the range of records which it will process
  811. next, to the MR ApplicationMaster. So that on failures, the MR AM
  812. knows which ones are possibly the bad records. On further executions,
  813. those are skipped.
  814. </description>
  815. </property>
  816. <property>
  817. <name>mapreduce.map.skip.proc-count.auto-incr</name>
  818. <value>true</value>
  819. <description> The flag which if set to true,
  820. SkipBadRecords.COUNTER_MAP_PROCESSED_RECORDS is incremented
  821. by MapRunner after invoking the map function. This value must be set to
  822. false for applications which process the records asynchronously
  823. or buffer the input records. For example streaming.
  824. In such cases applications should increment this counter on their own.
  825. </description>
  826. </property>
  827. <property>
  828. <name>mapreduce.reduce.skip.proc-count.auto-incr</name>
  829. <value>true</value>
  830. <description> The flag which if set to true,
  831. SkipBadRecords.COUNTER_REDUCE_PROCESSED_GROUPS is incremented
  832. by framework after invoking the reduce function. This value must be set to
  833. false for applications which process the records asynchronously
  834. or buffer the input records. For example streaming.
  835. In such cases applications should increment this counter on their own.
  836. </description>
  837. </property>
  838. <property>
  839. <name>mapreduce.job.skip.outdir</name>
  840. <value></value>
  841. <description> If no value is specified here, the skipped records are
  842. written to the output directory at _logs/skip.
  843. User can stop writing skipped records by giving the value "none".
  844. </description>
  845. </property>
  846. <property>
  847. <name>mapreduce.map.skip.maxrecords</name>
  848. <value>0</value>
  849. <description> The number of acceptable skip records surrounding the bad
  850. record PER bad record in mapper. The number includes the bad record as well.
  851. To turn the feature of detection/skipping of bad records off, set the
  852. value to 0.
  853. The framework tries to narrow down the skipped range by retrying
  854. until this threshold is met OR all attempts get exhausted for this task.
  855. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  856. narrow down. Whatever records(depends on application) get skipped are
  857. acceptable.
  858. </description>
  859. </property>
  860. <property>
  861. <name>mapreduce.reduce.skip.maxgroups</name>
  862. <value>0</value>
  863. <description> The number of acceptable skip groups surrounding the bad
  864. group PER bad group in reducer. The number includes the bad group as well.
  865. To turn the feature of detection/skipping of bad groups off, set the
  866. value to 0.
  867. The framework tries to narrow down the skipped range by retrying
  868. until this threshold is met OR all attempts get exhausted for this task.
  869. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  870. narrow down. Whatever groups(depends on application) get skipped are
  871. acceptable.
  872. </description>
  873. </property>
  874. <property>
  875. <name>mapreduce.ifile.readahead</name>
  876. <value>true</value>
  877. <description>Configuration key to enable/disable IFile readahead.
  878. </description>
  879. </property>
  880. <property>
  881. <name>mapreduce.ifile.readahead.bytes</name>
  882. <value>4194304</value>
  883. <description>Configuration key to set the IFile readahead length in bytes.
  884. </description>
  885. </property>
  886. <!-- Proxy Configuration -->
  887. <property>
  888. <name>mapreduce.job.queuename</name>
  889. <value>default</value>
  890. <description> Queue to which a job is submitted. This must match one of the
  891. queues defined in mapred-queues.xml for the system. Also, the ACL setup
  892. for the queue must allow the current user to submit a job to the queue.
  893. Before specifying a queue, ensure that the system is configured with
  894. the queue, and access is allowed for submitting jobs to the queue.
  895. </description>
  896. </property>
  897. <property>
  898. <name>mapreduce.job.tags</name>
  899. <value></value>
  900. <description> Tags for the job that will be passed to YARN at submission
  901. time. Queries to YARN for applications can filter on these tags.
  902. </description>
  903. </property>
  904. <property>
  905. <name>mapreduce.cluster.local.dir</name>
  906. <value>${hadoop.tmp.dir}/mapred/local</value>
  907. <description>
  908. The local directory where MapReduce stores intermediate
  909. data files. May be a comma-separated list of
  910. directories on different devices in order to spread disk i/o.
  911. Directories that do not exist are ignored.
  912. </description>
  913. </property>
  914. <property>
  915. <name>mapreduce.cluster.acls.enabled</name>
  916. <value>false</value>
  917. <description> Specifies whether ACLs should be checked
  918. for authorization of users for doing various queue and job level operations.
  919. ACLs are disabled by default. If enabled, access control checks are made by
  920. MapReduce ApplicationMaster when requests are made by users for queue
  921. operations like submit job to a queue and kill a job in the queue and job
  922. operations like viewing the job-details (See mapreduce.job.acl-view-job)
  923. or for modifying the job (See mapreduce.job.acl-modify-job) using
  924. Map/Reduce APIs, RPCs or via the console and web user interfaces.
  925. For enabling this flag, set to true in mapred-site.xml file of all
  926. MapReduce clients (MR job submitting nodes).
  927. </description>
  928. </property>
  929. <property>
  930. <name>mapreduce.job.acl-modify-job</name>
  931. <value> </value>
  932. <description> Job specific access-control list for 'modifying' the job. It
  933. is only used if authorization is enabled in Map/Reduce by setting the
  934. configuration property mapreduce.cluster.acls.enabled to true.
  935. This specifies the list of users and/or groups who can do modification
  936. operations on the job. For specifying a list of users and groups the
  937. format to use is "user1,user2 group1,group". If set to '*', it allows all
  938. users/groups to modify this job. If set to ' '(i.e. space), it allows
  939. none. This configuration is used to guard all the modifications with respect
  940. to this job and takes care of all the following operations:
  941. o killing this job
  942. o killing a task of this job, failing a task of this job
  943. o setting the priority of this job
  944. Each of these operations are also protected by the per-queue level ACL
  945. "acl-administer-jobs" configured via mapred-queues.xml. So a caller should
  946. have the authorization to satisfy either the queue-level ACL or the
  947. job-level ACL.
  948. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  949. started the cluster, (c) members of an admin configured supergroup
  950. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  951. administrators of the queue to which this job was submitted to configured
  952. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  953. do all the modification operations on a job.
  954. By default, nobody else besides job-owner, the user who started the cluster,
  955. members of supergroup and queue administrators can perform modification
  956. operations on a job.
  957. </description>
  958. </property>
  959. <property>
  960. <name>mapreduce.job.acl-view-job</name>
  961. <value> </value>
  962. <description> Job specific access-control list for 'viewing' the job. It is
  963. only used if authorization is enabled in Map/Reduce by setting the
  964. configuration property mapreduce.cluster.acls.enabled to true.
  965. This specifies the list of users and/or groups who can view private details
  966. about the job. For specifying a list of users and groups the
  967. format to use is "user1,user2 group1,group". If set to '*', it allows all
  968. users/groups to modify this job. If set to ' '(i.e. space), it allows
  969. none. This configuration is used to guard some of the job-views and at
  970. present only protects APIs that can return possibly sensitive information
  971. of the job-owner like
  972. o job-level counters
  973. o task-level counters
  974. o tasks' diagnostic information
  975. o task-logs displayed on the HistoryServer's web-UI and
  976. o job.xml showed by the HistoryServer's web-UI
  977. Every other piece of information of jobs is still accessible by any other
  978. user, for e.g., JobStatus, JobProfile, list of jobs in the queue, etc.
  979. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  980. started the cluster, (c) members of an admin configured supergroup
  981. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  982. administrators of the queue to which this job was submitted to configured
  983. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  984. do all the view operations on a job.
  985. By default, nobody else besides job-owner, the user who started the
  986. cluster, memebers of supergroup and queue administrators can perform
  987. view operations on a job.
  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.keytab</name>
  1431. <description>
  1432. Location of the kerberos keytab file for the MapReduce
  1433. JobHistory Server.
  1434. </description>
  1435. <value>/etc/security/keytab/jhs.service.keytab</value>
  1436. </property>
  1437. <property>
  1438. <name>mapreduce.jobhistory.principal</name>
  1439. <description>
  1440. Kerberos principal name for the MapReduce JobHistory Server.
  1441. </description>
  1442. <value>jhs/_HOST@REALM.TLD</value>
  1443. </property>
  1444. <property>
  1445. <name>mapreduce.jobhistory.intermediate-done-dir</name>
  1446. <value>${yarn.app.mapreduce.am.staging-dir}/history/done_intermediate</value>
  1447. <description></description>
  1448. </property>
  1449. <property>
  1450. <name>mapreduce.jobhistory.done-dir</name>
  1451. <value>${yarn.app.mapreduce.am.staging-dir}/history/done</value>
  1452. <description></description>
  1453. </property>
  1454. <property>
  1455. <name>mapreduce.jobhistory.cleaner.enable</name>
  1456. <value>true</value>
  1457. <description></description>
  1458. </property>
  1459. <property>
  1460. <name>mapreduce.jobhistory.cleaner.interval-ms</name>
  1461. <value>86400000</value>
  1462. <description> How often the job history cleaner checks for files to delete,
  1463. in milliseconds. Defaults to 86400000 (one day). Files are only deleted if
  1464. they are older than mapreduce.jobhistory.max-age-ms.
  1465. </description>
  1466. </property>
  1467. <property>
  1468. <name>mapreduce.jobhistory.max-age-ms</name>
  1469. <value>604800000</value>
  1470. <description> Job history files older than this many milliseconds will
  1471. be deleted when the history cleaner runs. Defaults to 604800000 (1 week).
  1472. </description>
  1473. </property>
  1474. <property>
  1475. <name>mapreduce.jobhistory.client.thread-count</name>
  1476. <value>10</value>
  1477. <description>The number of threads to handle client API requests</description>
  1478. </property>
  1479. <property>
  1480. <name>mapreduce.jobhistory.datestring.cache.size</name>
  1481. <value>200000</value>
  1482. <description>Size of the date string cache. Effects the number of directories
  1483. which will be scanned to find a job.</description>
  1484. </property>
  1485. <property>
  1486. <name>mapreduce.jobhistory.joblist.cache.size</name>
  1487. <value>20000</value>
  1488. <description>Size of the job list cache</description>
  1489. </property>
  1490. <property>
  1491. <name>mapreduce.jobhistory.loadedjobs.cache.size</name>
  1492. <value>5</value>
  1493. <description>Size of the loaded job cache. This property is ignored if
  1494. the property mapreduce.jobhistory.loadedtasks.cache.size is set to a
  1495. positive value.
  1496. </description>
  1497. </property>
  1498. <property>
  1499. <name>mapreduce.jobhistory.loadedtasks.cache.size</name>
  1500. <value></value>
  1501. <description>Change the job history cache limit to be set in terms
  1502. of total task count. If the total number of tasks loaded exceeds
  1503. this value, then the job cache will be shrunk down until it is
  1504. under this limit (minimum 1 job in cache). If this value is empty
  1505. or nonpositive then the cache reverts to using the property
  1506. mapreduce.jobhistory.loadedjobs.cache.size as a job cache size.
  1507. Two recommendations for the mapreduce.jobhistory.loadedtasks.cache.size
  1508. property:
  1509. 1) For every 100k of cache size, set the heap size of the Job History
  1510. Server to 1.2GB. For example,
  1511. mapreduce.jobhistory.loadedtasks.cache.size=500000, heap size=6GB.
  1512. 2) Make sure that the cache size is larger than the number of tasks
  1513. required for the largest job run on the cluster. It might be a good
  1514. idea to set the value slightly higher (say, 20%) in order to allow
  1515. for job size growth.
  1516. </description>
  1517. </property>
  1518. <property>
  1519. <name>mapreduce.jobhistory.move.interval-ms</name>
  1520. <value>180000</value>
  1521. <description>Scan for history files to more from intermediate done dir to done
  1522. dir at this frequency.
  1523. </description>
  1524. </property>
  1525. <property>
  1526. <name>mapreduce.jobhistory.move.thread-count</name>
  1527. <value>3</value>
  1528. <description>The number of threads used to move files.</description>
  1529. </property>
  1530. <property>
  1531. <name>mapreduce.jobhistory.store.class</name>
  1532. <value></value>
  1533. <description>The HistoryStorage class to use to cache history data.</description>
  1534. </property>
  1535. <property>
  1536. <name>mapreduce.jobhistory.minicluster.fixed.ports</name>
  1537. <value>false</value>
  1538. <description>Whether to use fixed ports with the minicluster</description>
  1539. </property>
  1540. <property>
  1541. <name>mapreduce.jobhistory.admin.address</name>
  1542. <value>0.0.0.0:10033</value>
  1543. <description>The address of the History server admin interface.</description>
  1544. </property>
  1545. <property>
  1546. <name>mapreduce.jobhistory.admin.acl</name>
  1547. <value>*</value>
  1548. <description>ACL of who can be admin of the History server.</description>
  1549. </property>
  1550. <property>
  1551. <name>mapreduce.jobhistory.recovery.enable</name>
  1552. <value>false</value>
  1553. <description>Enable the history server to store server state and recover
  1554. server state upon startup. If enabled then
  1555. mapreduce.jobhistory.recovery.store.class must be specified.</description>
  1556. </property>
  1557. <property>
  1558. <name>mapreduce.jobhistory.recovery.store.class</name>
  1559. <value>org.apache.hadoop.mapreduce.v2.hs.HistoryServerFileSystemStateStoreService</value>
  1560. <description>The HistoryServerStateStoreService class to store history server
  1561. state for recovery.</description>
  1562. </property>
  1563. <property>
  1564. <name>mapreduce.jobhistory.recovery.store.fs.uri</name>
  1565. <value>${hadoop.tmp.dir}/mapred/history/recoverystore</value>
  1566. <!--value>hdfs://localhost:9000/mapred/history/recoverystore</value-->
  1567. <description>The URI where history server state will be stored if
  1568. HistoryServerFileSystemStateStoreService is configured as the recovery
  1569. storage class.</description>
  1570. </property>
  1571. <property>
  1572. <name>mapreduce.jobhistory.recovery.store.leveldb.path</name>
  1573. <value>${hadoop.tmp.dir}/mapred/history/recoverystore</value>
  1574. <description>The URI where history server state will be stored if
  1575. HistoryServerLeveldbSystemStateStoreService is configured as the recovery
  1576. storage class.</description>
  1577. </property>
  1578. <property>
  1579. <name>mapreduce.jobhistory.http.policy</name>
  1580. <value>HTTP_ONLY</value>
  1581. <description>
  1582. This configures the HTTP endpoint for JobHistoryServer web UI.
  1583. The following values are supported:
  1584. - HTTP_ONLY : Service is provided only on http
  1585. - HTTPS_ONLY : Service is provided only on https
  1586. </description>
  1587. </property>
  1588. <property>
  1589. <name>mapreduce.jobhistory.jobname.limit</name>
  1590. <value>50</value>
  1591. <description>
  1592. Number of characters allowed for job name in Job History Server web page.
  1593. </description>
  1594. </property>
  1595. <property>
  1596. <description>
  1597. File format the AM will use when generating the .jhist file. Valid
  1598. values are "json" for text output and "binary" for faster parsing.
  1599. </description>
  1600. <name>mapreduce.jobhistory.jhist.format</name>
  1601. <value>json</value>
  1602. </property>
  1603. <property>
  1604. <name>yarn.app.mapreduce.am.containerlauncher.threadpool-initial-size</name>
  1605. <value>10</value>
  1606. <description>The initial size of thread pool to launch containers in the
  1607. app master.
  1608. </description>
  1609. </property>
  1610. <property>
  1611. <name>mapreduce.task.exit.timeout</name>
  1612. <value>60000</value>
  1613. <description>The number of milliseconds before a task will be
  1614. terminated if it stays in finishing state for too long.
  1615. After a task attempt completes from TaskUmbilicalProtocol's point of view,
  1616. it will be transitioned to finishing state. That will give a chance for the
  1617. task to exit by itself.
  1618. </description>
  1619. </property>
  1620. <property>
  1621. <name>mapreduce.task.exit.timeout.check-interval-ms</name>
  1622. <value>20000</value>
  1623. <description>The interval in milliseconds between which the MR framework
  1624. checks if task attempts stay in finishing state for too long.
  1625. </description>
  1626. </property>
  1627. <property>
  1628. <name>mapreduce.task.local-fs.write-limit.bytes</name>
  1629. <value>-1</value>
  1630. <description>Limit on the byte written to the local file system by each task.
  1631. This limit only applies to writes that go through the Hadoop filesystem APIs
  1632. within the task process (i.e.: writes that will update the local filesystem's
  1633. BYTES_WRITTEN counter). It does not cover other writes such as logging,
  1634. sideband writes from subprocesses (e.g.: streaming jobs), etc.
  1635. Negative values disable the limit.
  1636. default is -1</description>
  1637. </property>
  1638. <property>
  1639. <description>
  1640. Enable the CSRF filter for the job history web app
  1641. </description>
  1642. <name>mapreduce.jobhistory.webapp.rest-csrf.enabled</name>
  1643. <value>false</value>
  1644. </property>
  1645. <property>
  1646. <description>
  1647. Optional parameter that indicates the custom header name to use for CSRF
  1648. protection.
  1649. </description>
  1650. <name>mapreduce.jobhistory.webapp.rest-csrf.custom-header</name>
  1651. <value>X-XSRF-Header</value>
  1652. </property>
  1653. <property>
  1654. <description>
  1655. Optional parameter that indicates the list of HTTP methods that do not
  1656. require CSRF protection
  1657. </description>
  1658. <name>mapreduce.jobhistory.webapp.rest-csrf.methods-to-ignore</name>
  1659. <value>GET,OPTIONS,HEAD</value>
  1660. </property>
  1661. <property>
  1662. <description>
  1663. Value of the xframe-options
  1664. </description>
  1665. <name>mapreduce.jobhistory.webapp.xfs-filter.xframe-options</name>
  1666. <value>SAMEORIGIN</value>
  1667. </property>
  1668. <property>
  1669. <description>
  1670. The maximum number of tasks that a job can have so that the Job History
  1671. Server will fully parse its associated job history file and load it into
  1672. memory. A value of -1 (default) will allow all jobs to be loaded.
  1673. </description>
  1674. <name>mapreduce.jobhistory.loadedjob.tasks.max</name>
  1675. <value>-1</value>
  1676. </property>
  1677. <property>
  1678. <description>
  1679. The list of job configuration properties whose value will be redacted.
  1680. </description>
  1681. <name>mapreduce.job.redacted-properties</name>
  1682. <value></value>
  1683. </property>
  1684. </configuration>