mapred-default.xml 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4. Licensed to the Apache Software Foundation (ASF) under one or more
  5. contributor license agreements. See the NOTICE file distributed with
  6. this work for additional information regarding copyright ownership.
  7. The ASF licenses this file to You under the Apache License, Version 2.0
  8. (the "License"); you may not use this file except in compliance with
  9. the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <!-- Do not modify this file directly. Instead, copy entries that you -->
  18. <!-- wish to modify from this file into mapred-site.xml and change them -->
  19. <!-- there. If mapred-site.xml does not already exist, create it. -->
  20. <configuration>
  21. <property>
  22. <name>mapreduce.job.committer.setup.cleanup.needed</name>
  23. <value>true</value>
  24. <description> true, if job needs job-setup and job-cleanup.
  25. false, otherwise
  26. </description>
  27. </property>
  28. <!-- i/o properties -->
  29. <property>
  30. <name>mapreduce.task.io.sort.factor</name>
  31. <value>10</value>
  32. <description>The number of streams to merge at once while sorting
  33. files. This determines the number of open file handles.</description>
  34. </property>
  35. <property>
  36. <name>mapreduce.task.io.sort.mb</name>
  37. <value>100</value>
  38. <description>The total amount of buffer memory to use while sorting
  39. files, in megabytes. By default, gives each merge stream 1MB, which
  40. should minimize seeks.</description>
  41. </property>
  42. <property>
  43. <name>mapreduce.map.sort.spill.percent</name>
  44. <value>0.80</value>
  45. <description>The soft limit in the serialization buffer. Once reached, a
  46. thread will begin to spill the contents to disk in the background. Note that
  47. collection will not block if this threshold is exceeded while a spill is
  48. already in progress, so spills may be larger than this threshold when it is
  49. set to less than .5</description>
  50. </property>
  51. <property>
  52. <name>mapreduce.local.clientfactory.class.name</name>
  53. <value>org.apache.hadoop.mapred.LocalClientFactory</value>
  54. <description>This the client factory that is responsible for
  55. creating local job runner client</description>
  56. </property>
  57. <property>
  58. <name>mapreduce.job.maps</name>
  59. <value>2</value>
  60. <description>The default number of map tasks per job.
  61. Ignored when mapreduce.framework.name is "local".
  62. </description>
  63. </property>
  64. <property>
  65. <name>mapreduce.job.reduces</name>
  66. <value>1</value>
  67. <description>The default number of reduce tasks per job. Typically set to 99%
  68. of the cluster's reduce capacity, so that if a node fails the reduces can
  69. still be executed in a single wave.
  70. Ignored when mapreduce.framework.name is "local".
  71. </description>
  72. </property>
  73. <property>
  74. <name>mapreduce.job.reducer.preempt.delay.sec</name>
  75. <value>0</value>
  76. <description>The threshold in terms of seconds after which an unsatisfied mapper
  77. request triggers reducer preemption to free space. Default 0 implies that the
  78. reduces should be preempted immediately after allocation if there is currently no
  79. room for newly allocated mappers.
  80. </description>
  81. </property>
  82. <property>
  83. <name>mapreduce.job.max.split.locations</name>
  84. <value>10</value>
  85. <description>The max number of block locations to store for each split for
  86. locality calculation.
  87. </description>
  88. </property>
  89. <property>
  90. <name>mapreduce.job.split.metainfo.maxsize</name>
  91. <value>10000000</value>
  92. <description>The maximum permissible size of the split metainfo file.
  93. The MapReduce ApplicationMaster won't attempt to read submitted split metainfo
  94. files bigger than this configured value.
  95. No limits if set to -1.
  96. </description>
  97. </property>
  98. <property>
  99. <name>mapreduce.map.maxattempts</name>
  100. <value>4</value>
  101. <description>Expert: The maximum number of attempts per map task.
  102. In other words, framework will try to execute a map task these many number
  103. of times before giving up on it.
  104. </description>
  105. </property>
  106. <property>
  107. <name>mapreduce.reduce.maxattempts</name>
  108. <value>4</value>
  109. <description>Expert: The maximum number of attempts per reduce task.
  110. In other words, framework will try to execute a reduce task these many number
  111. of times before giving up on it.
  112. </description>
  113. </property>
  114. <property>
  115. <name>mapreduce.reduce.shuffle.retry-delay.max.ms</name>
  116. <value>60000</value>
  117. <description>The maximum number of ms the reducer will delay before retrying
  118. to download map data.
  119. </description>
  120. </property>
  121. <property>
  122. <name>mapreduce.reduce.shuffle.parallelcopies</name>
  123. <value>5</value>
  124. <description>The default number of parallel transfers run by reduce
  125. during the copy(shuffle) phase.
  126. </description>
  127. </property>
  128. <property>
  129. <name>mapreduce.reduce.shuffle.connect.timeout</name>
  130. <value>180000</value>
  131. <description>Expert: The maximum amount of time (in milli seconds) reduce
  132. task spends in trying to connect to a remote node for getting map output.
  133. </description>
  134. </property>
  135. <property>
  136. <name>mapreduce.reduce.shuffle.read.timeout</name>
  137. <value>180000</value>
  138. <description>Expert: The maximum amount of time (in milli seconds) reduce
  139. task waits for map output data to be available for reading after obtaining
  140. connection.
  141. </description>
  142. </property>
  143. <property>
  144. <name>mapreduce.shuffle.connection-keep-alive.enable</name>
  145. <value>false</value>
  146. <description>set to true to support keep-alive connections.</description>
  147. </property>
  148. <property>
  149. <name>mapreduce.shuffle.connection-keep-alive.timeout</name>
  150. <value>5</value>
  151. <description>The number of seconds a shuffle client attempts to retain
  152. http connection. Refer "Keep-Alive: timeout=" header in
  153. Http specification
  154. </description>
  155. </property>
  156. <property>
  157. <name>mapreduce.task.timeout</name>
  158. <value>600000</value>
  159. <description>The number of milliseconds before a task will be
  160. terminated if it neither reads an input, writes an output, nor
  161. updates its status string. A value of 0 disables the timeout.
  162. </description>
  163. </property>
  164. <property>
  165. <name>mapred.child.java.opts</name>
  166. <value>-Xmx200m</value>
  167. <description>Java opts for the task tracker child processes.
  168. The following symbol, if present, will be interpolated: @taskid@ is replaced
  169. by current TaskID. Any other occurrences of '@' will go unchanged.
  170. For example, to enable verbose gc logging to a file named for the taskid in
  171. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  172. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  173. Usage of -Djava.library.path can cause programs to no longer function if
  174. hadoop native libraries are used. These values should instead be set as part
  175. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  176. mapreduce.reduce.env config settings.
  177. </description>
  178. </property>
  179. <property>
  180. <name>mapred.child.env</name>
  181. <value></value>
  182. <description>User added environment variables for the task tracker child
  183. processes. Example :
  184. 1) A=foo This will set the env variable A to foo
  185. 2) B=$B:c This is inherit nodemanager's B env variable on Unix.
  186. 3) B=%B%;c This is inherit nodemanager's B env variable on Windows.
  187. </description>
  188. </property>
  189. <property>
  190. <name>mapreduce.admin.user.env</name>
  191. <value></value>
  192. <description>
  193. Expert: Additional execution environment entries for
  194. map and reduce task processes. This is not an additive property.
  195. You must preserve the original value if you want your map and
  196. reduce tasks to have access to native libraries (compression, etc).
  197. When this value is empty, the command to set execution
  198. envrionment will be OS dependent:
  199. For linux, use LD_LIBRARY_PATH=$HADOOP_COMMON_HOME/lib/native.
  200. For windows, use PATH = %PATH%;%HADOOP_COMMON_HOME%\\bin.
  201. </description>
  202. </property>
  203. <property>
  204. <name>mapreduce.task.tmp.dir</name>
  205. <value>./tmp</value>
  206. <description> To set the value of tmp directory for map and reduce tasks.
  207. If the value is an absolute path, it is directly assigned. Otherwise, it is
  208. prepended with task's working directory. The java tasks are executed with
  209. option -Djava.io.tmpdir='the absolute path of the tmp dir'. Pipes and
  210. streaming are set with environment variable,
  211. TMPDIR='the absolute path of the tmp dir'
  212. </description>
  213. </property>
  214. <property>
  215. <name>mapreduce.map.log.level</name>
  216. <value>INFO</value>
  217. <description>The logging level for the map task. The allowed levels are:
  218. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  219. </description>
  220. </property>
  221. <property>
  222. <name>mapreduce.reduce.log.level</name>
  223. <value>INFO</value>
  224. <description>The logging level for the reduce task. The allowed levels are:
  225. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  226. </description>
  227. </property>
  228. <property>
  229. <name>mapreduce.map.cpu.vcores</name>
  230. <value>1</value>
  231. <description>
  232. The number of virtual cores required for each map task.
  233. </description>
  234. </property>
  235. <property>
  236. <name>mapreduce.reduce.cpu.vcores</name>
  237. <value>1</value>
  238. <description>
  239. The number of virtual cores required for each reduce task.
  240. </description>
  241. </property>
  242. <property>
  243. <name>mapreduce.reduce.merge.inmem.threshold</name>
  244. <value>1000</value>
  245. <description>The threshold, in terms of the number of files
  246. for the in-memory merge process. When we accumulate threshold number of files
  247. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  248. 0 indicates we want to DON'T have any threshold and instead depend only on
  249. the ramfs's memory consumption to trigger the merge.
  250. </description>
  251. </property>
  252. <property>
  253. <name>mapreduce.reduce.shuffle.merge.percent</name>
  254. <value>0.66</value>
  255. <description>The usage threshold at which an in-memory merge will be
  256. initiated, expressed as a percentage of the total memory allocated to
  257. storing in-memory map outputs, as defined by
  258. mapreduce.reduce.shuffle.input.buffer.percent.
  259. </description>
  260. </property>
  261. <property>
  262. <name>mapreduce.reduce.shuffle.input.buffer.percent</name>
  263. <value>0.70</value>
  264. <description>The percentage of memory to be allocated from the maximum heap
  265. size to storing map outputs during the shuffle.
  266. </description>
  267. </property>
  268. <property>
  269. <name>mapreduce.reduce.input.buffer.percent</name>
  270. <value>0.0</value>
  271. <description>The percentage of memory- relative to the maximum heap size- to
  272. retain map outputs during the reduce. When the shuffle is concluded, any
  273. remaining map outputs in memory must consume less than this threshold before
  274. the reduce can begin.
  275. </description>
  276. </property>
  277. <property>
  278. <name>mapreduce.reduce.shuffle.memory.limit.percent</name>
  279. <value>0.25</value>
  280. <description>Expert: Maximum percentage of the in-memory limit that a
  281. single shuffle can consume</description>
  282. </property>
  283. <property>
  284. <name>mapreduce.shuffle.ssl.enabled</name>
  285. <value>false</value>
  286. <description>
  287. Whether to use SSL for for the Shuffle HTTP endpoints.
  288. </description>
  289. </property>
  290. <property>
  291. <name>mapreduce.shuffle.ssl.file.buffer.size</name>
  292. <value>65536</value>
  293. <description>Buffer size for reading spills from file when using SSL.
  294. </description>
  295. </property>
  296. <property>
  297. <name>mapreduce.shuffle.max.connections</name>
  298. <value>0</value>
  299. <description>Max allowed connections for the shuffle. Set to 0 (zero)
  300. to indicate no limit on the number of connections.
  301. </description>
  302. </property>
  303. <property>
  304. <name>mapreduce.shuffle.max.threads</name>
  305. <value>0</value>
  306. <description>Max allowed threads for serving shuffle connections. Set to zero
  307. to indicate the default of 2 times the number of available
  308. processors (as reported by Runtime.availableProcessors()). Netty is used to
  309. serve requests, so a thread is not needed for each connection.
  310. </description>
  311. </property>
  312. <property>
  313. <name>mapreduce.shuffle.transferTo.allowed</name>
  314. <value></value>
  315. <description>This option can enable/disable using nio transferTo method in
  316. the shuffle phase. NIO transferTo does not perform well on windows in the
  317. shuffle phase. Thus, with this configuration property it is possible to
  318. disable it, in which case custom transfer method will be used. Recommended
  319. value is false when running Hadoop on Windows. For Linux, it is recommended
  320. to set it to true. If nothing is set then the default value is false for
  321. Windows, and true for Linux.
  322. </description>
  323. </property>
  324. <property>
  325. <name>mapreduce.shuffle.transfer.buffer.size</name>
  326. <value>131072</value>
  327. <description>This property is used only if
  328. mapreduce.shuffle.transferTo.allowed is set to false. In that case,
  329. this property defines the size of the buffer used in the buffer copy code
  330. for the shuffle phase. The size of this buffer determines the size of the IO
  331. requests.
  332. </description>
  333. </property>
  334. <property>
  335. <name>mapreduce.reduce.markreset.buffer.percent</name>
  336. <value>0.0</value>
  337. <description>The percentage of memory -relative to the maximum heap size- to
  338. be used for caching values when using the mark-reset functionality.
  339. </description>
  340. </property>
  341. <property>
  342. <name>mapreduce.map.speculative</name>
  343. <value>true</value>
  344. <description>If true, then multiple instances of some map tasks
  345. may be executed in parallel.</description>
  346. </property>
  347. <property>
  348. <name>mapreduce.reduce.speculative</name>
  349. <value>true</value>
  350. <description>If true, then multiple instances of some reduce tasks
  351. may be executed in parallel.</description>
  352. </property>
  353. <property>
  354. <name>mapreduce.job.speculative.speculativecap</name>
  355. <value>0.1</value>
  356. <description>The max percent (0-1) of running tasks that
  357. can be speculatively re-executed at any time.</description>
  358. </property>
  359. <property>
  360. <name>mapreduce.job.map.output.collector.class</name>
  361. <value>org.apache.hadoop.mapred.MapTask$MapOutputBuffer</value>
  362. <description>
  363. It defines the MapOutputCollector implementation to use.
  364. </description>
  365. </property>
  366. <property>
  367. <name>mapreduce.job.speculative.slowtaskthreshold</name>
  368. <value>1.0</value>The number of standard deviations by which a task's
  369. ave progress-rates must be lower than the average of all running tasks'
  370. for the task to be considered too slow.
  371. <description>
  372. </description>
  373. </property>
  374. <property>
  375. <name>mapreduce.job.speculative.slownodethreshold</name>
  376. <value>1.0</value>
  377. <description>The number of standard deviations by which a Task
  378. Tracker's average map and reduce progress-rates (finishTime-dispatchTime)
  379. must be lower than the average of all successful map/reduce task's for
  380. the NodeManager to be considered too slow to give a speculative task to.
  381. </description>
  382. </property>
  383. <property>
  384. <name>mapreduce.job.ubertask.enable</name>
  385. <value>false</value>
  386. <description>Whether to enable the small-jobs "ubertask" optimization,
  387. which runs "sufficiently small" jobs sequentially within a single JVM.
  388. "Small" is defined by the following maxmaps, maxreduces, and maxbytes
  389. settings. Users may override this value.
  390. </description>
  391. </property>
  392. <property>
  393. <name>mapreduce.job.ubertask.maxmaps</name>
  394. <value>9</value>
  395. <description>Threshold for number of maps, beyond which job is considered
  396. too big for the ubertasking optimization. Users may override this value,
  397. but only downward.
  398. </description>
  399. </property>
  400. <property>
  401. <name>mapreduce.job.ubertask.maxreduces</name>
  402. <value>1</value>
  403. <description>Threshold for number of reduces, beyond which job is considered
  404. too big for the ubertasking optimization. CURRENTLY THE CODE CANNOT SUPPORT
  405. MORE THAN ONE REDUCE and will ignore larger values. (Zero is a valid max,
  406. however.) Users may override this value, but only downward.
  407. </description>
  408. </property>
  409. <property>
  410. <name>mapreduce.job.ubertask.maxbytes</name>
  411. <value></value>
  412. <description>Threshold for number of input bytes, beyond which job is
  413. considered too big for the ubertasking optimization. If no value is
  414. specified, dfs.block.size is used as a default. Be sure to specify a
  415. default value in mapred-site.xml if the underlying filesystem is not HDFS.
  416. Users may override this value, but only downward.
  417. </description>
  418. </property>
  419. <property>
  420. <name>mapreduce.input.fileinputformat.split.minsize</name>
  421. <value>0</value>
  422. <description>The minimum size chunk that map input should be split
  423. into. Note that some file formats may have minimum split sizes that
  424. take priority over this setting.</description>
  425. </property>
  426. <property>
  427. <name>mapreduce.input.fileinputformat.list-status.num-threads</name>
  428. <value>1</value>
  429. <description>The number of threads to use to list and fetch block locations
  430. for the specified input paths. Note: multiple threads should not be used
  431. if a custom non thread-safe path filter is used.
  432. </description>
  433. </property>
  434. <property>
  435. <name>mapreduce.client.submit.file.replication</name>
  436. <value>10</value>
  437. <description>The replication level for submitted job files. This
  438. should be around the square root of the number of nodes.
  439. </description>
  440. </property>
  441. <property>
  442. <name>mapreduce.task.files.preserve.failedtasks</name>
  443. <value>false</value>
  444. <description>Should the files for failed tasks be kept. This should only be
  445. used on jobs that are failing, because the storage is never
  446. reclaimed. It also prevents the map outputs from being erased
  447. from the reduce directory as they are consumed.</description>
  448. </property>
  449. <!--
  450. <property>
  451. <name>mapreduce.task.files.preserve.filepattern</name>
  452. <value>.*_m_123456_0</value>
  453. <description>Keep all files from tasks whose task names match the given
  454. regular expression. Defaults to none.</description>
  455. </property>
  456. -->
  457. <property>
  458. <name>mapreduce.output.fileoutputformat.compress</name>
  459. <value>false</value>
  460. <description>Should the job outputs be compressed?
  461. </description>
  462. </property>
  463. <property>
  464. <name>mapreduce.output.fileoutputformat.compress.type</name>
  465. <value>RECORD</value>
  466. <description>If the job outputs are to compressed as SequenceFiles, how should
  467. they be compressed? Should be one of NONE, RECORD or BLOCK.
  468. </description>
  469. </property>
  470. <property>
  471. <name>mapreduce.output.fileoutputformat.compress.codec</name>
  472. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  473. <description>If the job outputs are compressed, how should they be compressed?
  474. </description>
  475. </property>
  476. <property>
  477. <name>mapreduce.map.output.compress</name>
  478. <value>false</value>
  479. <description>Should the outputs of the maps be compressed before being
  480. sent across the network. Uses SequenceFile compression.
  481. </description>
  482. </property>
  483. <property>
  484. <name>mapreduce.map.output.compress.codec</name>
  485. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  486. <description>If the map outputs are compressed, how should they be
  487. compressed?
  488. </description>
  489. </property>
  490. <property>
  491. <name>map.sort.class</name>
  492. <value>org.apache.hadoop.util.QuickSort</value>
  493. <description>The default sort class for sorting keys.
  494. </description>
  495. </property>
  496. <property>
  497. <name>mapreduce.task.userlog.limit.kb</name>
  498. <value>0</value>
  499. <description>The maximum size of user-logs of each task in KB. 0 disables the cap.
  500. </description>
  501. </property>
  502. <property>
  503. <name>yarn.app.mapreduce.am.container.log.limit.kb</name>
  504. <value>0</value>
  505. <description>The maximum size of the MRAppMaster attempt container logs in KB.
  506. 0 disables the cap.
  507. </description>
  508. </property>
  509. <property>
  510. <name>yarn.app.mapreduce.task.container.log.backups</name>
  511. <value>0</value>
  512. <description>Number of backup files for task logs when using
  513. ContainerRollingLogAppender (CRLA). See
  514. org.apache.log4j.RollingFileAppender.maxBackupIndex. By default,
  515. ContainerLogAppender (CLA) is used, and container logs are not rolled. CRLA
  516. is enabled for tasks when both mapreduce.task.userlog.limit.kb and
  517. yarn.app.mapreduce.task.container.log.backups are greater than zero.
  518. </description>
  519. </property>
  520. <property>
  521. <name>yarn.app.mapreduce.am.container.log.backups</name>
  522. <value>0</value>
  523. <description>Number of backup files for the ApplicationMaster logs when using
  524. ContainerRollingLogAppender (CRLA). See
  525. org.apache.log4j.RollingFileAppender.maxBackupIndex. By default,
  526. ContainerLogAppender (CLA) is used, and container logs are not rolled. CRLA
  527. is enabled for the ApplicationMaster when both
  528. mapreduce.task.userlog.limit.kb and
  529. yarn.app.mapreduce.am.container.log.backups are greater than zero.
  530. </description>
  531. </property>
  532. <property>
  533. <name>mapreduce.job.maxtaskfailures.per.tracker</name>
  534. <value>3</value>
  535. <description>The number of task-failures on a node manager of a given job
  536. after which new tasks of that job aren't assigned to it. It
  537. MUST be less than mapreduce.map.maxattempts and
  538. mapreduce.reduce.maxattempts otherwise the failed task will
  539. never be tried on a different node.
  540. </description>
  541. </property>
  542. <property>
  543. <name>mapreduce.client.output.filter</name>
  544. <value>FAILED</value>
  545. <description>The filter for controlling the output of the task's userlogs sent
  546. to the console of the JobClient.
  547. The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
  548. ALL.
  549. </description>
  550. </property>
  551. <property>
  552. <name>mapreduce.client.completion.pollinterval</name>
  553. <value>5000</value>
  554. <description>The interval (in milliseconds) between which the JobClient
  555. polls the MapReduce ApplicationMaster for updates about job status. You may want to
  556. set this to a lower value to make tests run faster on a single node system. Adjusting
  557. this value in production may lead to unwanted client-server traffic.
  558. </description>
  559. </property>
  560. <property>
  561. <name>mapreduce.client.progressmonitor.pollinterval</name>
  562. <value>1000</value>
  563. <description>The interval (in milliseconds) between which the JobClient
  564. reports status to the console and checks for job completion. You may want to set this
  565. to a lower value to make tests run faster on a single node system. Adjusting
  566. this value in production may lead to unwanted client-server traffic.
  567. </description>
  568. </property>
  569. <property>
  570. <name>mapreduce.task.profile</name>
  571. <value>false</value>
  572. <description>To set whether the system should collect profiler
  573. information for some of the tasks in this job? The information is stored
  574. in the user log directory. The value is "true" if task profiling
  575. is enabled.</description>
  576. </property>
  577. <property>
  578. <name>mapreduce.task.profile.maps</name>
  579. <value>0-2</value>
  580. <description> To set the ranges of map tasks to profile.
  581. mapreduce.task.profile has to be set to true for the value to be accounted.
  582. </description>
  583. </property>
  584. <property>
  585. <name>mapreduce.task.profile.reduces</name>
  586. <value>0-2</value>
  587. <description> To set the ranges of reduce tasks to profile.
  588. mapreduce.task.profile has to be set to true for the value to be accounted.
  589. </description>
  590. </property>
  591. <property>
  592. <name>mapreduce.task.profile.params</name>
  593. <value></value>
  594. <description>JVM profiler parameters used to profile map and reduce task
  595. attempts. This string may contain a single format specifier %s that will
  596. be replaced by the path to profile.out in the task attempt log directory.
  597. To specify different profiling options for map tasks and reduce tasks,
  598. more specific parameters mapreduce.task.profile.map.params and
  599. mapreduce.task.profile.reduce.params should be used.</description>
  600. </property>
  601. <property>
  602. <name>mapreduce.task.profile.map.params</name>
  603. <value>${mapreduce.task.profile.params}</value>
  604. <description>Map-task-specific JVM profiler parameters. See
  605. mapreduce.task.profile.params</description>
  606. </property>
  607. <property>
  608. <name>mapreduce.task.profile.reduce.params</name>
  609. <value>${mapreduce.task.profile.params}</value>
  610. <description>Reduce-task-specific JVM profiler parameters. See
  611. mapreduce.task.profile.params</description>
  612. </property>
  613. <property>
  614. <name>mapreduce.task.skip.start.attempts</name>
  615. <value>2</value>
  616. <description> The number of Task attempts AFTER which skip mode
  617. will be kicked off. When skip mode is kicked off, the
  618. tasks reports the range of records which it will process
  619. next, to the MR ApplicationMaster. So that on failures, the MR AM
  620. knows which ones are possibly the bad records. On further executions,
  621. those are skipped.
  622. </description>
  623. </property>
  624. <property>
  625. <name>mapreduce.map.skip.proc.count.autoincr</name>
  626. <value>true</value>
  627. <description> The flag which if set to true,
  628. SkipBadRecords.COUNTER_MAP_PROCESSED_RECORDS is incremented
  629. by MapRunner after invoking the map function. This value must be set to
  630. false for applications which process the records asynchronously
  631. or buffer the input records. For example streaming.
  632. In such cases applications should increment this counter on their own.
  633. </description>
  634. </property>
  635. <property>
  636. <name>mapreduce.reduce.skip.proc.count.autoincr</name>
  637. <value>true</value>
  638. <description> The flag which if set to true,
  639. SkipBadRecords.COUNTER_REDUCE_PROCESSED_GROUPS is incremented
  640. by framework after invoking the reduce function. This value must be set to
  641. false for applications which process the records asynchronously
  642. or buffer the input records. For example streaming.
  643. In such cases applications should increment this counter on their own.
  644. </description>
  645. </property>
  646. <property>
  647. <name>mapreduce.job.skip.outdir</name>
  648. <value></value>
  649. <description> If no value is specified here, the skipped records are
  650. written to the output directory at _logs/skip.
  651. User can stop writing skipped records by giving the value "none".
  652. </description>
  653. </property>
  654. <property>
  655. <name>mapreduce.map.skip.maxrecords</name>
  656. <value>0</value>
  657. <description> The number of acceptable skip records surrounding the bad
  658. record PER bad record in mapper. The number includes the bad record as well.
  659. To turn the feature of detection/skipping of bad records off, set the
  660. value to 0.
  661. The framework tries to narrow down the skipped range by retrying
  662. until this threshold is met OR all attempts get exhausted for this task.
  663. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  664. narrow down. Whatever records(depends on application) get skipped are
  665. acceptable.
  666. </description>
  667. </property>
  668. <property>
  669. <name>mapreduce.reduce.skip.maxgroups</name>
  670. <value>0</value>
  671. <description> The number of acceptable skip groups surrounding the bad
  672. group PER bad group in reducer. The number includes the bad group as well.
  673. To turn the feature of detection/skipping of bad groups off, set the
  674. value to 0.
  675. The framework tries to narrow down the skipped range by retrying
  676. until this threshold is met OR all attempts get exhausted for this task.
  677. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  678. narrow down. Whatever groups(depends on application) get skipped are
  679. acceptable.
  680. </description>
  681. </property>
  682. <property>
  683. <name>mapreduce.ifile.readahead</name>
  684. <value>true</value>
  685. <description>Configuration key to enable/disable IFile readahead.
  686. </description>
  687. </property>
  688. <property>
  689. <name>mapreduce.ifile.readahead.bytes</name>
  690. <value>4194304</value>
  691. <description>Configuration key to set the IFile readahead length in bytes.
  692. </description>
  693. </property>
  694. <property>
  695. <name>mapreduce.job.queuename</name>
  696. <value>default</value>
  697. <description> Queue to which a job is submitted. This must match one of the
  698. queues defined in mapred-queues.xml for the system. Also, the ACL setup
  699. for the queue must allow the current user to submit a job to the queue.
  700. Before specifying a queue, ensure that the system is configured with
  701. the queue, and access is allowed for submitting jobs to the queue.
  702. </description>
  703. </property>
  704. <property>
  705. <name>mapreduce.job.tags</name>
  706. <value></value>
  707. <description> Tags for the job that will be passed to YARN at submission
  708. time. Queries to YARN for applications can filter on these tags.
  709. </description>
  710. </property>
  711. <property>
  712. <name>mapreduce.cluster.local.dir</name>
  713. <value>${hadoop.tmp.dir}/mapred/local</value>
  714. <description>
  715. The local directory where MapReduce stores intermediate
  716. data files. May be a comma-separated list of
  717. directories on different devices in order to spread disk i/o.
  718. Directories that do not exist are ignored.
  719. </description>
  720. </property>
  721. <property>
  722. <name>mapreduce.cluster.acls.enabled</name>
  723. <value>false</value>
  724. <description> Specifies whether ACLs should be checked
  725. for authorization of users for doing various queue and job level operations.
  726. ACLs are disabled by default. If enabled, access control checks are made by
  727. MapReduce ApplicationMaster when requests are made by users for queue
  728. operations like submit job to a queue and kill a job in the queue and job
  729. operations like viewing the job-details (See mapreduce.job.acl-view-job)
  730. or for modifying the job (See mapreduce.job.acl-modify-job) using
  731. Map/Reduce APIs, RPCs or via the console and web user interfaces.
  732. For enabling this flag, set to true in mapred-site.xml file of all
  733. MapReduce clients (MR job submitting nodes).
  734. </description>
  735. </property>
  736. <property>
  737. <name>mapreduce.job.acl-modify-job</name>
  738. <value> </value>
  739. <description> Job specific access-control list for 'modifying' the job. It
  740. is only used if authorization is enabled in Map/Reduce by setting the
  741. configuration property mapreduce.cluster.acls.enabled to true.
  742. This specifies the list of users and/or groups who can do modification
  743. operations on the job. For specifying a list of users and groups the
  744. format to use is "user1,user2 group1,group". If set to '*', it allows all
  745. users/groups to modify this job. If set to ' '(i.e. space), it allows
  746. none. This configuration is used to guard all the modifications with respect
  747. to this job and takes care of all the following operations:
  748. o killing this job
  749. o killing a task of this job, failing a task of this job
  750. o setting the priority of this job
  751. Each of these operations are also protected by the per-queue level ACL
  752. "acl-administer-jobs" configured via mapred-queues.xml. So a caller should
  753. have the authorization to satisfy either the queue-level ACL or the
  754. job-level ACL.
  755. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  756. started the cluster, (c) members of an admin configured supergroup
  757. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  758. administrators of the queue to which this job was submitted to configured
  759. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  760. do all the modification operations on a job.
  761. By default, nobody else besides job-owner, the user who started the cluster,
  762. members of supergroup and queue administrators can perform modification
  763. operations on a job.
  764. </description>
  765. </property>
  766. <property>
  767. <name>mapreduce.job.acl-view-job</name>
  768. <value> </value>
  769. <description> Job specific access-control list for 'viewing' the job. It is
  770. only used if authorization is enabled in Map/Reduce by setting the
  771. configuration property mapreduce.cluster.acls.enabled to true.
  772. This specifies the list of users and/or groups who can view private details
  773. about the job. For specifying a list of users and groups the
  774. format to use is "user1,user2 group1,group". If set to '*', it allows all
  775. users/groups to modify this job. If set to ' '(i.e. space), it allows
  776. none. This configuration is used to guard some of the job-views and at
  777. present only protects APIs that can return possibly sensitive information
  778. of the job-owner like
  779. o job-level counters
  780. o task-level counters
  781. o tasks' diagnostic information
  782. o task-logs displayed on the HistoryServer's web-UI and
  783. o job.xml showed by the HistoryServer's web-UI
  784. Every other piece of information of jobs is still accessible by any other
  785. user, for e.g., JobStatus, JobProfile, list of jobs in the queue, etc.
  786. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  787. started the cluster, (c) members of an admin configured supergroup
  788. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  789. administrators of the queue to which this job was submitted to configured
  790. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  791. do all the view operations on a job.
  792. By default, nobody else besides job-owner, the user who started the
  793. cluster, memebers of supergroup and queue administrators can perform
  794. view operations on a job.
  795. </description>
  796. </property>
  797. <property>
  798. <name>mapreduce.job.token.tracking.ids.enabled</name>
  799. <value>false</value>
  800. <description>Whether to write tracking ids of tokens to
  801. job-conf. When true, the configuration property
  802. "mapreduce.job.token.tracking.ids" is set to the token-tracking-ids of
  803. the job</description>
  804. </property>
  805. <property>
  806. <name>mapreduce.job.token.tracking.ids</name>
  807. <value></value>
  808. <description>When mapreduce.job.token.tracking.ids.enabled is
  809. set to true, this is set by the framework to the
  810. token-tracking-ids used by the job.</description>
  811. </property>
  812. <property>
  813. <name>mapreduce.task.merge.progress.records</name>
  814. <value>10000</value>
  815. <description> The number of records to process during merge before
  816. sending a progress notification to the MR ApplicationMaster.
  817. </description>
  818. </property>
  819. <property>
  820. <name>mapreduce.job.reduce.slowstart.completedmaps</name>
  821. <value>0.05</value>
  822. <description>Fraction of the number of maps in the job which should be
  823. complete before reduces are scheduled for the job.
  824. </description>
  825. </property>
  826. <property>
  827. <name>mapreduce.job.complete.cancel.delegation.tokens</name>
  828. <value>true</value>
  829. <description> if false - do not unregister/cancel delegation tokens from
  830. renewal, because same tokens may be used by spawned jobs
  831. </description>
  832. </property>
  833. <property>
  834. <name>mapreduce.shuffle.port</name>
  835. <value>13562</value>
  836. <description>Default port that the ShuffleHandler will run on. ShuffleHandler
  837. is a service run at the NodeManager to facilitate transfers of intermediate
  838. Map outputs to requesting Reducers.
  839. </description>
  840. </property>
  841. <property>
  842. <name>mapreduce.job.reduce.shuffle.consumer.plugin.class</name>
  843. <value>org.apache.hadoop.mapreduce.task.reduce.Shuffle</value>
  844. <description>
  845. Name of the class whose instance will be used
  846. to send shuffle requests by reducetasks of this job.
  847. The class must be an instance of org.apache.hadoop.mapred.ShuffleConsumerPlugin.
  848. </description>
  849. </property>
  850. <!-- MR YARN Application properties -->
  851. <property>
  852. <name>mapreduce.job.counters.limit</name>
  853. <value>120</value>
  854. <description>Limit on the number of user counters allowed per job.
  855. </description>
  856. </property>
  857. <property>
  858. <name>mapreduce.framework.name</name>
  859. <value>local</value>
  860. <description>The runtime framework for executing MapReduce jobs.
  861. Can be one of local, classic or yarn.
  862. </description>
  863. </property>
  864. <property>
  865. <name>yarn.app.mapreduce.am.staging-dir</name>
  866. <value>/tmp/hadoop-yarn/staging</value>
  867. <description>The staging dir used while submitting jobs.
  868. </description>
  869. </property>
  870. <property>
  871. <name>mapreduce.am.max-attempts</name>
  872. <value>2</value>
  873. <description>The maximum number of application attempts. It is a
  874. application-specific setting. It should not be larger than the global number
  875. set by resourcemanager. Otherwise, it will be override. The default number is
  876. set to 2, to allow at least one retry for AM.</description>
  877. </property>
  878. <!-- Job Notification Configuration -->
  879. <property>
  880. <name>mapreduce.job.end-notification.url</name>
  881. <!--<value>http://localhost:8080/jobstatus.php?jobId=$jobId&amp;jobStatus=$jobStatus</value>-->
  882. <description>Indicates url which will be called on completion of job to inform
  883. end status of job.
  884. User can give at most 2 variables with URI : $jobId and $jobStatus.
  885. If they are present in URI, then they will be replaced by their
  886. respective values.
  887. </description>
  888. </property>
  889. <property>
  890. <name>mapreduce.job.end-notification.retry.attempts</name>
  891. <value>0</value>
  892. <description>The number of times the submitter of the job wants to retry job
  893. end notification if it fails. This is capped by
  894. mapreduce.job.end-notification.max.attempts</description>
  895. </property>
  896. <property>
  897. <name>mapreduce.job.end-notification.retry.interval</name>
  898. <value>1000</value>
  899. <description>The number of milliseconds the submitter of the job wants to
  900. wait before job end notification is retried if it fails. This is capped by
  901. mapreduce.job.end-notification.max.retry.interval</description>
  902. </property>
  903. <property>
  904. <name>mapreduce.job.end-notification.max.attempts</name>
  905. <value>5</value>
  906. <final>true</final>
  907. <description>The maximum number of times a URL will be read for providing job
  908. end notification. Cluster administrators can set this to limit how long
  909. after end of a job, the Application Master waits before exiting. Must be
  910. marked as final to prevent users from overriding this.
  911. </description>
  912. </property>
  913. <property>
  914. <name>mapreduce.job.end-notification.max.retry.interval</name>
  915. <value>5000</value>
  916. <final>true</final>
  917. <description>The maximum amount of time (in milliseconds) to wait before
  918. retrying job end notification. Cluster administrators can set this to
  919. limit how long the Application Master waits before exiting. Must be marked
  920. as final to prevent users from overriding this.</description>
  921. </property>
  922. <property>
  923. <name>yarn.app.mapreduce.am.env</name>
  924. <value></value>
  925. <description>User added environment variables for the MR App Master
  926. processes. Example :
  927. 1) A=foo This will set the env variable A to foo
  928. 2) B=$B:c This is inherit tasktracker's B env variable.
  929. </description>
  930. </property>
  931. <property>
  932. <name>yarn.app.mapreduce.am.admin.user.env</name>
  933. <value></value>
  934. <description> Environment variables for the MR App Master
  935. processes for admin purposes. These values are set first and can be
  936. overridden by the user env (yarn.app.mapreduce.am.env) Example :
  937. 1) A=foo This will set the env variable A to foo
  938. 2) B=$B:c This is inherit app master's B env variable.
  939. </description>
  940. </property>
  941. <property>
  942. <name>yarn.app.mapreduce.am.command-opts</name>
  943. <value>-Xmx1024m</value>
  944. <description>Java opts for the MR App Master processes.
  945. The following symbol, if present, will be interpolated: @taskid@ is replaced
  946. by current TaskID. Any other occurrences of '@' will go unchanged.
  947. For example, to enable verbose gc logging to a file named for the taskid in
  948. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  949. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  950. Usage of -Djava.library.path can cause programs to no longer function if
  951. hadoop native libraries are used. These values should instead be set as part
  952. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  953. mapreduce.reduce.env config settings.
  954. </description>
  955. </property>
  956. <property>
  957. <name>yarn.app.mapreduce.am.admin-command-opts</name>
  958. <value></value>
  959. <description>Java opts for the MR App Master processes for admin purposes.
  960. It will appears before the opts set by yarn.app.mapreduce.am.command-opts and
  961. thus its options can be overridden user.
  962. Usage of -Djava.library.path can cause programs to no longer function if
  963. hadoop native libraries are used. These values should instead be set as part
  964. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  965. mapreduce.reduce.env config settings.
  966. </description>
  967. </property>
  968. <property>
  969. <name>yarn.app.mapreduce.am.job.task.listener.thread-count</name>
  970. <value>30</value>
  971. <description>The number of threads used to handle RPC calls in the
  972. MR AppMaster from remote tasks</description>
  973. </property>
  974. <property>
  975. <name>yarn.app.mapreduce.am.job.client.port-range</name>
  976. <value></value>
  977. <description>Range of ports that the MapReduce AM can use when binding.
  978. Leave blank if you want all possible ports.
  979. For example 50000-50050,50100-50200</description>
  980. </property>
  981. <property>
  982. <name>yarn.app.mapreduce.am.job.committer.cancel-timeout</name>
  983. <value>60000</value>
  984. <description>The amount of time in milliseconds to wait for the output
  985. committer to cancel an operation if the job is killed</description>
  986. </property>
  987. <property>
  988. <name>yarn.app.mapreduce.am.job.committer.commit-window</name>
  989. <value>10000</value>
  990. <description>Defines a time window in milliseconds for output commit
  991. operations. If contact with the RM has occurred within this window then
  992. commits are allowed, otherwise the AM will not allow output commits until
  993. contact with the RM has been re-established.</description>
  994. </property>
  995. <property>
  996. <name>yarn.app.mapreduce.am.scheduler.heartbeat.interval-ms</name>
  997. <value>1000</value>
  998. <description>The interval in ms at which the MR AppMaster should send
  999. heartbeats to the ResourceManager</description>
  1000. </property>
  1001. <property>
  1002. <name>yarn.app.mapreduce.client-am.ipc.max-retries</name>
  1003. <value>3</value>
  1004. <description>The number of client retries to the AM - before reconnecting
  1005. to the RM to fetch Application Status.</description>
  1006. </property>
  1007. <property>
  1008. <name>yarn.app.mapreduce.client-am.ipc.max-retries-on-timeouts</name>
  1009. <value>3</value>
  1010. <description>The number of client retries on socket timeouts to the AM - before
  1011. reconnecting to the RM to fetch Application Status.</description>
  1012. </property>
  1013. <property>
  1014. <name>yarn.app.mapreduce.client.max-retries</name>
  1015. <value>3</value>
  1016. <description>The number of client retries to the RM/HS before
  1017. throwing exception. This is a layer above the ipc.</description>
  1018. </property>
  1019. <property>
  1020. <name>yarn.app.mapreduce.am.resource.mb</name>
  1021. <value>1536</value>
  1022. <description>The amount of memory the MR AppMaster needs.</description>
  1023. </property>
  1024. <property>
  1025. <name>yarn.app.mapreduce.am.resource.cpu-vcores</name>
  1026. <value>1</value>
  1027. <description>
  1028. The number of virtual CPU cores the MR AppMaster needs.
  1029. </description>
  1030. </property>
  1031. <property>
  1032. <description>CLASSPATH for MR applications. A comma-separated list
  1033. of CLASSPATH entries. If mapreduce.application.framework is set then this
  1034. must specify the appropriate classpath for that archive, and the name of
  1035. the archive must be present in the classpath.
  1036. If mapreduce.app-submission.cross-platform is false, platform-specific
  1037. environment vairable expansion syntax would be used to construct the default
  1038. CLASSPATH entries.
  1039. For Linux:
  1040. $HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*,
  1041. $HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*.
  1042. For Windows:
  1043. %HADOOP_MAPRED_HOME%/share/hadoop/mapreduce/*,
  1044. %HADOOP_MAPRED_HOME%/share/hadoop/mapreduce/lib/*.
  1045. If mapreduce.app-submission.cross-platform is true, platform-agnostic default
  1046. CLASSPATH for MR applications would be used:
  1047. {{HADOOP_MAPRED_HOME}}/share/hadoop/mapreduce/*,
  1048. {{HADOOP_MAPRED_HOME}}/share/hadoop/mapreduce/lib/*
  1049. Parameter expansion marker will be replaced by NodeManager on container
  1050. launch based on the underlying OS accordingly.
  1051. </description>
  1052. <name>mapreduce.application.classpath</name>
  1053. <value></value>
  1054. </property>
  1055. <property>
  1056. <description>If enabled, user can submit an application cross-platform
  1057. i.e. submit an application from a Windows client to a Linux/Unix server or
  1058. vice versa.
  1059. </description>
  1060. <name>mapreduce.app-submission.cross-platform</name>
  1061. <value>false</value>
  1062. </property>
  1063. <property>
  1064. <description>Path to the MapReduce framework archive. If set, the framework
  1065. archive will automatically be distributed along with the job, and this
  1066. path would normally reside in a public location in an HDFS filesystem. As
  1067. with distributed cache files, this can be a URL with a fragment specifying
  1068. the alias to use for the archive name. For example,
  1069. hdfs:/mapred/framework/hadoop-mapreduce-2.1.1.tar.gz#mrframework would
  1070. alias the localized archive as "mrframework".
  1071. Note that mapreduce.application.classpath must include the appropriate
  1072. classpath for the specified framework. The base name of the archive, or
  1073. alias of the archive if an alias is used, must appear in the specified
  1074. classpath.
  1075. </description>
  1076. <name>mapreduce.application.framework.path</name>
  1077. <value></value>
  1078. </property>
  1079. <property>
  1080. <name>mapreduce.job.classloader</name>
  1081. <value>false</value>
  1082. <description>Whether to use a separate (isolated) classloader for
  1083. user classes in the task JVM.</description>
  1084. </property>
  1085. <property>
  1086. <name>mapreduce.job.classloader.system.classes</name>
  1087. <value>java.,javax.,org.apache.commons.logging.,org.apache.log4j.,
  1088. org.apache.hadoop.,core-default.xml,hdfs-default.xml,
  1089. mapred-default.xml,yarn-default.xml</value>
  1090. <description>A comma-separated list of classes that should be loaded from the
  1091. system classpath, not the user-supplied JARs, when mapreduce.job.classloader
  1092. is enabled. Names ending in '.' (period) are treated as package names,
  1093. and names starting with a '-' are treated as negative matches.
  1094. </description>
  1095. </property>
  1096. <property>
  1097. <name>mapreduce.jvm.system-properties-to-log</name>
  1098. <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>
  1099. <description>Comma-delimited list of system properties to log on mapreduce JVM start</description>
  1100. </property>
  1101. <!-- jobhistory properties -->
  1102. <property>
  1103. <name>mapreduce.jobhistory.address</name>
  1104. <value>0.0.0.0:10020</value>
  1105. <description>MapReduce JobHistory Server IPC host:port</description>
  1106. </property>
  1107. <property>
  1108. <name>mapreduce.jobhistory.webapp.address</name>
  1109. <value>0.0.0.0:19888</value>
  1110. <description>MapReduce JobHistory Server Web UI host:port</description>
  1111. </property>
  1112. <property>
  1113. <name>mapreduce.jobhistory.keytab</name>
  1114. <description>
  1115. Location of the kerberos keytab file for the MapReduce
  1116. JobHistory Server.
  1117. </description>
  1118. <value>/etc/security/keytab/jhs.service.keytab</value>
  1119. </property>
  1120. <property>
  1121. <name>mapreduce.jobhistory.principal</name>
  1122. <description>
  1123. Kerberos principal name for the MapReduce JobHistory Server.
  1124. </description>
  1125. <value>jhs/_HOST@REALM.TLD</value>
  1126. </property>
  1127. <property>
  1128. <name>mapreduce.jobhistory.intermediate-done-dir</name>
  1129. <value>${yarn.app.mapreduce.am.staging-dir}/history/done_intermediate</value>
  1130. <description></description>
  1131. </property>
  1132. <property>
  1133. <name>mapreduce.jobhistory.done-dir</name>
  1134. <value>${yarn.app.mapreduce.am.staging-dir}/history/done</value>
  1135. <description></description>
  1136. </property>
  1137. <property>
  1138. <name>mapreduce.jobhistory.cleaner.enable</name>
  1139. <value>true</value>
  1140. <description></description>
  1141. </property>
  1142. <property>
  1143. <name>mapreduce.jobhistory.cleaner.interval-ms</name>
  1144. <value>86400000</value>
  1145. <description> How often the job history cleaner checks for files to delete,
  1146. in milliseconds. Defaults to 86400000 (one day). Files are only deleted if
  1147. they are older than mapreduce.jobhistory.max-age-ms.
  1148. </description>
  1149. </property>
  1150. <property>
  1151. <name>mapreduce.jobhistory.max-age-ms</name>
  1152. <value>604800000</value>
  1153. <description> Job history files older than this many milliseconds will
  1154. be deleted when the history cleaner runs. Defaults to 604800000 (1 week).
  1155. </description>
  1156. </property>
  1157. <property>
  1158. <name>mapreduce.jobhistory.client.thread-count</name>
  1159. <value>10</value>
  1160. <description>The number of threads to handle client API requests</description>
  1161. </property>
  1162. <property>
  1163. <name>mapreduce.jobhistory.datestring.cache.size</name>
  1164. <value>200000</value>
  1165. <description>Size of the date string cache. Effects the number of directories
  1166. which will be scanned to find a job.</description>
  1167. </property>
  1168. <property>
  1169. <name>mapreduce.jobhistory.joblist.cache.size</name>
  1170. <value>20000</value>
  1171. <description>Size of the job list cache</description>
  1172. </property>
  1173. <property>
  1174. <name>mapreduce.jobhistory.loadedjobs.cache.size</name>
  1175. <value>5</value>
  1176. <description>Size of the loaded job cache</description>
  1177. </property>
  1178. <property>
  1179. <name>mapreduce.jobhistory.move.interval-ms</name>
  1180. <value>180000</value>
  1181. <description>Scan for history files to more from intermediate done dir to done
  1182. dir at this frequency.
  1183. </description>
  1184. </property>
  1185. <property>
  1186. <name>mapreduce.jobhistory.move.thread-count</name>
  1187. <value>3</value>
  1188. <description>The number of threads used to move files.</description>
  1189. </property>
  1190. <property>
  1191. <name>mapreduce.jobhistory.store.class</name>
  1192. <value></value>
  1193. <description>The HistoryStorage class to use to cache history data.</description>
  1194. </property>
  1195. <property>
  1196. <name>mapreduce.jobhistory.minicluster.fixed.ports</name>
  1197. <value>false</value>
  1198. <description>Whether to use fixed ports with the minicluster</description>
  1199. </property>
  1200. <property>
  1201. <name>mapreduce.jobhistory.admin.address</name>
  1202. <value>0.0.0.0:10033</value>
  1203. <description>The address of the History server admin interface.</description>
  1204. </property>
  1205. <property>
  1206. <name>mapreduce.jobhistory.admin.acl</name>
  1207. <value>*</value>
  1208. <description>ACL of who can be admin of the History server.</description>
  1209. </property>
  1210. <property>
  1211. <name>mapreduce.jobhistory.recovery.enable</name>
  1212. <value>false</value>
  1213. <description>Enable the history server to store server state and recover
  1214. server state upon startup. If enabled then
  1215. mapreduce.jobhistory.recovery.store.class must be specified.</description>
  1216. </property>
  1217. <property>
  1218. <name>mapreduce.jobhistory.recovery.store.class</name>
  1219. <value>org.apache.hadoop.mapreduce.v2.hs.HistoryServerFileSystemStateStoreService</value>
  1220. <description>The HistoryServerStateStoreService class to store history server
  1221. state for recovery.</description>
  1222. </property>
  1223. <property>
  1224. <name>mapreduce.jobhistory.recovery.store.fs.uri</name>
  1225. <value>${hadoop.tmp.dir}/mapred/history/recoverystore</value>
  1226. <!--value>hdfs://localhost:9000/mapred/history/recoverystore</value-->
  1227. <description>The URI where history server state will be stored if
  1228. HistoryServerFileSystemStateStoreService is configured as the recovery
  1229. storage class.</description>
  1230. </property>
  1231. <property>
  1232. <name>mapreduce.jobhistory.http.policy</name>
  1233. <value>HTTP_ONLY</value>
  1234. <description>
  1235. This configures the HTTP endpoint for JobHistoryServer web UI.
  1236. The following values are supported:
  1237. - HTTP_ONLY : Service is provided only on http
  1238. - HTTPS_ONLY : Service is provided only on https
  1239. </description>
  1240. </property>
  1241. </configuration>