mapred-default.xml 55 KB

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