mapred-default.xml 56 KB

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