mapred-default.xml 69 KB

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