mapred-default.xml 72 KB

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