mapred-default.xml 78 KB

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