mapred-default.xml 75 KB

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