mapred-default.xml 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  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.max.split.locations</name>
  254. <value>10</value>
  255. <description>The max number of block locations to store for each split for
  256. locality calculation.
  257. </description>
  258. </property>
  259. <property>
  260. <name>mapreduce.job.split.metainfo.maxsize</name>
  261. <value>10000000</value>
  262. <description>The maximum permissible size of the split metainfo file.
  263. The JobTracker won't attempt to read split metainfo files bigger than
  264. the configured value.
  265. No limits if set to -1.
  266. </description>
  267. </property>
  268. <property>
  269. <name>mapreduce.jobtracker.taskscheduler.maxrunningtasks.perjob</name>
  270. <value></value>
  271. <description>The maximum number of running tasks for a job before
  272. it gets preempted. No limits if undefined.
  273. </description>
  274. </property>
  275. <property>
  276. <name>mapreduce.map.maxattempts</name>
  277. <value>4</value>
  278. <description>Expert: The maximum number of attempts per map task.
  279. In other words, framework will try to execute a map task these many number
  280. of times before giving up on it.
  281. </description>
  282. </property>
  283. <property>
  284. <name>mapreduce.reduce.maxattempts</name>
  285. <value>4</value>
  286. <description>Expert: The maximum number of attempts per reduce task.
  287. In other words, framework will try to execute a reduce task these many number
  288. of times before giving up on it.
  289. </description>
  290. </property>
  291. <property>
  292. <name>mapreduce.reduce.shuffle.retry-delay.max.ms</name>
  293. <value>60000</value>
  294. <description>The maximum number of ms the reducer will delay before retrying
  295. to download map data.
  296. </description>
  297. </property>
  298. <property>
  299. <name>mapreduce.reduce.shuffle.parallelcopies</name>
  300. <value>5</value>
  301. <description>The default number of parallel transfers run by reduce
  302. during the copy(shuffle) phase.
  303. </description>
  304. </property>
  305. <property>
  306. <name>mapreduce.reduce.shuffle.connect.timeout</name>
  307. <value>180000</value>
  308. <description>Expert: The maximum amount of time (in milli seconds) reduce
  309. task spends in trying to connect to a tasktracker for getting map output.
  310. </description>
  311. </property>
  312. <property>
  313. <name>mapreduce.reduce.shuffle.read.timeout</name>
  314. <value>180000</value>
  315. <description>Expert: The maximum amount of time (in milli seconds) reduce
  316. task waits for map output data to be available for reading after obtaining
  317. connection.
  318. </description>
  319. </property>
  320. <property>
  321. <name>mapreduce.task.timeout</name>
  322. <value>600000</value>
  323. <description>The number of milliseconds before a task will be
  324. terminated if it neither reads an input, writes an output, nor
  325. updates its status string. A value of 0 disables the timeout.
  326. </description>
  327. </property>
  328. <property>
  329. <name>mapreduce.tasktracker.map.tasks.maximum</name>
  330. <value>2</value>
  331. <description>The maximum number of map tasks that will be run
  332. simultaneously by a task tracker.
  333. </description>
  334. </property>
  335. <property>
  336. <name>mapreduce.tasktracker.reduce.tasks.maximum</name>
  337. <value>2</value>
  338. <description>The maximum number of reduce tasks that will be run
  339. simultaneously by a task tracker.
  340. </description>
  341. </property>
  342. <property>
  343. <name>mapreduce.jobtracker.retiredjobs.cache.size</name>
  344. <value>1000</value>
  345. <description>The number of retired job status to keep in the cache.
  346. </description>
  347. </property>
  348. <property>
  349. <name>mapreduce.tasktracker.outofband.heartbeat</name>
  350. <value>false</value>
  351. <description>Expert: Set this to true to let the tasktracker send an
  352. out-of-band heartbeat on task-completion for better latency.
  353. </description>
  354. </property>
  355. <property>
  356. <name>mapreduce.jobtracker.jobhistory.lru.cache.size</name>
  357. <value>5</value>
  358. <description>The number of job history files loaded in memory. The jobs are
  359. loaded when they are first accessed. The cache is cleared based on LRU.
  360. </description>
  361. </property>
  362. <property>
  363. <name>mapreduce.jobtracker.instrumentation</name>
  364. <value>org.apache.hadoop.mapred.JobTrackerMetricsInst</value>
  365. <description>Expert: The instrumentation class to associate with each JobTracker.
  366. </description>
  367. </property>
  368. <property>
  369. <name>mapred.child.java.opts</name>
  370. <value>-Xmx200m</value>
  371. <description>Java opts for the task tracker child processes.
  372. The following symbol, if present, will be interpolated: @taskid@ is replaced
  373. by current TaskID. Any other occurrences of '@' will go unchanged.
  374. For example, to enable verbose gc logging to a file named for the taskid in
  375. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  376. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  377. Usage of -Djava.library.path can cause programs to no longer function if
  378. hadoop native libraries are used. These values should instead be set as part
  379. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  380. mapreduce.reduce.env config settings.
  381. </description>
  382. </property>
  383. <property>
  384. <name>mapred.child.env</name>
  385. <value></value>
  386. <description>User added environment variables for the task tracker child
  387. processes. Example :
  388. 1) A=foo This will set the env variable A to foo
  389. 2) B=$B:c This is inherit nodemanager's B env variable on Unix.
  390. 3) B=%B%;c This is inherit nodemanager's B env variable on Windows.
  391. </description>
  392. </property>
  393. <property>
  394. <name>mapreduce.admin.user.env</name>
  395. <value></value>
  396. <description>
  397. Expert: Additional execution environment entries for
  398. map and reduce task processes. This is not an additive property.
  399. You must preserve the original value if you want your map and
  400. reduce tasks to have access to native libraries (compression, etc).
  401. When this value is empty, the command to set execution
  402. envrionment will be OS dependent:
  403. For linux, use LD_LIBRARY_PATH=$HADOOP_COMMON_HOME/lib/native.
  404. For windows, use PATH = %PATH%;%HADOOP_COMMON_HOME%\\bin.
  405. </description>
  406. </property>
  407. <property>
  408. <name>mapreduce.task.tmp.dir</name>
  409. <value>./tmp</value>
  410. <description> To set the value of tmp directory for map and reduce tasks.
  411. If the value is an absolute path, it is directly assigned. Otherwise, it is
  412. prepended with task's working directory. The java tasks are executed with
  413. option -Djava.io.tmpdir='the absolute path of the tmp dir'. Pipes and
  414. streaming are set with environment variable,
  415. TMPDIR='the absolute path of the tmp dir'
  416. </description>
  417. </property>
  418. <property>
  419. <name>mapreduce.map.log.level</name>
  420. <value>INFO</value>
  421. <description>The logging level for the map task. The allowed levels are:
  422. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  423. </description>
  424. </property>
  425. <property>
  426. <name>mapreduce.reduce.log.level</name>
  427. <value>INFO</value>
  428. <description>The logging level for the reduce task. The allowed levels are:
  429. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  430. </description>
  431. </property>
  432. <property>
  433. <name>mapreduce.map.cpu.vcores</name>
  434. <value>1</value>
  435. <description>
  436. The number of virtual cores required for each map task.
  437. </description>
  438. </property>
  439. <property>
  440. <name>mapreduce.reduce.cpu.vcores</name>
  441. <value>1</value>
  442. <description>
  443. The number of virtual cores required for each reduce task.
  444. </description>
  445. </property>
  446. <property>
  447. <name>mapreduce.reduce.merge.inmem.threshold</name>
  448. <value>1000</value>
  449. <description>The threshold, in terms of the number of files
  450. for the in-memory merge process. When we accumulate threshold number of files
  451. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  452. 0 indicates we want to DON'T have any threshold and instead depend only on
  453. the ramfs's memory consumption to trigger the merge.
  454. </description>
  455. </property>
  456. <property>
  457. <name>mapreduce.reduce.shuffle.merge.percent</name>
  458. <value>0.66</value>
  459. <description>The usage threshold at which an in-memory merge will be
  460. initiated, expressed as a percentage of the total memory allocated to
  461. storing in-memory map outputs, as defined by
  462. mapreduce.reduce.shuffle.input.buffer.percent.
  463. </description>
  464. </property>
  465. <property>
  466. <name>mapreduce.reduce.shuffle.input.buffer.percent</name>
  467. <value>0.70</value>
  468. <description>The percentage of memory to be allocated from the maximum heap
  469. size to storing map outputs during the shuffle.
  470. </description>
  471. </property>
  472. <property>
  473. <name>mapreduce.reduce.input.buffer.percent</name>
  474. <value>0.0</value>
  475. <description>The percentage of memory- relative to the maximum heap size- to
  476. retain map outputs during the reduce. When the shuffle is concluded, any
  477. remaining map outputs in memory must consume less than this threshold before
  478. the reduce can begin.
  479. </description>
  480. </property>
  481. <property>
  482. <name>mapreduce.reduce.shuffle.memory.limit.percent</name>
  483. <value>0.25</value>
  484. <description>Expert: Maximum percentage of the in-memory limit that a
  485. single shuffle can consume</description>
  486. </property>
  487. <property>
  488. <name>mapreduce.shuffle.ssl.enabled</name>
  489. <value>false</value>
  490. <description>
  491. Whether to use SSL for for the Shuffle HTTP endpoints.
  492. </description>
  493. </property>
  494. <property>
  495. <name>mapreduce.shuffle.ssl.file.buffer.size</name>
  496. <value>65536</value>
  497. <description>Buffer size for reading spills from file when using SSL.
  498. </description>
  499. </property>
  500. <property>
  501. <name>mapreduce.shuffle.max.connections</name>
  502. <value>0</value>
  503. <description>Max allowed connections for the shuffle. Set to 0 (zero)
  504. to indicate no limit on the number of connections.
  505. </description>
  506. </property>
  507. <property>
  508. <name>mapreduce.shuffle.max.threads</name>
  509. <value>0</value>
  510. <description>Max allowed threads for serving shuffle connections. Set to zero
  511. to indicate the default of 2 times the number of available
  512. processors (as reported by Runtime.availableProcessors()). Netty is used to
  513. serve requests, so a thread is not needed for each connection.
  514. </description>
  515. </property>
  516. <property>
  517. <name>mapreduce.reduce.markreset.buffer.percent</name>
  518. <value>0.0</value>
  519. <description>The percentage of memory -relative to the maximum heap size- to
  520. be used for caching values when using the mark-reset functionality.
  521. </description>
  522. </property>
  523. <property>
  524. <name>mapreduce.map.speculative</name>
  525. <value>true</value>
  526. <description>If true, then multiple instances of some map tasks
  527. may be executed in parallel.</description>
  528. </property>
  529. <property>
  530. <name>mapreduce.reduce.speculative</name>
  531. <value>true</value>
  532. <description>If true, then multiple instances of some reduce tasks
  533. may be executed in parallel.</description>
  534. </property>
  535. <property>
  536. <name>mapreduce.job.speculative.speculativecap</name>
  537. <value>0.1</value>
  538. <description>The max percent (0-1) of running tasks that
  539. can be speculatively re-executed at any time.</description>
  540. </property>
  541. <property>
  542. <name>mapreduce.job.map.output.collector.class</name>
  543. <value>org.apache.hadoop.mapred.MapTask$MapOutputBuffer</value>
  544. <description>
  545. It defines the MapOutputCollector implementation to use.
  546. </description>
  547. </property>
  548. <property>
  549. <name>mapreduce.job.speculative.slowtaskthreshold</name>
  550. <value>1.0</value>The number of standard deviations by which a task's
  551. ave progress-rates must be lower than the average of all running tasks'
  552. for the task to be considered too slow.
  553. <description>
  554. </description>
  555. </property>
  556. <property>
  557. <name>mapreduce.job.speculative.slownodethreshold</name>
  558. <value>1.0</value>
  559. <description>The number of standard deviations by which a Task
  560. Tracker's ave map and reduce progress-rates (finishTime-dispatchTime)
  561. must be lower than the average of all successful map/reduce task's for
  562. the TT to be considered too slow to give a speculative task to.
  563. </description>
  564. </property>
  565. <property>
  566. <name>mapreduce.job.jvm.numtasks</name>
  567. <value>1</value>
  568. <description>How many tasks to run per jvm. If set to -1, there is
  569. no limit.
  570. </description>
  571. </property>
  572. <property>
  573. <name>mapreduce.job.ubertask.enable</name>
  574. <value>false</value>
  575. <description>Whether to enable the small-jobs "ubertask" optimization,
  576. which runs "sufficiently small" jobs sequentially within a single JVM.
  577. "Small" is defined by the following maxmaps, maxreduces, and maxbytes
  578. settings. Users may override this value.
  579. </description>
  580. </property>
  581. <property>
  582. <name>mapreduce.job.ubertask.maxmaps</name>
  583. <value>9</value>
  584. <description>Threshold for number of maps, beyond which job is considered
  585. too big for the ubertasking optimization. Users may override this value,
  586. but only downward.
  587. </description>
  588. </property>
  589. <property>
  590. <name>mapreduce.job.ubertask.maxreduces</name>
  591. <value>1</value>
  592. <description>Threshold for number of reduces, beyond which job is considered
  593. too big for the ubertasking optimization. CURRENTLY THE CODE CANNOT SUPPORT
  594. MORE THAN ONE REDUCE and will ignore larger values. (Zero is a valid max,
  595. however.) Users may override this value, but only downward.
  596. </description>
  597. </property>
  598. <property>
  599. <name>mapreduce.job.ubertask.maxbytes</name>
  600. <value></value>
  601. <description>Threshold for number of input bytes, beyond which job is
  602. considered too big for the ubertasking optimization. If no value is
  603. specified, dfs.block.size is used as a default. Be sure to specify a
  604. default value in mapred-site.xml if the underlying filesystem is not HDFS.
  605. Users may override this value, but only downward.
  606. </description>
  607. </property>
  608. <property>
  609. <name>mapreduce.input.fileinputformat.split.minsize</name>
  610. <value>0</value>
  611. <description>The minimum size chunk that map input should be split
  612. into. Note that some file formats may have minimum split sizes that
  613. take priority over this setting.</description>
  614. </property>
  615. <property>
  616. <name>mapreduce.jobtracker.maxtasks.perjob</name>
  617. <value>-1</value>
  618. <description>The maximum number of tasks for a single job.
  619. A value of -1 indicates that there is no maximum. </description>
  620. </property>
  621. <property>
  622. <name>mapreduce.client.submit.file.replication</name>
  623. <value>10</value>
  624. <description>The replication level for submitted job files. This
  625. should be around the square root of the number of nodes.
  626. </description>
  627. </property>
  628. <property>
  629. <name>mapreduce.tasktracker.dns.interface</name>
  630. <value>default</value>
  631. <description>The name of the Network Interface from which a task
  632. tracker should report its IP address.
  633. </description>
  634. </property>
  635. <property>
  636. <name>mapreduce.tasktracker.dns.nameserver</name>
  637. <value>default</value>
  638. <description>The host name or IP address of the name server (DNS)
  639. which a TaskTracker should use to determine the host name used by
  640. the JobTracker for communication and display purposes.
  641. </description>
  642. </property>
  643. <property>
  644. <name>mapreduce.tasktracker.http.threads</name>
  645. <value>40</value>
  646. <description>The number of worker threads that for the http server. This is
  647. used for map output fetching
  648. </description>
  649. </property>
  650. <property>
  651. <name>mapreduce.tasktracker.http.address</name>
  652. <value>0.0.0.0:50060</value>
  653. <description>
  654. The task tracker http server address and port.
  655. If the port is 0 then the server will start on a free port.
  656. </description>
  657. </property>
  658. <property>
  659. <name>mapreduce.task.files.preserve.failedtasks</name>
  660. <value>false</value>
  661. <description>Should the files for failed tasks be kept. This should only be
  662. used on jobs that are failing, because the storage is never
  663. reclaimed. It also prevents the map outputs from being erased
  664. from the reduce directory as they are consumed.</description>
  665. </property>
  666. <!--
  667. <property>
  668. <name>mapreduce.task.files.preserve.filepattern</name>
  669. <value>.*_m_123456_0</value>
  670. <description>Keep all files from tasks whose task names match the given
  671. regular expression. Defaults to none.</description>
  672. </property>
  673. -->
  674. <property>
  675. <name>mapreduce.output.fileoutputformat.compress</name>
  676. <value>false</value>
  677. <description>Should the job outputs be compressed?
  678. </description>
  679. </property>
  680. <property>
  681. <name>mapreduce.output.fileoutputformat.compress.type</name>
  682. <value>RECORD</value>
  683. <description>If the job outputs are to compressed as SequenceFiles, how should
  684. they be compressed? Should be one of NONE, RECORD or BLOCK.
  685. </description>
  686. </property>
  687. <property>
  688. <name>mapreduce.output.fileoutputformat.compress.codec</name>
  689. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  690. <description>If the job outputs are compressed, how should they be compressed?
  691. </description>
  692. </property>
  693. <property>
  694. <name>mapreduce.map.output.compress</name>
  695. <value>false</value>
  696. <description>Should the outputs of the maps be compressed before being
  697. sent across the network. Uses SequenceFile compression.
  698. </description>
  699. </property>
  700. <property>
  701. <name>mapreduce.map.output.compress.codec</name>
  702. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  703. <description>If the map outputs are compressed, how should they be
  704. compressed?
  705. </description>
  706. </property>
  707. <property>
  708. <name>map.sort.class</name>
  709. <value>org.apache.hadoop.util.QuickSort</value>
  710. <description>The default sort class for sorting keys.
  711. </description>
  712. </property>
  713. <property>
  714. <name>mapreduce.task.userlog.limit.kb</name>
  715. <value>0</value>
  716. <description>The maximum size of user-logs of each task in KB. 0 disables the cap.
  717. </description>
  718. </property>
  719. <property>
  720. <name>mapreduce.job.userlog.retain.hours</name>
  721. <value>24</value>
  722. <description>The maximum time, in hours, for which the user-logs are to be
  723. retained after the job completion.
  724. </description>
  725. </property>
  726. <property>
  727. <name>mapreduce.jobtracker.hosts.filename</name>
  728. <value></value>
  729. <description>Names a file that contains the list of nodes that may
  730. connect to the jobtracker. If the value is empty, all hosts are
  731. permitted.</description>
  732. </property>
  733. <property>
  734. <name>mapreduce.jobtracker.hosts.exclude.filename</name>
  735. <value></value>
  736. <description>Names a file that contains the list of hosts that
  737. should be excluded by the jobtracker. If the value is empty, no
  738. hosts are excluded.</description>
  739. </property>
  740. <property>
  741. <name>mapreduce.jobtracker.heartbeats.in.second</name>
  742. <value>100</value>
  743. <description>Expert: Approximate number of heart-beats that could arrive
  744. at JobTracker in a second. Assuming each RPC can be processed
  745. in 10msec, the default value is made 100 RPCs in a second.
  746. </description>
  747. </property>
  748. <property>
  749. <name>mapreduce.jobtracker.tasktracker.maxblacklists</name>
  750. <value>4</value>
  751. <description>The number of blacklists for a taskTracker by various jobs
  752. after which the task tracker could be blacklisted across
  753. all jobs. The tracker will be given a tasks later
  754. (after a day). The tracker will become a healthy
  755. tracker after a restart.
  756. </description>
  757. </property>
  758. <property>
  759. <name>mapreduce.job.maxtaskfailures.per.tracker</name>
  760. <value>3</value>
  761. <description>The number of task-failures on a tasktracker of a given job
  762. after which new tasks of that job aren't assigned to it. It
  763. MUST be less than mapreduce.map.maxattempts and
  764. mapreduce.reduce.maxattempts otherwise the failed task will
  765. never be tried on a different node.
  766. </description>
  767. </property>
  768. <property>
  769. <name>mapreduce.client.output.filter</name>
  770. <value>FAILED</value>
  771. <description>The filter for controlling the output of the task's userlogs sent
  772. to the console of the JobClient.
  773. The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
  774. ALL.
  775. </description>
  776. </property>
  777. <property>
  778. <name>mapreduce.client.completion.pollinterval</name>
  779. <value>5000</value>
  780. <description>The interval (in milliseconds) between which the JobClient
  781. polls the JobTracker for updates about job status. You may want to set this
  782. to a lower value to make tests run faster on a single node system. Adjusting
  783. this value in production may lead to unwanted client-server traffic.
  784. </description>
  785. </property>
  786. <property>
  787. <name>mapreduce.client.progressmonitor.pollinterval</name>
  788. <value>1000</value>
  789. <description>The interval (in milliseconds) between which the JobClient
  790. reports status to the console and checks for job completion. You may want to set this
  791. to a lower value to make tests run faster on a single node system. Adjusting
  792. this value in production may lead to unwanted client-server traffic.
  793. </description>
  794. </property>
  795. <property>
  796. <name>mapreduce.jobtracker.persist.jobstatus.active</name>
  797. <value>true</value>
  798. <description>Indicates if persistency of job status information is
  799. active or not.
  800. </description>
  801. </property>
  802. <property>
  803. <name>mapreduce.jobtracker.persist.jobstatus.hours</name>
  804. <value>1</value>
  805. <description>The number of hours job status information is persisted in DFS.
  806. The job status information will be available after it drops of the memory
  807. queue and between jobtracker restarts. With a zero value the job status
  808. information is not persisted at all in DFS.
  809. </description>
  810. </property>
  811. <property>
  812. <name>mapreduce.jobtracker.persist.jobstatus.dir</name>
  813. <value>/jobtracker/jobsInfo</value>
  814. <description>The directory where the job status information is persisted
  815. in a file system to be available after it drops of the memory queue and
  816. between jobtracker restarts.
  817. </description>
  818. </property>
  819. <property>
  820. <name>mapreduce.task.profile</name>
  821. <value>false</value>
  822. <description>To set whether the system should collect profiler
  823. information for some of the tasks in this job? The information is stored
  824. in the user log directory. The value is "true" if task profiling
  825. is enabled.</description>
  826. </property>
  827. <property>
  828. <name>mapreduce.task.profile.maps</name>
  829. <value>0-2</value>
  830. <description> To set the ranges of map tasks to profile.
  831. mapreduce.task.profile has to be set to true for the value to be accounted.
  832. </description>
  833. </property>
  834. <property>
  835. <name>mapreduce.task.profile.reduces</name>
  836. <value>0-2</value>
  837. <description> To set the ranges of reduce tasks to profile.
  838. mapreduce.task.profile has to be set to true for the value to be accounted.
  839. </description>
  840. </property>
  841. <property>
  842. <name>mapreduce.task.skip.start.attempts</name>
  843. <value>2</value>
  844. <description> The number of Task attempts AFTER which skip mode
  845. will be kicked off. When skip mode is kicked off, the
  846. tasks reports the range of records which it will process
  847. next, to the TaskTracker. So that on failures, TT knows which
  848. ones are possibly the bad records. On further executions,
  849. those are skipped.
  850. </description>
  851. </property>
  852. <property>
  853. <name>mapreduce.map.skip.proc.count.autoincr</name>
  854. <value>true</value>
  855. <description> The flag which if set to true,
  856. SkipBadRecords.COUNTER_MAP_PROCESSED_RECORDS is incremented
  857. by MapRunner after invoking the map function. This value must be set to
  858. false for applications which process the records asynchronously
  859. or buffer the input records. For example streaming.
  860. In such cases applications should increment this counter on their own.
  861. </description>
  862. </property>
  863. <property>
  864. <name>mapreduce.reduce.skip.proc.count.autoincr</name>
  865. <value>true</value>
  866. <description> The flag which if set to true,
  867. SkipBadRecords.COUNTER_REDUCE_PROCESSED_GROUPS is incremented
  868. by framework after invoking the reduce function. This value must be set to
  869. false for applications which process the records asynchronously
  870. or buffer the input records. For example streaming.
  871. In such cases applications should increment this counter on their own.
  872. </description>
  873. </property>
  874. <property>
  875. <name>mapreduce.job.skip.outdir</name>
  876. <value></value>
  877. <description> If no value is specified here, the skipped records are
  878. written to the output directory at _logs/skip.
  879. User can stop writing skipped records by giving the value "none".
  880. </description>
  881. </property>
  882. <property>
  883. <name>mapreduce.map.skip.maxrecords</name>
  884. <value>0</value>
  885. <description> The number of acceptable skip records surrounding the bad
  886. record PER bad record in mapper. The number includes the bad record as well.
  887. To turn the feature of detection/skipping of bad records off, set the
  888. value to 0.
  889. The framework tries to narrow down the skipped range by retrying
  890. until this threshold is met OR all attempts get exhausted for this task.
  891. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  892. narrow down. Whatever records(depends on application) get skipped are
  893. acceptable.
  894. </description>
  895. </property>
  896. <property>
  897. <name>mapreduce.reduce.skip.maxgroups</name>
  898. <value>0</value>
  899. <description> The number of acceptable skip groups surrounding the bad
  900. group PER bad group in reducer. The number includes the bad group as well.
  901. To turn the feature of detection/skipping of bad groups off, set the
  902. value to 0.
  903. The framework tries to narrow down the skipped range by retrying
  904. until this threshold is met OR all attempts get exhausted for this task.
  905. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  906. narrow down. Whatever groups(depends on application) get skipped are
  907. acceptable.
  908. </description>
  909. </property>
  910. <property>
  911. <name>mapreduce.ifile.readahead</name>
  912. <value>true</value>
  913. <description>Configuration key to enable/disable IFile readahead.
  914. </description>
  915. </property>
  916. <property>
  917. <name>mapreduce.ifile.readahead.bytes</name>
  918. <value>4194304</value>
  919. <description>Configuration key to set the IFile readahead length in bytes.
  920. </description>
  921. </property>
  922. <!-- Proxy Configuration -->
  923. <property>
  924. <name>mapreduce.jobtracker.taskcache.levels</name>
  925. <value>2</value>
  926. <description> This is the max level of the task cache. For example, if
  927. the level is 2, the tasks cached are at the host level and at the rack
  928. level.
  929. </description>
  930. </property>
  931. <property>
  932. <name>mapreduce.job.queuename</name>
  933. <value>default</value>
  934. <description> Queue to which a job is submitted. This must match one of the
  935. queues defined in mapred-queues.xml for the system. Also, the ACL setup
  936. for the queue must allow the current user to submit a job to the queue.
  937. Before specifying a queue, ensure that the system is configured with
  938. the queue, and access is allowed for submitting jobs to the queue.
  939. </description>
  940. </property>
  941. <property>
  942. <name>mapreduce.cluster.acls.enabled</name>
  943. <value>false</value>
  944. <description> Specifies whether ACLs should be checked
  945. for authorization of users for doing various queue and job level operations.
  946. ACLs are disabled by default. If enabled, access control checks are made by
  947. JobTracker and TaskTracker when requests are made by users for queue
  948. operations like submit job to a queue and kill a job in the queue and job
  949. operations like viewing the job-details (See mapreduce.job.acl-view-job)
  950. or for modifying the job (See mapreduce.job.acl-modify-job) using
  951. Map/Reduce APIs, RPCs or via the console and web user interfaces.
  952. For enabling this flag(mapreduce.cluster.acls.enabled), this is to be set
  953. to true in mapred-site.xml on JobTracker node and on all TaskTracker nodes.
  954. </description>
  955. </property>
  956. <property>
  957. <name>mapreduce.job.acl-modify-job</name>
  958. <value> </value>
  959. <description> Job specific access-control list for 'modifying' the job. It
  960. is only used if authorization is enabled in Map/Reduce by setting the
  961. configuration property mapreduce.cluster.acls.enabled to true.
  962. This specifies the list of users and/or groups who can do modification
  963. operations on the job. For specifying a list of users and groups the
  964. format to use is "user1,user2 group1,group". If set to '*', it allows all
  965. users/groups to modify this job. If set to ' '(i.e. space), it allows
  966. none. This configuration is used to guard all the modifications with respect
  967. to this job and takes care of all the following operations:
  968. o killing this job
  969. o killing a task of this job, failing a task of this job
  970. o setting the priority of this job
  971. Each of these operations are also protected by the per-queue level ACL
  972. "acl-administer-jobs" configured via mapred-queues.xml. So a caller should
  973. have the authorization to satisfy either the queue-level ACL or the
  974. job-level ACL.
  975. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  976. started the cluster, (c) members of an admin configured supergroup
  977. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  978. administrators of the queue to which this job was submitted to configured
  979. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  980. do all the modification operations on a job.
  981. By default, nobody else besides job-owner, the user who started the cluster,
  982. members of supergroup and queue administrators can perform modification
  983. operations on a job.
  984. </description>
  985. </property>
  986. <property>
  987. <name>mapreduce.job.acl-view-job</name>
  988. <value> </value>
  989. <description> Job specific access-control list for 'viewing' the job. It is
  990. only used if authorization is enabled in Map/Reduce by setting the
  991. configuration property mapreduce.cluster.acls.enabled to true.
  992. This specifies the list of users and/or groups who can view private details
  993. about the job. For specifying a list of users and groups the
  994. format to use is "user1,user2 group1,group". If set to '*', it allows all
  995. users/groups to modify this job. If set to ' '(i.e. space), it allows
  996. none. This configuration is used to guard some of the job-views and at
  997. present only protects APIs that can return possibly sensitive information
  998. of the job-owner like
  999. o job-level counters
  1000. o task-level counters
  1001. o tasks' diagnostic information
  1002. o task-logs displayed on the TaskTracker web-UI and
  1003. o job.xml showed by the JobTracker's web-UI
  1004. Every other piece of information of jobs is still accessible by any other
  1005. user, for e.g., JobStatus, JobProfile, list of jobs in the queue, etc.
  1006. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  1007. started the cluster, (c) members of an admin configured supergroup
  1008. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  1009. administrators of the queue to which this job was submitted to configured
  1010. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  1011. do all the view operations on a job.
  1012. By default, nobody else besides job-owner, the user who started the
  1013. cluster, memebers of supergroup and queue administrators can perform
  1014. view operations on a job.
  1015. </description>
  1016. </property>
  1017. <property>
  1018. <name>mapreduce.tasktracker.indexcache.mb</name>
  1019. <value>10</value>
  1020. <description> The maximum memory that a task tracker allows for the
  1021. index cache that is used when serving map outputs to reducers.
  1022. </description>
  1023. </property>
  1024. <property>
  1025. <name>mapreduce.job.token.tracking.ids.enabled</name>
  1026. <value>false</value>
  1027. <description>Whether to write tracking ids of tokens to
  1028. job-conf. When true, the configuration property
  1029. "mapreduce.job.token.tracking.ids" is set to the token-tracking-ids of
  1030. the job</description>
  1031. </property>
  1032. <property>
  1033. <name>mapreduce.job.token.tracking.ids</name>
  1034. <value></value>
  1035. <description>When mapreduce.job.token.tracking.ids.enabled is
  1036. set to true, this is set by the framework to the
  1037. token-tracking-ids used by the job.</description>
  1038. </property>
  1039. <property>
  1040. <name>mapreduce.task.merge.progress.records</name>
  1041. <value>10000</value>
  1042. <description> The number of records to process during merge before
  1043. sending a progress notification to the TaskTracker.
  1044. </description>
  1045. </property>
  1046. <property>
  1047. <name>mapreduce.job.reduce.slowstart.completedmaps</name>
  1048. <value>0.05</value>
  1049. <description>Fraction of the number of maps in the job which should be
  1050. complete before reduces are scheduled for the job.
  1051. </description>
  1052. </property>
  1053. <property>
  1054. <name>mapreduce.job.complete.cancel.delegation.tokens</name>
  1055. <value>true</value>
  1056. <description> if false - do not unregister/cancel delegation tokens from
  1057. renewal, because same tokens may be used by spawned jobs
  1058. </description>
  1059. </property>
  1060. <property>
  1061. <name>mapreduce.tasktracker.taskcontroller</name>
  1062. <value>org.apache.hadoop.mapred.DefaultTaskController</value>
  1063. <description>TaskController which is used to launch and manage task execution
  1064. </description>
  1065. </property>
  1066. <property>
  1067. <name>mapreduce.tasktracker.group</name>
  1068. <value></value>
  1069. <description>Expert: Group to which TaskTracker belongs. If
  1070. LinuxTaskController is configured via mapreduce.tasktracker.taskcontroller,
  1071. the group owner of the task-controller binary should be same as this group.
  1072. </description>
  1073. </property>
  1074. <property>
  1075. <name>mapreduce.shuffle.port</name>
  1076. <value>13562</value>
  1077. <description>Default port that the ShuffleHandler will run on. ShuffleHandler
  1078. is a service run at the NodeManager to facilitate transfers of intermediate
  1079. Map outputs to requesting Reducers.
  1080. </description>
  1081. </property>
  1082. <property>
  1083. <name>mapreduce.job.reduce.shuffle.consumer.plugin.class</name>
  1084. <value>org.apache.hadoop.mapreduce.task.reduce.Shuffle</value>
  1085. <description>
  1086. Name of the class whose instance will be used
  1087. to send shuffle requests by reducetasks of this job.
  1088. The class must be an instance of org.apache.hadoop.mapred.ShuffleConsumerPlugin.
  1089. </description>
  1090. </property>
  1091. <!-- Node health script variables -->
  1092. <property>
  1093. <name>mapreduce.tasktracker.healthchecker.script.path</name>
  1094. <value></value>
  1095. <description>Absolute path to the script which is
  1096. periodicallyrun by the node health monitoring service to determine if
  1097. the node is healthy or not. If the value of this key is empty or the
  1098. file does not exist in the location configured here, the node health
  1099. monitoring service is not started.</description>
  1100. </property>
  1101. <property>
  1102. <name>mapreduce.tasktracker.healthchecker.interval</name>
  1103. <value>60000</value>
  1104. <description>Frequency of the node health script to be run,
  1105. in milliseconds</description>
  1106. </property>
  1107. <property>
  1108. <name>mapreduce.tasktracker.healthchecker.script.timeout</name>
  1109. <value>600000</value>
  1110. <description>Time after node health script should be killed if
  1111. unresponsive and considered that the script has failed.</description>
  1112. </property>
  1113. <property>
  1114. <name>mapreduce.tasktracker.healthchecker.script.args</name>
  1115. <value></value>
  1116. <description>List of arguments which are to be passed to
  1117. node health script when it is being launched comma seperated.
  1118. </description>
  1119. </property>
  1120. <!-- end of node health script variables -->
  1121. <!-- MR YARN Application properties -->
  1122. <property>
  1123. <name>mapreduce.job.counters.limit</name>
  1124. <value>120</value>
  1125. <description>Limit on the number of user counters allowed per job.
  1126. </description>
  1127. </property>
  1128. <property>
  1129. <name>mapreduce.framework.name</name>
  1130. <value>local</value>
  1131. <description>The runtime framework for executing MapReduce jobs.
  1132. Can be one of local, classic or yarn.
  1133. </description>
  1134. </property>
  1135. <property>
  1136. <name>yarn.app.mapreduce.am.staging-dir</name>
  1137. <value>/tmp/hadoop-yarn/staging</value>
  1138. <description>The staging dir used while submitting jobs.
  1139. </description>
  1140. </property>
  1141. <property>
  1142. <name>mapreduce.am.max-attempts</name>
  1143. <value>2</value>
  1144. <description>The maximum number of application attempts. It is a
  1145. application-specific setting. It should not be larger than the global number
  1146. set by resourcemanager. Otherwise, it will be override. The default number is
  1147. set to 2, to allow at least one retry for AM.</description>
  1148. </property>
  1149. <!-- Job Notification Configuration -->
  1150. <property>
  1151. <name>mapreduce.job.end-notification.url</name>
  1152. <!--<value>http://localhost:8080/jobstatus.php?jobId=$jobId&amp;jobStatus=$jobStatus</value>-->
  1153. <description>Indicates url which will be called on completion of job to inform
  1154. end status of job.
  1155. User can give at most 2 variables with URI : $jobId and $jobStatus.
  1156. If they are present in URI, then they will be replaced by their
  1157. respective values.
  1158. </description>
  1159. </property>
  1160. <property>
  1161. <name>mapreduce.job.end-notification.retry.attempts</name>
  1162. <value>0</value>
  1163. <description>The number of times the submitter of the job wants to retry job
  1164. end notification if it fails. This is capped by
  1165. mapreduce.job.end-notification.max.attempts</description>
  1166. </property>
  1167. <property>
  1168. <name>mapreduce.job.end-notification.retry.interval</name>
  1169. <value>1000</value>
  1170. <description>The number of milliseconds the submitter of the job wants to
  1171. wait before job end notification is retried if it fails. This is capped by
  1172. mapreduce.job.end-notification.max.retry.interval</description>
  1173. </property>
  1174. <property>
  1175. <name>mapreduce.job.end-notification.max.attempts</name>
  1176. <value>5</value>
  1177. <final>true</final>
  1178. <description>The maximum number of times a URL will be read for providing job
  1179. end notification. Cluster administrators can set this to limit how long
  1180. after end of a job, the Application Master waits before exiting. Must be
  1181. marked as final to prevent users from overriding this.
  1182. </description>
  1183. </property>
  1184. <property>
  1185. <name>mapreduce.job.end-notification.max.retry.interval</name>
  1186. <value>5000</value>
  1187. <final>true</final>
  1188. <description>The maximum amount of time (in milliseconds) to wait before
  1189. retrying job end notification. Cluster administrators can set this to
  1190. limit how long the Application Master waits before exiting. Must be marked
  1191. as final to prevent users from overriding this.</description>
  1192. </property>
  1193. <property>
  1194. <name>yarn.app.mapreduce.am.env</name>
  1195. <value></value>
  1196. <description>User added environment variables for the MR App Master
  1197. processes. Example :
  1198. 1) A=foo This will set the env variable A to foo
  1199. 2) B=$B:c This is inherit tasktracker's B env variable.
  1200. </description>
  1201. </property>
  1202. <property>
  1203. <name>yarn.app.mapreduce.am.admin.user.env</name>
  1204. <value></value>
  1205. <description> Environment variables for the MR App Master
  1206. processes for admin purposes. These values are set first and can be
  1207. overridden by the user env (yarn.app.mapreduce.am.env) Example :
  1208. 1) A=foo This will set the env variable A to foo
  1209. 2) B=$B:c This is inherit app master's B env variable.
  1210. </description>
  1211. </property>
  1212. <property>
  1213. <name>yarn.app.mapreduce.am.command-opts</name>
  1214. <value>-Xmx1024m</value>
  1215. <description>Java opts for the MR App Master processes.
  1216. The following symbol, if present, will be interpolated: @taskid@ is replaced
  1217. by current TaskID. Any other occurrences of '@' will go unchanged.
  1218. For example, to enable verbose gc logging to a file named for the taskid in
  1219. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  1220. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  1221. Usage of -Djava.library.path can cause programs to no longer function if
  1222. hadoop native libraries are used. These values should instead be set as part
  1223. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  1224. mapreduce.reduce.env config settings.
  1225. </description>
  1226. </property>
  1227. <property>
  1228. <name>yarn.app.mapreduce.am.admin-command-opts</name>
  1229. <value></value>
  1230. <description>Java opts for the MR App Master processes for admin purposes.
  1231. It will appears before the opts set by yarn.app.mapreduce.am.command-opts and
  1232. thus its options can be overridden user.
  1233. Usage of -Djava.library.path can cause programs to no longer function if
  1234. hadoop native libraries are used. These values should instead be set as part
  1235. of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
  1236. mapreduce.reduce.env config settings.
  1237. </description>
  1238. </property>
  1239. <property>
  1240. <name>yarn.app.mapreduce.am.job.task.listener.thread-count</name>
  1241. <value>30</value>
  1242. <description>The number of threads used to handle RPC calls in the
  1243. MR AppMaster from remote tasks</description>
  1244. </property>
  1245. <property>
  1246. <name>yarn.app.mapreduce.am.job.client.port-range</name>
  1247. <value></value>
  1248. <description>Range of ports that the MapReduce AM can use when binding.
  1249. Leave blank if you want all possible ports.
  1250. For example 50000-50050,50100-50200</description>
  1251. </property>
  1252. <property>
  1253. <name>yarn.app.mapreduce.am.job.committer.cancel-timeout</name>
  1254. <value>60000</value>
  1255. <description>The amount of time in milliseconds to wait for the output
  1256. committer to cancel an operation if the job is killed</description>
  1257. </property>
  1258. <property>
  1259. <name>yarn.app.mapreduce.am.job.committer.commit-window</name>
  1260. <value>10000</value>
  1261. <description>Defines a time window in milliseconds for output commit
  1262. operations. If contact with the RM has occurred within this window then
  1263. commits are allowed, otherwise the AM will not allow output commits until
  1264. contact with the RM has been re-established.</description>
  1265. </property>
  1266. <property>
  1267. <name>yarn.app.mapreduce.am.scheduler.heartbeat.interval-ms</name>
  1268. <value>1000</value>
  1269. <description>The interval in ms at which the MR AppMaster should send
  1270. heartbeats to the ResourceManager</description>
  1271. </property>
  1272. <property>
  1273. <name>yarn.app.mapreduce.client-am.ipc.max-retries</name>
  1274. <value>3</value>
  1275. <description>The number of client retries to the AM - before reconnecting
  1276. to the RM to fetch Application Status.</description>
  1277. </property>
  1278. <property>
  1279. <name>yarn.app.mapreduce.client.max-retries</name>
  1280. <value>3</value>
  1281. <description>The number of client retries to the RM/HS before
  1282. throwing exception. This is a layer above the ipc.</description>
  1283. </property>
  1284. <property>
  1285. <name>yarn.app.mapreduce.am.resource.mb</name>
  1286. <value>1536</value>
  1287. <description>The amount of memory the MR AppMaster needs.</description>
  1288. </property>
  1289. <property>
  1290. <name>yarn.app.mapreduce.am.resource.cpu-vcores</name>
  1291. <value>1</value>
  1292. <description>
  1293. The number of virtual CPU cores the MR AppMaster needs.
  1294. </description>
  1295. </property>
  1296. <property>
  1297. <description>CLASSPATH for MR applications. A comma-separated list
  1298. of CLASSPATH entries. If mapreduce.application.framework is set then this
  1299. must specify the appropriate classpath for that archive, and the name of
  1300. the archive must be present in the classpath.
  1301. When this value is empty, the following default CLASSPATH for MR
  1302. applications would be used.
  1303. For Linux:
  1304. $HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*,
  1305. $HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*.
  1306. For Windows:
  1307. %HADOOP_MAPRED_HOME%/share/hadoop/mapreduce/*,
  1308. %HADOOP_MAPRED_HOME%/share/hadoop/mapreduce/lib/*.
  1309. </description>
  1310. <name>mapreduce.application.classpath</name>
  1311. <value></value>
  1312. </property>
  1313. <property>
  1314. <description>Path to the MapReduce framework archive. If set, the framework
  1315. archive will automatically be distributed along with the job, and this
  1316. path would normally reside in a public location in an HDFS filesystem. As
  1317. with distributed cache files, this can be a URL with a fragment specifying
  1318. the alias to use for the archive name. For example,
  1319. hdfs:/mapred/framework/hadoop-mapreduce-2.1.1.tar.gz#mrframework would
  1320. alias the localized archive as "mrframework".
  1321. Note that mapreduce.application.classpath must include the appropriate
  1322. classpath for the specified framework. The base name of the archive, or
  1323. alias of the archive if an alias is used, must appear in the specified
  1324. classpath.
  1325. </description>
  1326. <name>mapreduce.application.framework.path</name>
  1327. <value></value>
  1328. </property>
  1329. <property>
  1330. <name>mapreduce.job.classloader</name>
  1331. <value>false</value>
  1332. <description>Whether to use a separate (isolated) classloader for
  1333. user classes in the task JVM.</description>
  1334. </property>
  1335. <property>
  1336. <name>mapreduce.job.classloader.system.classes</name>
  1337. <value>java.,javax.,org.apache.commons.logging.,org.apache.log4j.,org.apache.hadoop.</value>
  1338. <description>A comma-separated list of classes that should be loaded from the
  1339. system classpath, not the user-supplied JARs, when mapreduce.job.classloader
  1340. is enabled. Names ending in '.' (period) are treated as package names,
  1341. and names starting with a '-' are treated as negative matches.
  1342. </description>
  1343. </property>
  1344. <!-- jobhistory properties -->
  1345. <property>
  1346. <name>mapreduce.jobhistory.address</name>
  1347. <value>0.0.0.0:10020</value>
  1348. <description>MapReduce JobHistory Server IPC host:port</description>
  1349. </property>
  1350. <property>
  1351. <name>mapreduce.jobhistory.webapp.address</name>
  1352. <value>0.0.0.0:19888</value>
  1353. <description>MapReduce JobHistory Server Web UI host:port</description>
  1354. </property>
  1355. <property>
  1356. <name>mapreduce.jobhistory.keytab</name>
  1357. <description>
  1358. Location of the kerberos keytab file for the MapReduce
  1359. JobHistory Server.
  1360. </description>
  1361. <value>/etc/security/keytab/jhs.service.keytab</value>
  1362. </property>
  1363. <property>
  1364. <name>mapreduce.jobhistory.principal</name>
  1365. <description>
  1366. Kerberos principal name for the MapReduce JobHistory Server.
  1367. </description>
  1368. <value>jhs/_HOST@REALM.TLD</value>
  1369. </property>
  1370. <property>
  1371. <name>mapreduce.jobhistory.intermediate-done-dir</name>
  1372. <value>${yarn.app.mapreduce.am.staging-dir}/history/done_intermediate</value>
  1373. <description></description>
  1374. </property>
  1375. <property>
  1376. <name>mapreduce.jobhistory.done-dir</name>
  1377. <value>${yarn.app.mapreduce.am.staging-dir}/history/done</value>
  1378. <description></description>
  1379. </property>
  1380. <property>
  1381. <name>mapreduce.jobhistory.cleaner.enable</name>
  1382. <value>true</value>
  1383. <description></description>
  1384. </property>
  1385. <property>
  1386. <name>mapreduce.jobhistory.cleaner.interval-ms</name>
  1387. <value>86400000</value>
  1388. <description> How often the job history cleaner checks for files to delete,
  1389. in milliseconds. Defaults to 86400000 (one day). Files are only deleted if
  1390. they are older than mapreduce.jobhistory.max-age-ms.
  1391. </description>
  1392. </property>
  1393. <property>
  1394. <name>mapreduce.jobhistory.max-age-ms</name>
  1395. <value>604800000</value>
  1396. <description> Job history files older than this many milliseconds will
  1397. be deleted when the history cleaner runs. Defaults to 604800000 (1 week).
  1398. </description>
  1399. </property>
  1400. <property>
  1401. <name>mapreduce.jobhistory.client.thread-count</name>
  1402. <value>10</value>
  1403. <description>The number of threads to handle client API requests</description>
  1404. </property>
  1405. <property>
  1406. <name>mapreduce.jobhistory.datestring.cache.size</name>
  1407. <value>200000</value>
  1408. <description>Size of the date string cache. Effects the number of directories
  1409. which will be scanned to find a job.</description>
  1410. </property>
  1411. <property>
  1412. <name>mapreduce.jobhistory.joblist.cache.size</name>
  1413. <value>20000</value>
  1414. <description>Size of the job list cache</description>
  1415. </property>
  1416. <property>
  1417. <name>mapreduce.jobhistory.loadedjobs.cache.size</name>
  1418. <value>5</value>
  1419. <description>Size of the loaded job cache</description>
  1420. </property>
  1421. <property>
  1422. <name>mapreduce.jobhistory.move.interval-ms</name>
  1423. <value>180000</value>
  1424. <description>Scan for history files to more from intermediate done dir to done
  1425. dir at this frequency.
  1426. </description>
  1427. </property>
  1428. <property>
  1429. <name>mapreduce.jobhistory.move.thread-count</name>
  1430. <value>3</value>
  1431. <description>The number of threads used to move files.</description>
  1432. </property>
  1433. <property>
  1434. <name>mapreduce.jobhistory.store.class</name>
  1435. <value></value>
  1436. <description>The HistoryStorage class to use to cache history data.</description>
  1437. </property>
  1438. <property>
  1439. <name>mapreduce.jobhistory.minicluster.fixed.ports</name>
  1440. <value>false</value>
  1441. <description>Whether to use fixed ports with the minicluster</description>
  1442. </property>
  1443. <property>
  1444. <name>mapreduce.jobhistory.admin.address</name>
  1445. <value>0.0.0.0:10033</value>
  1446. <description>The address of the History server admin interface.</description>
  1447. </property>
  1448. <property>
  1449. <name>mapreduce.jobhistory.admin.acl</name>
  1450. <value>*</value>
  1451. <description>ACL of who can be admin of the History server.</description>
  1452. </property>
  1453. <property>
  1454. <name>mapreduce.jobhistory.recovery.enable</name>
  1455. <value>false</value>
  1456. <description>Enable the history server to store server state and recover
  1457. server state upon startup. If enabled then
  1458. mapreduce.jobhistory.recovery.store.class must be specified.</description>
  1459. </property>
  1460. <property>
  1461. <name>mapreduce.jobhistory.recovery.store.class</name>
  1462. <value>org.apache.hadoop.mapreduce.v2.hs.HistoryServerFileSystemStateStoreService</value>
  1463. <description>The HistoryServerStateStoreService class to store history server
  1464. state for recovery.</description>
  1465. </property>
  1466. <property>
  1467. <name>mapreduce.jobhistory.recovery.store.fs.uri</name>
  1468. <value>${hadoop.tmp.dir}/mapred/history/recoverystore</value>
  1469. <!--value>hdfs://localhost:9000/mapred/history/recoverystore</value-->
  1470. <description>The URI where history server state will be stored if
  1471. HistoryServerFileSystemStateStoreService is configured as the recovery
  1472. storage class.</description>
  1473. </property>
  1474. <property>
  1475. <name>mapreduce.jobhistory.http.policy</name>
  1476. <value>HTTP_ONLY</value>
  1477. <description>
  1478. This configures the HTTP endpoint for JobHistoryServer web UI.
  1479. The following values are supported:
  1480. - HTTP_ONLY : Service is provided only on http
  1481. - HTTPS_ONLY : Service is provided only on https
  1482. </description>
  1483. </property>
  1484. </configuration>