mapred-default.xml 74 KB

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