mapred-default.xml 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258
  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.split.metainfo.maxsize</name>
  254. <value>10000000</value>
  255. <description>The maximum permissible size of the split metainfo file.
  256. The JobTracker won't attempt to read split metainfo files bigger than
  257. the configured value.
  258. No limits if set to -1.
  259. </description>
  260. </property>
  261. <property>
  262. <name>mapreduce.jobtracker.taskscheduler.maxrunningtasks.perjob</name>
  263. <value></value>
  264. <description>The maximum number of running tasks for a job before
  265. it gets preempted. No limits if undefined.
  266. </description>
  267. </property>
  268. <property>
  269. <name>mapreduce.map.maxattempts</name>
  270. <value>4</value>
  271. <description>Expert: The maximum number of attempts per map task.
  272. In other words, framework will try to execute a map task these many number
  273. of times before giving up on it.
  274. </description>
  275. </property>
  276. <property>
  277. <name>mapreduce.reduce.maxattempts</name>
  278. <value>4</value>
  279. <description>Expert: The maximum number of attempts per reduce task.
  280. In other words, framework will try to execute a reduce task these many number
  281. of times before giving up on it.
  282. </description>
  283. </property>
  284. <property>
  285. <name>mapreduce.reduce.shuffle.parallelcopies</name>
  286. <value>5</value>
  287. <description>The default number of parallel transfers run by reduce
  288. during the copy(shuffle) phase.
  289. </description>
  290. </property>
  291. <property>
  292. <name>mapreduce.reduce.shuffle.connect.timeout</name>
  293. <value>180000</value>
  294. <description>Expert: The maximum amount of time (in milli seconds) reduce
  295. task spends in trying to connect to a tasktracker for getting map output.
  296. </description>
  297. </property>
  298. <property>
  299. <name>mapreduce.reduce.shuffle.read.timeout</name>
  300. <value>180000</value>
  301. <description>Expert: The maximum amount of time (in milli seconds) reduce
  302. task waits for map output data to be available for reading after obtaining
  303. connection.
  304. </description>
  305. </property>
  306. <property>
  307. <name>mapreduce.task.timeout</name>
  308. <value>600000</value>
  309. <description>The number of milliseconds before a task will be
  310. terminated if it neither reads an input, writes an output, nor
  311. updates its status string.
  312. </description>
  313. </property>
  314. <property>
  315. <name>mapreduce.tasktracker.map.tasks.maximum</name>
  316. <value>2</value>
  317. <description>The maximum number of map tasks that will be run
  318. simultaneously by a task tracker.
  319. </description>
  320. </property>
  321. <property>
  322. <name>mapreduce.tasktracker.reduce.tasks.maximum</name>
  323. <value>2</value>
  324. <description>The maximum number of reduce tasks that will be run
  325. simultaneously by a task tracker.
  326. </description>
  327. </property>
  328. <property>
  329. <name>mapreduce.jobtracker.retiredjobs.cache.size</name>
  330. <value>1000</value>
  331. <description>The number of retired job status to keep in the cache.
  332. </description>
  333. </property>
  334. <property>
  335. <name>mapreduce.tasktracker.outofband.heartbeat</name>
  336. <value>false</value>
  337. <description>Expert: Set this to true to let the tasktracker send an
  338. out-of-band heartbeat on task-completion for better latency.
  339. </description>
  340. </property>
  341. <property>
  342. <name>mapreduce.jobtracker.jobhistory.lru.cache.size</name>
  343. <value>5</value>
  344. <description>The number of job history files loaded in memory. The jobs are
  345. loaded when they are first accessed. The cache is cleared based on LRU.
  346. </description>
  347. </property>
  348. <property>
  349. <name>mapreduce.jobtracker.instrumentation</name>
  350. <value>org.apache.hadoop.mapred.JobTrackerMetricsInst</value>
  351. <description>Expert: The instrumentation class to associate with each JobTracker.
  352. </description>
  353. </property>
  354. <property>
  355. <name>mapred.child.java.opts</name>
  356. <value>-Xmx200m</value>
  357. <description>Java opts for the task tracker child processes.
  358. The following symbol, if present, will be interpolated: @taskid@ is replaced
  359. by current TaskID. Any other occurrences of '@' will go unchanged.
  360. For example, to enable verbose gc logging to a file named for the taskid in
  361. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  362. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  363. The configuration variable mapred.child.ulimit can be used to control the
  364. maximum virtual memory of the child processes.
  365. </description>
  366. </property>
  367. <property>
  368. <name>mapred.child.env</name>
  369. <value></value>
  370. <description>User added environment variables for the task tracker child
  371. processes. Example :
  372. 1) A=foo This will set the env variable A to foo
  373. 2) B=$B:c This is inherit tasktracker's B env variable.
  374. </description>
  375. </property>
  376. <property>
  377. <name>mapred.child.ulimit</name>
  378. <value></value>
  379. <description>The maximum virtual memory, in KB, of a process launched by the
  380. Map-Reduce framework. This can be used to control both the Mapper/Reducer
  381. tasks and applications using Hadoop Pipes, Hadoop Streaming etc.
  382. By default it is left unspecified to let cluster admins control it via
  383. limits.conf and other such relevant mechanisms.
  384. Note: mapred.child.ulimit must be greater than or equal to the -Xmx passed to
  385. JavaVM, else the VM might not start.
  386. </description>
  387. </property>
  388. <property>
  389. <name>mapreduce.admin.user.env</name>
  390. <value>LD_LIBRARY_PATH=$HADOOP_COMMON_HOME/lib/native</value>
  391. <description>Expert: Additional execution environment entries for
  392. map and reduce task processes. This is not an additive property.
  393. You must preserve the original value if you want your map and
  394. reduce tasks to have access to native libraries (compression, etc).
  395. </description>
  396. </property>
  397. <property>
  398. <name>mapreduce.task.tmp.dir</name>
  399. <value>./tmp</value>
  400. <description> To set the value of tmp directory for map and reduce tasks.
  401. If the value is an absolute path, it is directly assigned. Otherwise, it is
  402. prepended with task's working directory. The java tasks are executed with
  403. option -Djava.io.tmpdir='the absolute path of the tmp dir'. Pipes and
  404. streaming are set with environment variable,
  405. TMPDIR='the absolute path of the tmp dir'
  406. </description>
  407. </property>
  408. <property>
  409. <name>mapreduce.map.log.level</name>
  410. <value>INFO</value>
  411. <description>The logging level for the map task. The allowed levels are:
  412. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  413. </description>
  414. </property>
  415. <property>
  416. <name>mapreduce.reduce.log.level</name>
  417. <value>INFO</value>
  418. <description>The logging level for the reduce task. The allowed levels are:
  419. OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.
  420. </description>
  421. </property>
  422. <property>
  423. <name>mapreduce.reduce.merge.inmem.threshold</name>
  424. <value>1000</value>
  425. <description>The threshold, in terms of the number of files
  426. for the in-memory merge process. When we accumulate threshold number of files
  427. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  428. 0 indicates we want to DON'T have any threshold and instead depend only on
  429. the ramfs's memory consumption to trigger the merge.
  430. </description>
  431. </property>
  432. <property>
  433. <name>mapreduce.reduce.shuffle.merge.percent</name>
  434. <value>0.66</value>
  435. <description>The usage threshold at which an in-memory merge will be
  436. initiated, expressed as a percentage of the total memory allocated to
  437. storing in-memory map outputs, as defined by
  438. mapreduce.reduce.shuffle.input.buffer.percent.
  439. </description>
  440. </property>
  441. <property>
  442. <name>mapreduce.reduce.shuffle.input.buffer.percent</name>
  443. <value>0.70</value>
  444. <description>The percentage of memory to be allocated from the maximum heap
  445. size to storing map outputs during the shuffle.
  446. </description>
  447. </property>
  448. <property>
  449. <name>mapreduce.reduce.input.buffer.percent</name>
  450. <value>0.0</value>
  451. <description>The percentage of memory- relative to the maximum heap size- to
  452. retain map outputs during the reduce. When the shuffle is concluded, any
  453. remaining map outputs in memory must consume less than this threshold before
  454. the reduce can begin.
  455. </description>
  456. </property>
  457. <property>
  458. <name>mapreduce.reduce.shuffle.memory.limit.percent</name>
  459. <value>0.25</value>
  460. <description>Expert: Maximum percentage of the in-memory limit that a
  461. single shuffle can consume</description>
  462. </property>
  463. <property>
  464. <name>mapreduce.reduce.markreset.buffer.percent</name>
  465. <value>0.0</value>
  466. <description>The percentage of memory -relative to the maximum heap size- to
  467. be used for caching values when using the mark-reset functionality.
  468. </description>
  469. </property>
  470. <property>
  471. <name>mapreduce.map.speculative</name>
  472. <value>true</value>
  473. <description>If true, then multiple instances of some map tasks
  474. may be executed in parallel.</description>
  475. </property>
  476. <property>
  477. <name>mapreduce.reduce.speculative</name>
  478. <value>true</value>
  479. <description>If true, then multiple instances of some reduce tasks
  480. may be executed in parallel.</description>
  481. </property>
  482. <property>
  483. <name>mapreduce.job.speculative.speculativecap</name>
  484. <value>0.1</value>
  485. <description>The max percent (0-1) of running tasks that
  486. can be speculatively re-executed at any time.</description>
  487. </property>
  488. <property>
  489. <name>mapreduce.job.speculative.slowtaskthreshold</name>
  490. <value>1.0</value>The number of standard deviations by which a task's
  491. ave progress-rates must be lower than the average of all running tasks'
  492. for the task to be considered too slow.
  493. <description>
  494. </description>
  495. </property>
  496. <property>
  497. <name>mapreduce.job.speculative.slownodethreshold</name>
  498. <value>1.0</value>
  499. <description>The number of standard deviations by which a Task
  500. Tracker's ave map and reduce progress-rates (finishTime-dispatchTime)
  501. must be lower than the average of all successful map/reduce task's for
  502. the TT to be considered too slow to give a speculative task to.
  503. </description>
  504. </property>
  505. <property>
  506. <name>mapreduce.job.jvm.numtasks</name>
  507. <value>1</value>
  508. <description>How many tasks to run per jvm. If set to -1, there is
  509. no limit.
  510. </description>
  511. </property>
  512. <property>
  513. <name>mapreduce.job.ubertask.enable</name>
  514. <value>false</value>
  515. <description>Whether to enable the small-jobs "ubertask" optimization,
  516. which runs "sufficiently small" jobs sequentially within a single JVM.
  517. "Small" is defined by the following maxmaps, maxreduces, and maxbytes
  518. settings. Users may override this value.
  519. </description>
  520. </property>
  521. <property>
  522. <name>mapreduce.job.ubertask.maxmaps</name>
  523. <value>9</value>
  524. <description>Threshold for number of maps, beyond which job is considered
  525. too big for the ubertasking optimization. Users may override this value,
  526. but only downward.
  527. </description>
  528. </property>
  529. <property>
  530. <name>mapreduce.job.ubertask.maxreduces</name>
  531. <value>1</value>
  532. <description>Threshold for number of reduces, beyond which job is considered
  533. too big for the ubertasking optimization. CURRENTLY THE CODE CANNOT SUPPORT
  534. MORE THAN ONE REDUCE and will ignore larger values. (Zero is a valid max,
  535. however.) Users may override this value, but only downward.
  536. </description>
  537. </property>
  538. <property>
  539. <name>mapreduce.job.ubertask.maxbytes</name>
  540. <value></value>
  541. <description>Threshold for number of input bytes, beyond which job is
  542. considered too big for the ubertasking optimization. If no value is
  543. specified, dfs.block.size is used as a default. Be sure to specify a
  544. default value in mapred-site.xml if the underlying filesystem is not HDFS.
  545. Users may override this value, but only downward.
  546. </description>
  547. </property>
  548. <property>
  549. <name>mapreduce.input.fileinputformat.split.minsize</name>
  550. <value>0</value>
  551. <description>The minimum size chunk that map input should be split
  552. into. Note that some file formats may have minimum split sizes that
  553. take priority over this setting.</description>
  554. </property>
  555. <property>
  556. <name>mapreduce.jobtracker.maxtasks.perjob</name>
  557. <value>-1</value>
  558. <description>The maximum number of tasks for a single job.
  559. A value of -1 indicates that there is no maximum. </description>
  560. </property>
  561. <property>
  562. <name>mapreduce.client.submit.file.replication</name>
  563. <value>10</value>
  564. <description>The replication level for submitted job files. This
  565. should be around the square root of the number of nodes.
  566. </description>
  567. </property>
  568. <property>
  569. <name>mapreduce.tasktracker.dns.interface</name>
  570. <value>default</value>
  571. <description>The name of the Network Interface from which a task
  572. tracker should report its IP address.
  573. </description>
  574. </property>
  575. <property>
  576. <name>mapreduce.tasktracker.dns.nameserver</name>
  577. <value>default</value>
  578. <description>The host name or IP address of the name server (DNS)
  579. which a TaskTracker should use to determine the host name used by
  580. the JobTracker for communication and display purposes.
  581. </description>
  582. </property>
  583. <property>
  584. <name>mapreduce.tasktracker.http.threads</name>
  585. <value>40</value>
  586. <description>The number of worker threads that for the http server. This is
  587. used for map output fetching
  588. </description>
  589. </property>
  590. <property>
  591. <name>mapreduce.tasktracker.http.address</name>
  592. <value>0.0.0.0:50060</value>
  593. <description>
  594. The task tracker http server address and port.
  595. If the port is 0 then the server will start on a free port.
  596. </description>
  597. </property>
  598. <property>
  599. <name>mapreduce.task.files.preserve.failedtasks</name>
  600. <value>false</value>
  601. <description>Should the files for failed tasks be kept. This should only be
  602. used on jobs that are failing, because the storage is never
  603. reclaimed. It also prevents the map outputs from being erased
  604. from the reduce directory as they are consumed.</description>
  605. </property>
  606. <!--
  607. <property>
  608. <name>mapreduce.task.files.preserve.filepattern</name>
  609. <value>.*_m_123456_0</value>
  610. <description>Keep all files from tasks whose task names match the given
  611. regular expression. Defaults to none.</description>
  612. </property>
  613. -->
  614. <property>
  615. <name>mapreduce.output.fileoutputformat.compress</name>
  616. <value>false</value>
  617. <description>Should the job outputs be compressed?
  618. </description>
  619. </property>
  620. <property>
  621. <name>mapreduce.output.fileoutputformat.compression.type</name>
  622. <value>RECORD</value>
  623. <description>If the job outputs are to compressed as SequenceFiles, how should
  624. they be compressed? Should be one of NONE, RECORD or BLOCK.
  625. </description>
  626. </property>
  627. <property>
  628. <name>mapreduce.output.fileoutputformat.compression.codec</name>
  629. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  630. <description>If the job outputs are compressed, how should they be compressed?
  631. </description>
  632. </property>
  633. <property>
  634. <name>mapreduce.map.output.compress</name>
  635. <value>false</value>
  636. <description>Should the outputs of the maps be compressed before being
  637. sent across the network. Uses SequenceFile compression.
  638. </description>
  639. </property>
  640. <property>
  641. <name>mapreduce.map.output.compress.codec</name>
  642. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  643. <description>If the map outputs are compressed, how should they be
  644. compressed?
  645. </description>
  646. </property>
  647. <property>
  648. <name>map.sort.class</name>
  649. <value>org.apache.hadoop.util.QuickSort</value>
  650. <description>The default sort class for sorting keys.
  651. </description>
  652. </property>
  653. <property>
  654. <name>mapreduce.task.userlog.limit.kb</name>
  655. <value>0</value>
  656. <description>The maximum size of user-logs of each task in KB. 0 disables the cap.
  657. </description>
  658. </property>
  659. <property>
  660. <name>mapreduce.job.userlog.retain.hours</name>
  661. <value>24</value>
  662. <description>The maximum time, in hours, for which the user-logs are to be
  663. retained after the job completion.
  664. </description>
  665. </property>
  666. <property>
  667. <name>mapreduce.jobtracker.hosts.filename</name>
  668. <value></value>
  669. <description>Names a file that contains the list of nodes that may
  670. connect to the jobtracker. If the value is empty, all hosts are
  671. permitted.</description>
  672. </property>
  673. <property>
  674. <name>mapreduce.jobtracker.hosts.exclude.filename</name>
  675. <value></value>
  676. <description>Names a file that contains the list of hosts that
  677. should be excluded by the jobtracker. If the value is empty, no
  678. hosts are excluded.</description>
  679. </property>
  680. <property>
  681. <name>mapreduce.jobtracker.heartbeats.in.second</name>
  682. <value>100</value>
  683. <description>Expert: Approximate number of heart-beats that could arrive
  684. at JobTracker in a second. Assuming each RPC can be processed
  685. in 10msec, the default value is made 100 RPCs in a second.
  686. </description>
  687. </property>
  688. <property>
  689. <name>mapreduce.jobtracker.tasktracker.maxblacklists</name>
  690. <value>4</value>
  691. <description>The number of blacklists for a taskTracker by various jobs
  692. after which the task tracker could be blacklisted across
  693. all jobs. The tracker will be given a tasks later
  694. (after a day). The tracker will become a healthy
  695. tracker after a restart.
  696. </description>
  697. </property>
  698. <property>
  699. <name>mapreduce.job.maxtaskfailures.per.tracker</name>
  700. <value>4</value>
  701. <description>The number of task-failures on a tasktracker of a given job
  702. after which new tasks of that job aren't assigned to it.
  703. </description>
  704. </property>
  705. <property>
  706. <name>mapreduce.client.output.filter</name>
  707. <value>FAILED</value>
  708. <description>The filter for controlling the output of the task's userlogs sent
  709. to the console of the JobClient.
  710. The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
  711. ALL.
  712. </description>
  713. </property>
  714. <property>
  715. <name>mapreduce.client.completion.pollinterval</name>
  716. <value>5000</value>
  717. <description>The interval (in milliseconds) between which the JobClient
  718. polls the JobTracker for updates about job status. You may want to set this
  719. to a lower value to make tests run faster on a single node system. Adjusting
  720. this value in production may lead to unwanted client-server traffic.
  721. </description>
  722. </property>
  723. <property>
  724. <name>mapreduce.client.progressmonitor.pollinterval</name>
  725. <value>1000</value>
  726. <description>The interval (in milliseconds) between which the JobClient
  727. reports status to the console and checks for job completion. You may want to set this
  728. to a lower value to make tests run faster on a single node system. Adjusting
  729. this value in production may lead to unwanted client-server traffic.
  730. </description>
  731. </property>
  732. <property>
  733. <name>mapreduce.jobtracker.persist.jobstatus.active</name>
  734. <value>true</value>
  735. <description>Indicates if persistency of job status information is
  736. active or not.
  737. </description>
  738. </property>
  739. <property>
  740. <name>mapreduce.jobtracker.persist.jobstatus.hours</name>
  741. <value>1</value>
  742. <description>The number of hours job status information is persisted in DFS.
  743. The job status information will be available after it drops of the memory
  744. queue and between jobtracker restarts. With a zero value the job status
  745. information is not persisted at all in DFS.
  746. </description>
  747. </property>
  748. <property>
  749. <name>mapreduce.jobtracker.persist.jobstatus.dir</name>
  750. <value>/jobtracker/jobsInfo</value>
  751. <description>The directory where the job status information is persisted
  752. in a file system to be available after it drops of the memory queue and
  753. between jobtracker restarts.
  754. </description>
  755. </property>
  756. <property>
  757. <name>mapreduce.task.profile</name>
  758. <value>false</value>
  759. <description>To set whether the system should collect profiler
  760. information for some of the tasks in this job? The information is stored
  761. in the user log directory. The value is "true" if task profiling
  762. is enabled.</description>
  763. </property>
  764. <property>
  765. <name>mapreduce.task.profile.maps</name>
  766. <value>0-2</value>
  767. <description> To set the ranges of map tasks to profile.
  768. mapreduce.task.profile has to be set to true for the value to be accounted.
  769. </description>
  770. </property>
  771. <property>
  772. <name>mapreduce.task.profile.reduces</name>
  773. <value>0-2</value>
  774. <description> To set the ranges of reduce tasks to profile.
  775. mapreduce.task.profile has to be set to true for the value to be accounted.
  776. </description>
  777. </property>
  778. <property>
  779. <name>mapreduce.task.skip.start.attempts</name>
  780. <value>2</value>
  781. <description> The number of Task attempts AFTER which skip mode
  782. will be kicked off. When skip mode is kicked off, the
  783. tasks reports the range of records which it will process
  784. next, to the TaskTracker. So that on failures, TT knows which
  785. ones are possibly the bad records. On further executions,
  786. those are skipped.
  787. </description>
  788. </property>
  789. <property>
  790. <name>mapreduce.map.skip.proc.count.autoincr</name>
  791. <value>true</value>
  792. <description> The flag which if set to true,
  793. SkipBadRecords.COUNTER_MAP_PROCESSED_RECORDS is incremented
  794. by MapRunner after invoking the map function. This value must be set to
  795. false for applications which process the records asynchronously
  796. or buffer the input records. For example streaming.
  797. In such cases applications should increment this counter on their own.
  798. </description>
  799. </property>
  800. <property>
  801. <name>mapreduce.reduce.skip.proc.count.autoincr</name>
  802. <value>true</value>
  803. <description> The flag which if set to true,
  804. SkipBadRecords.COUNTER_REDUCE_PROCESSED_GROUPS is incremented
  805. by framework after invoking the reduce function. This value must be set to
  806. false for applications which process the records asynchronously
  807. or buffer the input records. For example streaming.
  808. In such cases applications should increment this counter on their own.
  809. </description>
  810. </property>
  811. <property>
  812. <name>mapreduce.job.skip.outdir</name>
  813. <value></value>
  814. <description> If no value is specified here, the skipped records are
  815. written to the output directory at _logs/skip.
  816. User can stop writing skipped records by giving the value "none".
  817. </description>
  818. </property>
  819. <property>
  820. <name>mapreduce.map.skip.maxrecords</name>
  821. <value>0</value>
  822. <description> The number of acceptable skip records surrounding the bad
  823. record PER bad record in mapper. The number includes the bad record as well.
  824. To turn the feature of detection/skipping of bad records off, set the
  825. value to 0.
  826. The framework tries to narrow down the skipped range by retrying
  827. until this threshold is met OR all attempts get exhausted for this task.
  828. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  829. narrow down. Whatever records(depends on application) get skipped are
  830. acceptable.
  831. </description>
  832. </property>
  833. <property>
  834. <name>mapreduce.reduce.skip.maxgroups</name>
  835. <value>0</value>
  836. <description> The number of acceptable skip groups surrounding the bad
  837. group PER bad group in reducer. The number includes the bad group as well.
  838. To turn the feature of detection/skipping of bad groups off, set the
  839. value to 0.
  840. The framework tries to narrow down the skipped range by retrying
  841. until this threshold is met OR all attempts get exhausted for this task.
  842. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  843. narrow down. Whatever groups(depends on application) get skipped are
  844. acceptable.
  845. </description>
  846. </property>
  847. <!-- Job Notification Configuration -->
  848. <!--
  849. <property>
  850. <name>mapreduce.job.end-notification.url</name>
  851. <value>http://localhost:8080/jobstatus.php?jobId=$jobId&amp;jobStatus=$jobStatus</value>
  852. <description>Indicates url which will be called on completion of job to inform
  853. end status of job.
  854. User can give at most 2 variables with URI : $jobId and $jobStatus.
  855. If they are present in URI, then they will be replaced by their
  856. respective values.
  857. </description>
  858. </property>
  859. -->
  860. <property>
  861. <name>mapreduce.job.end-notification.retry.attempts</name>
  862. <value>0</value>
  863. <description>Indicates how many times hadoop should attempt to contact the
  864. notification URL </description>
  865. </property>
  866. <property>
  867. <name>mapreduce.job.end-notification.retry.interval</name>
  868. <value>30000</value>
  869. <description>Indicates time in milliseconds between notification URL retry
  870. calls</description>
  871. </property>
  872. <!-- Proxy Configuration -->
  873. <property>
  874. <name>mapreduce.jobtracker.taskcache.levels</name>
  875. <value>2</value>
  876. <description> This is the max level of the task cache. For example, if
  877. the level is 2, the tasks cached are at the host level and at the rack
  878. level.
  879. </description>
  880. </property>
  881. <property>
  882. <name>mapreduce.job.queuename</name>
  883. <value>default</value>
  884. <description> Queue to which a job is submitted. This must match one of the
  885. queues defined in mapred-queues.xml for the system. Also, the ACL setup
  886. for the queue must allow the current user to submit a job to the queue.
  887. Before specifying a queue, ensure that the system is configured with
  888. the queue, and access is allowed for submitting jobs to the queue.
  889. </description>
  890. </property>
  891. <property>
  892. <name>mapreduce.cluster.acls.enabled</name>
  893. <value>false</value>
  894. <description> Specifies whether ACLs should be checked
  895. for authorization of users for doing various queue and job level operations.
  896. ACLs are disabled by default. If enabled, access control checks are made by
  897. JobTracker and TaskTracker when requests are made by users for queue
  898. operations like submit job to a queue and kill a job in the queue and job
  899. operations like viewing the job-details (See mapreduce.job.acl-view-job)
  900. or for modifying the job (See mapreduce.job.acl-modify-job) using
  901. Map/Reduce APIs, RPCs or via the console and web user interfaces.
  902. For enabling this flag(mapreduce.cluster.acls.enabled), this is to be set
  903. to true in mapred-site.xml on JobTracker node and on all TaskTracker nodes.
  904. </description>
  905. </property>
  906. <property>
  907. <name>mapreduce.job.acl-modify-job</name>
  908. <value> </value>
  909. <description> Job specific access-control list for 'modifying' the job. It
  910. is only used if authorization is enabled in Map/Reduce by setting the
  911. configuration property mapreduce.cluster.acls.enabled to true.
  912. This specifies the list of users and/or groups who can do modification
  913. operations on the job. For specifying a list of users and groups the
  914. format to use is "user1,user2 group1,group". If set to '*', it allows all
  915. users/groups to modify this job. If set to ' '(i.e. space), it allows
  916. none. This configuration is used to guard all the modifications with respect
  917. to this job and takes care of all the following operations:
  918. o killing this job
  919. o killing a task of this job, failing a task of this job
  920. o setting the priority of this job
  921. Each of these operations are also protected by the per-queue level ACL
  922. "acl-administer-jobs" configured via mapred-queues.xml. So a caller should
  923. have the authorization to satisfy either the queue-level ACL or the
  924. job-level ACL.
  925. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  926. started the cluster, (c) members of an admin configured supergroup
  927. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  928. administrators of the queue to which this job was submitted to configured
  929. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  930. do all the modification operations on a job.
  931. By default, nobody else besides job-owner, the user who started the cluster,
  932. members of supergroup and queue administrators can perform modification
  933. operations on a job.
  934. </description>
  935. </property>
  936. <property>
  937. <name>mapreduce.job.acl-view-job</name>
  938. <value> </value>
  939. <description> Job specific access-control list for 'viewing' the job. It is
  940. only used if authorization is enabled in Map/Reduce by setting the
  941. configuration property mapreduce.cluster.acls.enabled to true.
  942. This specifies the list of users and/or groups who can view private details
  943. about the job. For specifying a list of users and groups the
  944. format to use is "user1,user2 group1,group". If set to '*', it allows all
  945. users/groups to modify this job. If set to ' '(i.e. space), it allows
  946. none. This configuration is used to guard some of the job-views and at
  947. present only protects APIs that can return possibly sensitive information
  948. of the job-owner like
  949. o job-level counters
  950. o task-level counters
  951. o tasks' diagnostic information
  952. o task-logs displayed on the TaskTracker web-UI and
  953. o job.xml showed by the JobTracker's web-UI
  954. Every other piece of information of jobs is still accessible by any other
  955. user, for e.g., JobStatus, JobProfile, list of jobs in the queue, etc.
  956. Irrespective of this ACL configuration, (a) job-owner, (b) the user who
  957. started the cluster, (c) members of an admin configured supergroup
  958. configured via mapreduce.cluster.permissions.supergroup and (d) queue
  959. administrators of the queue to which this job was submitted to configured
  960. via acl-administer-jobs for the specific queue in mapred-queues.xml can
  961. do all the view operations on a job.
  962. By default, nobody else besides job-owner, the user who started the
  963. cluster, memebers of supergroup and queue administrators can perform
  964. view operations on a job.
  965. </description>
  966. </property>
  967. <property>
  968. <name>mapreduce.tasktracker.indexcache.mb</name>
  969. <value>10</value>
  970. <description> The maximum memory that a task tracker allows for the
  971. index cache that is used when serving map outputs to reducers.
  972. </description>
  973. </property>
  974. <property>
  975. <name>mapreduce.task.merge.progress.records</name>
  976. <value>10000</value>
  977. <description> The number of records to process during merge before
  978. sending a progress notification to the TaskTracker.
  979. </description>
  980. </property>
  981. <property>
  982. <name>mapreduce.job.reduce.slowstart.completedmaps</name>
  983. <value>0.05</value>
  984. <description>Fraction of the number of maps in the job which should be
  985. complete before reduces are scheduled for the job.
  986. </description>
  987. </property>
  988. <property>
  989. <name>mapreduce.job.complete.cancel.delegation.tokens</name>
  990. <value>true</value>
  991. <description> if false - do not unregister/cancel delegation tokens from
  992. renewal, because same tokens may be used by spawned jobs
  993. </description>
  994. </property>
  995. <property>
  996. <name>mapreduce.tasktracker.taskcontroller</name>
  997. <value>org.apache.hadoop.mapred.DefaultTaskController</value>
  998. <description>TaskController which is used to launch and manage task execution
  999. </description>
  1000. </property>
  1001. <property>
  1002. <name>mapreduce.tasktracker.group</name>
  1003. <value></value>
  1004. <description>Expert: Group to which TaskTracker belongs. If
  1005. LinuxTaskController is configured via mapreduce.tasktracker.taskcontroller,
  1006. the group owner of the task-controller binary should be same as this group.
  1007. </description>
  1008. </property>
  1009. <!-- Node health script variables -->
  1010. <property>
  1011. <name>mapreduce.tasktracker.healthchecker.script.path</name>
  1012. <value></value>
  1013. <description>Absolute path to the script which is
  1014. periodicallyrun by the node health monitoring service to determine if
  1015. the node is healthy or not. If the value of this key is empty or the
  1016. file does not exist in the location configured here, the node health
  1017. monitoring service is not started.</description>
  1018. </property>
  1019. <property>
  1020. <name>mapreduce.tasktracker.healthchecker.interval</name>
  1021. <value>60000</value>
  1022. <description>Frequency of the node health script to be run,
  1023. in milliseconds</description>
  1024. </property>
  1025. <property>
  1026. <name>mapreduce.tasktracker.healthchecker.script.timeout</name>
  1027. <value>600000</value>
  1028. <description>Time after node health script should be killed if
  1029. unresponsive and considered that the script has failed.</description>
  1030. </property>
  1031. <property>
  1032. <name>mapreduce.tasktracker.healthchecker.script.args</name>
  1033. <value></value>
  1034. <description>List of arguments which are to be passed to
  1035. node health script when it is being launched comma seperated.
  1036. </description>
  1037. </property>
  1038. <!-- end of node health script variables -->
  1039. <property>
  1040. <name>mapreduce.job.counters.limit</name>
  1041. <value>120</value>
  1042. <description>Limit on the number of user counters allowed per job.
  1043. </description>
  1044. </property>
  1045. <property>
  1046. <name>mapreduce.framework.name</name>
  1047. <value>local</value>
  1048. <description>The runtime framework for executing MapReduce jobs.
  1049. Can be one of local, classic or yarn.
  1050. </description>
  1051. </property>
  1052. <property>
  1053. <name>yarn.app.mapreduce.am.staging-dir</name>
  1054. <value>/tmp/hadoop-yarn/staging</value>
  1055. <description>The staging dir used while submitting jobs.
  1056. </description>
  1057. </property>
  1058. <property>
  1059. <name>mapreduce.job.end-notification.max.attempts</name>
  1060. <value>5</value>
  1061. <final>true</final>
  1062. <description>The maximum number of times a URL will be read for providing job
  1063. end notification. Cluster administrators can set this to limit how long
  1064. after end of a job, the Application Master waits before exiting. Must be
  1065. marked as final to prevent users from overriding this.
  1066. </description>
  1067. </property>
  1068. <property>
  1069. <name>mapreduce.job.end-notification.max.retry.interval</name>
  1070. <value>5</value>
  1071. <final>true</final>
  1072. <description>The maximum amount of time (in seconds) to wait before retrying
  1073. job end notification. Cluster administrators can set this to limit how long
  1074. the Application Master waits before exiting. Must be marked as final to
  1075. prevent users from overriding this.</description>
  1076. </property>
  1077. <property>
  1078. <name>mapreduce.job.end-notification.url</name>
  1079. <value></value>
  1080. <description>The URL to send job end notification. It may contain sentinels
  1081. $jobId and $jobStatus which will be replaced with jobId and jobStatus.
  1082. </description>
  1083. </property>
  1084. <property>
  1085. <name>mapreduce.job.end-notification.retry.attempts</name>
  1086. <value>5</value>
  1087. <description>The number of times the submitter of the job wants to retry job
  1088. end notification if it fails. This is capped by
  1089. mapreduce.job.end-notification.max.attempts</description>
  1090. </property>
  1091. <property>
  1092. <name>mapreduce.job.end-notification.retry.interval</name>
  1093. <value>1</value>
  1094. <description>The number of seconds the submitter of the job wants to wait
  1095. before job end notification is retried if it fails. This is capped by
  1096. mapreduce.job.end-notification.max.retry.interval</description>
  1097. </property>
  1098. <property>
  1099. <name>yarn.app.mapreduce.am.job.task.listener.thread-count</name>
  1100. <value>30</value>
  1101. <description>The number of threads used to handle RPC calls in the
  1102. MR AppMaster from remote tasks</description>
  1103. </property>
  1104. <property>
  1105. <name>yarn.app.mapreduce.am.scheduler.heartbeat.interval-ms</name>
  1106. <value>1000</value>
  1107. <description>The interval in ms at which the MR AppMaster should send
  1108. heartbeats to the ResourceManager</description>
  1109. </property>
  1110. </configuration>