mapred-default.xml 77 KB

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