mapred-default.xml 81 KB

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