mapred-default.xml 43 KB

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