mapred-default.xml 48 KB

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