mapred-default.xml 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!-- Do not modify this file directly. Instead, copy entries that you -->
  4. <!-- wish to modify from this file into mapred-site.xml and change them -->
  5. <!-- there. If mapred-site.xml does not already exist, create it. -->
  6. <configuration>
  7. <property>
  8. <name>hadoop.job.history.location</name>
  9. <value></value>
  10. <description> If job tracker is static the history files are stored
  11. in this single well known place. If No value is set here, by default,
  12. it is in the local file system at ${hadoop.log.dir}/history.
  13. </description>
  14. </property>
  15. <property>
  16. <name>hadoop.job.history.user.location</name>
  17. <value></value>
  18. <description> User can specify a location to store the history files of
  19. a particular job. If nothing is specified, the logs are stored in
  20. output directory. The files are stored in "_logs/history/" in the directory.
  21. User can stop logging by giving the value "none".
  22. </description>
  23. </property>
  24. <property>
  25. <name>mapred.job.tracker.history.completed.location</name>
  26. <value></value>
  27. <description> The completed job history files are stored at this single well
  28. known location. If nothing is specified, the files are stored at
  29. ${hadoop.job.history.location}/done.
  30. </description>
  31. </property>
  32. <!-- i/o properties -->
  33. <property>
  34. <name>io.sort.factor</name>
  35. <value>10</value>
  36. <description>The number of streams to merge at once while sorting
  37. files. This determines the number of open file handles.</description>
  38. </property>
  39. <property>
  40. <name>io.sort.mb</name>
  41. <value>100</value>
  42. <description>The total amount of buffer memory to use while sorting
  43. files, in megabytes. By default, gives each merge stream 1MB, which
  44. should minimize seeks.</description>
  45. </property>
  46. <property>
  47. <name>io.sort.record.percent</name>
  48. <value>0.05</value>
  49. <description>The percentage of io.sort.mb dedicated to tracking record
  50. boundaries. Let this value be r, io.sort.mb be x. The maximum number
  51. of records collected before the collection thread must block is equal
  52. to (r * x) / 4</description>
  53. </property>
  54. <property>
  55. <name>io.sort.spill.percent</name>
  56. <value>0.80</value>
  57. <description>The soft limit in either the buffer or record collection
  58. buffers. Once reached, a thread will begin to spill the contents to disk
  59. in the background. Note that this does not imply any chunking of data to
  60. the spill. A value less than 0.5 is not recommended.</description>
  61. </property>
  62. <property>
  63. <name>io.map.index.skip</name>
  64. <value>0</value>
  65. <description>Number of index entries to skip between each entry.
  66. Zero by default. Setting this to values larger than zero can
  67. facilitate opening large map files using less memory.</description>
  68. </property>
  69. <property>
  70. <name>mapred.job.tracker</name>
  71. <value>local</value>
  72. <description>The host and port that the MapReduce job tracker runs
  73. at. If "local", then jobs are run in-process as a single map
  74. and reduce task.
  75. </description>
  76. </property>
  77. <property>
  78. <name>mapred.job.tracker.http.address</name>
  79. <value>0.0.0.0:50030</value>
  80. <description>
  81. The job tracker http server address and port the server will listen on.
  82. If the port is 0 then the server will start on a free port.
  83. </description>
  84. </property>
  85. <property>
  86. <name>mapred.job.tracker.handler.count</name>
  87. <value>10</value>
  88. <description>
  89. The number of server threads for the JobTracker. This should be roughly
  90. 4% of the number of tasktracker nodes.
  91. </description>
  92. </property>
  93. <property>
  94. <name>mapred.task.tracker.report.address</name>
  95. <value>127.0.0.1:0</value>
  96. <description>The interface and port that task tracker server listens on.
  97. Since it is only connected to by the tasks, it uses the local interface.
  98. EXPERT ONLY. Should only be changed if your host does not have the loopback
  99. interface.</description>
  100. </property>
  101. <property>
  102. <name>mapred.local.dir</name>
  103. <value>${hadoop.tmp.dir}/mapred/local</value>
  104. <description>The local directory where MapReduce stores intermediate
  105. data files. May be a comma-separated list of
  106. directories on different devices in order to spread disk i/o.
  107. Directories that do not exist are ignored.
  108. </description>
  109. </property>
  110. <property>
  111. <name>mapreduce.jobtracker.system.dir</name>
  112. <value>${hadoop.tmp.dir}/mapred/system</value>
  113. <description>The directory where MapReduce stores control files.
  114. </description>
  115. </property>
  116. <property>
  117. <name>mapreduce.jobtracker.staging.root.dir</name>
  118. <value>${hadoop.tmp.dir}/mapred/staging</value>
  119. <description>The root of the staging area for users' job files
  120. In practice, this should be the directory where users' home
  121. directories are located (usually /user)
  122. </description>
  123. </property>
  124. <property>
  125. <name>mapred.temp.dir</name>
  126. <value>${hadoop.tmp.dir}/mapred/temp</value>
  127. <description>A shared directory for temporary files.
  128. </description>
  129. </property>
  130. <property>
  131. <name>mapred.local.dir.minspacestart</name>
  132. <value>0</value>
  133. <description>If the space in mapred.local.dir drops under this,
  134. do not ask for more tasks.
  135. Value in bytes.
  136. </description>
  137. </property>
  138. <property>
  139. <name>mapred.local.dir.minspacekill</name>
  140. <value>0</value>
  141. <description>If the space in mapred.local.dir drops under this,
  142. do not ask more tasks until all the current ones have finished and
  143. cleaned up. Also, to save the rest of the tasks we have running,
  144. kill one of them, to clean up some space. Start with the reduce tasks,
  145. then go with the ones that have finished the least.
  146. Value in bytes.
  147. </description>
  148. </property>
  149. <property>
  150. <name>mapred.tasktracker.expiry.interval</name>
  151. <value>600000</value>
  152. <description>Expert: The time-interval, in miliseconds, after which
  153. a tasktracker is declared 'lost' if it doesn't send heartbeats.
  154. </description>
  155. </property>
  156. <property>
  157. <name>mapred.tasktracker.instrumentation</name>
  158. <value>org.apache.hadoop.mapred.TaskTrackerMetricsInst</value>
  159. <description>Expert: The instrumentation class to associate with each TaskTracker.
  160. </description>
  161. </property>
  162. <property>
  163. <name>mapred.tasktracker.memory_calculator_plugin</name>
  164. <value></value>
  165. <description>
  166. Name of the class whose instance will be used to query memory information
  167. on the tasktracker.
  168. The class must be an instance of
  169. org.apache.hadoop.util.MemoryCalculatorPlugin. If the value is null, the
  170. tasktracker attempts to use a class appropriate to the platform.
  171. Currently, the only platform supported is Linux.
  172. </description>
  173. </property>
  174. <property>
  175. <name>mapred.tasktracker.taskmemorymanager.monitoring-interval</name>
  176. <value>5000</value>
  177. <description>The interval, in milliseconds, for which the tasktracker waits
  178. between two cycles of monitoring its tasks' memory usage. Used only if
  179. tasks' memory management is enabled via mapred.tasktracker.tasks.maxmemory.
  180. </description>
  181. </property>
  182. <property>
  183. <name>mapred.tasktracker.tasks.sleeptime-before-sigkill</name>
  184. <value>5000</value>
  185. <description>The time, in milliseconds, the tasktracker waits for sending a
  186. SIGKILL to a process, after it has been sent a SIGTERM.</description>
  187. </property>
  188. <property>
  189. <name>mapred.map.tasks</name>
  190. <value>2</value>
  191. <description>The default number of map tasks per job.
  192. Ignored when mapred.job.tracker is "local".
  193. </description>
  194. </property>
  195. <property>
  196. <name>mapred.reduce.tasks</name>
  197. <value>1</value>
  198. <description>The default number of reduce tasks per job. Typically set to 99%
  199. of the cluster's reduce capacity, so that if a node fails the reduces can
  200. still be executed in a single wave.
  201. Ignored when mapred.job.tracker is "local".
  202. </description>
  203. </property>
  204. <property>
  205. <name>mapreduce.tasktracker.outofband.heartbeat</name>
  206. <value>false</value>
  207. <description>Expert: Set this to true to let the tasktracker send an
  208. out-of-band heartbeat on task-completion for better latency.
  209. </description>
  210. </property>
  211. <property>
  212. <name>mapred.jobtracker.restart.recover</name>
  213. <value>false</value>
  214. <description>"true" to enable (job) recovery upon restart,
  215. "false" to start afresh
  216. </description>
  217. </property>
  218. <property>
  219. <name>mapred.jobtracker.job.history.block.size</name>
  220. <value>3145728</value>
  221. <description>The block size of the job history file. Since the job recovery
  222. uses job history, its important to dump job history to disk as
  223. soon as possible. Note that this is an expert level parameter.
  224. The default value is set to 3 MB.
  225. </description>
  226. </property>
  227. <property>
  228. <name>mapreduce.job.split.metainfo.maxsize</name>
  229. <value>10000000</value>
  230. <description>The maximum permissible size of the split metainfo file.
  231. The JobTracker won't attempt to read split metainfo files bigger than
  232. the configured value.
  233. No limits if set to -1.
  234. </description>
  235. </property>
  236. <property>
  237. <name>mapred.jobtracker.taskScheduler</name>
  238. <value>org.apache.hadoop.mapred.JobQueueTaskScheduler</value>
  239. <description>The class responsible for scheduling the tasks.</description>
  240. </property>
  241. <property>
  242. <name>mapred.jobtracker.taskScheduler.maxRunningTasksPerJob</name>
  243. <value></value>
  244. <description>The maximum number of running tasks for a job before
  245. it gets preempted. No limits if undefined.
  246. </description>
  247. </property>
  248. <property>
  249. <name>mapred.map.max.attempts</name>
  250. <value>4</value>
  251. <description>Expert: The maximum number of attempts per map task.
  252. In other words, framework will try to execute a map task these many number
  253. of times before giving up on it.
  254. </description>
  255. </property>
  256. <property>
  257. <name>mapred.reduce.max.attempts</name>
  258. <value>4</value>
  259. <description>Expert: The maximum number of attempts per reduce task.
  260. In other words, framework will try to execute a reduce task these many number
  261. of times before giving up on it.
  262. </description>
  263. </property>
  264. <property>
  265. <name>mapred.reduce.parallel.copies</name>
  266. <value>5</value>
  267. <description>The default number of parallel transfers run by reduce
  268. during the copy(shuffle) phase.
  269. </description>
  270. </property>
  271. <property>
  272. <name>mapred.reduce.copy.backoff</name>
  273. <value>300</value>
  274. <description>The maximum amount of time (in seconds) a reducer spends on
  275. fetching one map output before declaring it as failed.
  276. </description>
  277. </property>
  278. <property>
  279. <name>mapreduce.reduce.shuffle.connect.timeout</name>
  280. <value>180000</value>
  281. <description>Expert: The maximum amount of time (in milli seconds) a reduce
  282. task spends in trying to connect to a tasktracker for getting map output.
  283. </description>
  284. </property>
  285. <property>
  286. <name>mapreduce.reduce.shuffle.read.timeout</name>
  287. <value>180000</value>
  288. <description>Expert: The maximum amount of time (in milli seconds) a reduce
  289. task waits for map output data to be available for reading after obtaining
  290. connection.
  291. </description>
  292. </property>
  293. <property>
  294. <name>mapred.task.timeout</name>
  295. <value>600000</value>
  296. <description>The number of milliseconds before a task will be
  297. terminated if it neither reads an input, writes an output, nor
  298. updates its status string.
  299. </description>
  300. </property>
  301. <property>
  302. <name>mapred.tasktracker.map.tasks.maximum</name>
  303. <value>2</value>
  304. <description>The maximum number of map tasks that will be run
  305. simultaneously by a task tracker.
  306. </description>
  307. </property>
  308. <property>
  309. <name>mapred.tasktracker.reduce.tasks.maximum</name>
  310. <value>2</value>
  311. <description>The maximum number of reduce tasks that will be run
  312. simultaneously by a task tracker.
  313. </description>
  314. </property>
  315. <property>
  316. <name>mapred.jobtracker.completeuserjobs.maximum</name>
  317. <value>100</value>
  318. <description>The maximum number of complete jobs per user to keep around
  319. before delegating them to the job history.</description>
  320. </property>
  321. <property>
  322. <name>mapred.job.tracker.retiredjobs.cache.size</name>
  323. <value>1000</value>
  324. <description>The number of retired job status to keep in the cache.
  325. </description>
  326. </property>
  327. <property>
  328. <name>mapred.job.tracker.jobhistory.lru.cache.size</name>
  329. <value>5</value>
  330. <description>The number of job history files loaded in memory. The jobs are
  331. loaded when they are first accessed. The cache is cleared based on LRU.
  332. </description>
  333. </property>
  334. <property>
  335. <name>mapred.jobtracker.instrumentation</name>
  336. <value>org.apache.hadoop.mapred.JobTrackerMetricsInst</value>
  337. <description>Expert: The instrumentation class to associate with each JobTracker.
  338. </description>
  339. </property>
  340. <property>
  341. <name>mapred.child.java.opts</name>
  342. <value>-Xmx200m</value>
  343. <description>Java opts for the task tracker child processes.
  344. The following symbol, if present, will be interpolated: @taskid@ is replaced
  345. by current TaskID. Any other occurrences of '@' will go unchanged.
  346. For example, to enable verbose gc logging to a file named for the taskid in
  347. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  348. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  349. The configuration variable mapred.child.ulimit can be used to control the
  350. maximum virtual memory of the child processes.
  351. </description>
  352. </property>
  353. <property>
  354. <name>mapred.child.env</name>
  355. <value></value>
  356. <description>User added environment variables for the task tracker child
  357. processes. Example :
  358. 1) A=foo This will set the env variable A to foo
  359. 2) B=$B:c This is inherit tasktracker's B env variable.
  360. </description>
  361. </property>
  362. <property>
  363. <name>mapred.child.ulimit</name>
  364. <value></value>
  365. <description>The maximum virtual memory, in KB, of a process launched by the
  366. Map-Reduce framework. This can be used to control both the Mapper/Reducer
  367. tasks and applications using Hadoop Pipes, Hadoop Streaming etc.
  368. By default it is left unspecified to let cluster admins control it via
  369. limits.conf and other such relevant mechanisms.
  370. Note: mapred.child.ulimit must be greater than or equal to the -Xmx passed to
  371. JavaVM, else the VM might not start.
  372. </description>
  373. </property>
  374. <property>
  375. <name>mapred.child.tmp</name>
  376. <value>./tmp</value>
  377. <description> To set the value of tmp directory for map and reduce tasks.
  378. If the value is an absolute path, it is directly assigned. Otherwise, it is
  379. prepended with task's working directory. The java tasks are executed with
  380. option -Djava.io.tmpdir='the absolute path of the tmp dir'. Pipes and
  381. streaming are set with environment variable,
  382. TMPDIR='the absolute path of the tmp dir'
  383. </description>
  384. </property>
  385. <property>
  386. <name>mapred.inmem.merge.threshold</name>
  387. <value>1000</value>
  388. <description>The threshold, in terms of the number of files
  389. for the in-memory merge process. When we accumulate threshold number of files
  390. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  391. 0 indicates we want to DON'T have any threshold and instead depend only on
  392. the ramfs's memory consumption to trigger the merge.
  393. </description>
  394. </property>
  395. <property>
  396. <name>mapred.job.shuffle.merge.percent</name>
  397. <value>0.66</value>
  398. <description>The usage threshold at which an in-memory merge will be
  399. initiated, expressed as a percentage of the total memory allocated to
  400. storing in-memory map outputs, as defined by
  401. mapred.job.shuffle.input.buffer.percent.
  402. </description>
  403. </property>
  404. <property>
  405. <name>mapred.job.shuffle.input.buffer.percent</name>
  406. <value>0.70</value>
  407. <description>The percentage of memory to be allocated from the maximum heap
  408. size to storing map outputs during the shuffle.
  409. </description>
  410. </property>
  411. <property>
  412. <name>mapred.job.reduce.input.buffer.percent</name>
  413. <value>0.0</value>
  414. <description>The percentage of memory- relative to the maximum heap size- to
  415. retain map outputs during the reduce. When the shuffle is concluded, any
  416. remaining map outputs in memory must consume less than this threshold before
  417. the reduce can begin.
  418. </description>
  419. </property>
  420. <property>
  421. <name>mapred.map.tasks.speculative.execution</name>
  422. <value>true</value>
  423. <description>If true, then multiple instances of some map tasks
  424. may be executed in parallel.</description>
  425. </property>
  426. <property>
  427. <name>mapred.reduce.tasks.speculative.execution</name>
  428. <value>true</value>
  429. <description>If true, then multiple instances of some reduce tasks
  430. may be executed in parallel.</description>
  431. </property>
  432. <property>
  433. <name>mapred.job.reuse.jvm.num.tasks</name>
  434. <value>1</value>
  435. <description>How many tasks to run per jvm. If set to -1, there is
  436. no limit.
  437. </description>
  438. </property>
  439. <property>
  440. <name>mapred.min.split.size</name>
  441. <value>0</value>
  442. <description>The minimum size chunk that map input should be split
  443. into. Note that some file formats may have minimum split sizes that
  444. take priority over this setting.</description>
  445. </property>
  446. <property>
  447. <name>mapred.jobtracker.maxtasks.per.job</name>
  448. <value>-1</value>
  449. <description>The maximum number of tasks for a single job.
  450. A value of -1 indicates that there is no maximum. </description>
  451. </property>
  452. <property>
  453. <name>mapred.submit.replication</name>
  454. <value>10</value>
  455. <description>The replication level for submitted job files. This
  456. should be around the square root of the number of nodes.
  457. </description>
  458. </property>
  459. <property>
  460. <name>mapred.tasktracker.dns.interface</name>
  461. <value>default</value>
  462. <description>The name of the Network Interface from which a task
  463. tracker should report its IP address.
  464. </description>
  465. </property>
  466. <property>
  467. <name>mapred.tasktracker.dns.nameserver</name>
  468. <value>default</value>
  469. <description>The host name or IP address of the name server (DNS)
  470. which a TaskTracker should use to determine the host name used by
  471. the JobTracker for communication and display purposes.
  472. </description>
  473. </property>
  474. <property>
  475. <name>tasktracker.http.threads</name>
  476. <value>40</value>
  477. <description>The number of worker threads that for the http server. This is
  478. used for map output fetching
  479. </description>
  480. </property>
  481. <property>
  482. <name>mapred.task.tracker.http.address</name>
  483. <value>0.0.0.0:50060</value>
  484. <description>
  485. The task tracker http server address and port.
  486. If the port is 0 then the server will start on a free port.
  487. </description>
  488. </property>
  489. <property>
  490. <name>keep.failed.task.files</name>
  491. <value>false</value>
  492. <description>Should the files for failed tasks be kept. This should only be
  493. used on jobs that are failing, because the storage is never
  494. reclaimed. It also prevents the map outputs from being erased
  495. from the reduce directory as they are consumed.</description>
  496. </property>
  497. <!--
  498. <property>
  499. <name>keep.task.files.pattern</name>
  500. <value>.*_m_123456_0</value>
  501. <description>Keep all files from tasks whose task names match the given
  502. regular expression. Defaults to none.</description>
  503. </property>
  504. -->
  505. <property>
  506. <name>mapred.output.compress</name>
  507. <value>false</value>
  508. <description>Should the job outputs be compressed?
  509. </description>
  510. </property>
  511. <property>
  512. <name>mapred.output.compression.type</name>
  513. <value>RECORD</value>
  514. <description>If the job outputs are to compressed as SequenceFiles, how should
  515. they be compressed? Should be one of NONE, RECORD or BLOCK.
  516. </description>
  517. </property>
  518. <property>
  519. <name>mapred.output.compression.codec</name>
  520. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  521. <description>If the job outputs are compressed, how should they be compressed?
  522. </description>
  523. </property>
  524. <property>
  525. <name>mapred.compress.map.output</name>
  526. <value>false</value>
  527. <description>Should the outputs of the maps be compressed before being
  528. sent across the network. Uses SequenceFile compression.
  529. </description>
  530. </property>
  531. <property>
  532. <name>mapred.map.output.compression.codec</name>
  533. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  534. <description>If the map outputs are compressed, how should they be
  535. compressed?
  536. </description>
  537. </property>
  538. <property>
  539. <name>map.sort.class</name>
  540. <value>org.apache.hadoop.util.QuickSort</value>
  541. <description>The default sort class for sorting keys.
  542. </description>
  543. </property>
  544. <property>
  545. <name>mapred.userlog.limit.kb</name>
  546. <value>0</value>
  547. <description>The maximum size of user-logs of each task in KB. 0 disables the cap.
  548. </description>
  549. </property>
  550. <property>
  551. <name>mapred.userlog.retain.hours</name>
  552. <value>24</value>
  553. <description>The maximum time, in hours, for which the user-logs are to be
  554. retained.
  555. </description>
  556. </property>
  557. <property>
  558. <name>mapred.hosts</name>
  559. <value></value>
  560. <description>Names a file that contains the list of nodes that may
  561. connect to the jobtracker. If the value is empty, all hosts are
  562. permitted.</description>
  563. </property>
  564. <property>
  565. <name>mapred.hosts.exclude</name>
  566. <value></value>
  567. <description>Names a file that contains the list of hosts that
  568. should be excluded by the jobtracker. If the value is empty, no
  569. hosts are excluded.</description>
  570. </property>
  571. <property>
  572. <name>mapred.heartbeats.in.second</name>
  573. <value>100</value>
  574. <description>Expert: Approximate number of heart-beats that could arrive
  575. at JobTracker in a second. Assuming each RPC can be processed
  576. in 10msec, the default value is made 100 RPCs in a second.
  577. </description>
  578. </property>
  579. <property>
  580. <name>mapred.max.tracker.blacklists</name>
  581. <value>4</value>
  582. <description>The number of blacklists for a taskTracker by various jobs
  583. after which the task tracker could be blacklisted across
  584. all jobs. The tracker will be given a tasks later
  585. (after a day). The tracker will become a healthy
  586. tracker after a restart.
  587. </description>
  588. </property>
  589. <property>
  590. <name>mapred.max.tracker.failures</name>
  591. <value>4</value>
  592. <description>The number of task-failures on a tasktracker of a given job
  593. after which new tasks of that job aren't assigned to it.
  594. </description>
  595. </property>
  596. <property>
  597. <name>jobclient.output.filter</name>
  598. <value>FAILED</value>
  599. <description>The filter for controlling the output of the task's userlogs sent
  600. to the console of the JobClient.
  601. The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
  602. ALL.
  603. </description>
  604. </property>
  605. <property>
  606. <name>mapred.job.tracker.persist.jobstatus.active</name>
  607. <value>false</value>
  608. <description>Indicates if persistency of job status information is
  609. active or not.
  610. </description>
  611. </property>
  612. <property>
  613. <name>mapred.job.tracker.persist.jobstatus.hours</name>
  614. <value>0</value>
  615. <description>The number of hours job status information is persisted in DFS.
  616. The job status information will be available after it drops of the memory
  617. queue and between jobtracker restarts. With a zero value the job status
  618. information is not persisted at all in DFS.
  619. </description>
  620. </property>
  621. <property>
  622. <name>mapred.job.tracker.persist.jobstatus.dir</name>
  623. <value>/jobtracker/jobsInfo</value>
  624. <description>The directory where the job status information is persisted
  625. in a file system to be available after it drops of the memory queue and
  626. between jobtracker restarts.
  627. </description>
  628. </property>
  629. <property>
  630. <name>mapred.task.profile</name>
  631. <value>false</value>
  632. <description>To set whether the system should collect profiler
  633. information for some of the tasks in this job? The information is stored
  634. in the user log directory. The value is "true" if task profiling
  635. is enabled.</description>
  636. </property>
  637. <property>
  638. <name>mapred.task.profile.maps</name>
  639. <value>0-2</value>
  640. <description> To set the ranges of map tasks to profile.
  641. mapred.task.profile has to be set to true for the value to be accounted.
  642. </description>
  643. </property>
  644. <property>
  645. <name>mapred.task.profile.reduces</name>
  646. <value>0-2</value>
  647. <description> To set the ranges of reduce tasks to profile.
  648. mapred.task.profile has to be set to true for the value to be accounted.
  649. </description>
  650. </property>
  651. <property>
  652. <name>mapred.line.input.format.linespermap</name>
  653. <value>1</value>
  654. <description> Number of lines per split in NLineInputFormat.
  655. </description>
  656. </property>
  657. <property>
  658. <name>mapred.skip.attempts.to.start.skipping</name>
  659. <value>2</value>
  660. <description> The number of Task attempts AFTER which skip mode
  661. will be kicked off. When skip mode is kicked off, the
  662. tasks reports the range of records which it will process
  663. next, to the TaskTracker. So that on failures, TT knows which
  664. ones are possibly the bad records. On further executions,
  665. those are skipped.
  666. </description>
  667. </property>
  668. <property>
  669. <name>mapred.skip.map.auto.incr.proc.count</name>
  670. <value>true</value>
  671. <description> The flag which if set to true,
  672. SkipBadRecords.COUNTER_MAP_PROCESSED_RECORDS is incremented
  673. by MapRunner after invoking the map function. This value must be set to
  674. false for applications which process the records asynchronously
  675. or buffer the input records. For example streaming.
  676. In such cases applications should increment this counter on their own.
  677. </description>
  678. </property>
  679. <property>
  680. <name>mapred.skip.reduce.auto.incr.proc.count</name>
  681. <value>true</value>
  682. <description> The flag which if set to true,
  683. SkipBadRecords.COUNTER_REDUCE_PROCESSED_GROUPS is incremented
  684. by framework after invoking the reduce function. This value must be set to
  685. false for applications which process the records asynchronously
  686. or buffer the input records. For example streaming.
  687. In such cases applications should increment this counter on their own.
  688. </description>
  689. </property>
  690. <property>
  691. <name>mapred.skip.out.dir</name>
  692. <value></value>
  693. <description> If no value is specified here, the skipped records are
  694. written to the output directory at _logs/skip.
  695. User can stop writing skipped records by giving the value "none".
  696. </description>
  697. </property>
  698. <property>
  699. <name>mapred.skip.map.max.skip.records</name>
  700. <value>0</value>
  701. <description> The number of acceptable skip records surrounding the bad
  702. record PER bad record in mapper. The number includes the bad record as well.
  703. To turn the feature of detection/skipping of bad records off, set the
  704. value to 0.
  705. The framework tries to narrow down the skipped range by retrying
  706. until this threshold is met OR all attempts get exhausted for this task.
  707. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  708. narrow down. Whatever records(depends on application) get skipped are
  709. acceptable.
  710. </description>
  711. </property>
  712. <property>
  713. <name>mapred.skip.reduce.max.skip.groups</name>
  714. <value>0</value>
  715. <description> The number of acceptable skip groups surrounding the bad
  716. group PER bad group in reducer. The number includes the bad group as well.
  717. To turn the feature of detection/skipping of bad groups off, set the
  718. value to 0.
  719. The framework tries to narrow down the skipped range by retrying
  720. until this threshold is met OR all attempts get exhausted for this task.
  721. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  722. narrow down. Whatever groups(depends on application) get skipped are
  723. acceptable.
  724. </description>
  725. </property>
  726. <!-- Job Notification Configuration -->
  727. <!--
  728. <property>
  729. <name>job.end.notification.url</name>
  730. <value>http://localhost:8080/jobstatus.php?jobId=$jobId&amp;jobStatus=$jobStatus</value>
  731. <description>Indicates url which will be called on completion of job to inform
  732. end status of job.
  733. User can give at most 2 variables with URI : $jobId and $jobStatus.
  734. If they are present in URI, then they will be replaced by their
  735. respective values.
  736. </description>
  737. </property>
  738. -->
  739. <property>
  740. <name>job.end.retry.attempts</name>
  741. <value>0</value>
  742. <description>Indicates how many times hadoop should attempt to contact the
  743. notification URL </description>
  744. </property>
  745. <property>
  746. <name>job.end.retry.interval</name>
  747. <value>30000</value>
  748. <description>Indicates time in milliseconds between notification URL retry
  749. calls</description>
  750. </property>
  751. <!-- Proxy Configuration -->
  752. <property>
  753. <name>hadoop.rpc.socket.factory.class.JobSubmissionProtocol</name>
  754. <value></value>
  755. <description> SocketFactory to use to connect to a Map/Reduce master
  756. (JobTracker). If null or empty, then use hadoop.rpc.socket.class.default.
  757. </description>
  758. </property>
  759. <property>
  760. <name>mapred.task.cache.levels</name>
  761. <value>2</value>
  762. <description> This is the max level of the task cache. For example, if
  763. the level is 2, the tasks cached are at the host level and at the rack
  764. level.
  765. </description>
  766. </property>
  767. <property>
  768. <name>mapred.queue.names</name>
  769. <value>default</value>
  770. <description> Comma separated list of queues configured for this jobtracker.
  771. Jobs are added to queues and schedulers can configure different
  772. scheduling properties for the various queues. To configure a property
  773. for a queue, the name of the queue must match the name specified in this
  774. value. Queue properties that are common to all schedulers are configured
  775. here with the naming convention, mapred.queue.$QUEUE-NAME.$PROPERTY-NAME,
  776. for e.g. mapred.queue.default.submit-job-acl.
  777. The number of queues configured in this parameter could depend on the
  778. type of scheduler being used, as specified in
  779. mapred.jobtracker.taskScheduler. For example, the JobQueueTaskScheduler
  780. supports only a single queue, which is the default configured here.
  781. Before adding more queues, ensure that the scheduler you've configured
  782. supports multiple queues.
  783. </description>
  784. </property>
  785. <property>
  786. <name>mapred.acls.enabled</name>
  787. <value>false</value>
  788. <description> Specifies whether ACLs are enabled, and should be checked
  789. for various operations.
  790. </description>
  791. </property>
  792. <property>
  793. <name>mapred.job.queue.name</name>
  794. <value>default</value>
  795. <description> Queue to which a job is submitted. This must match one of the
  796. queues defined in mapred.queue.names for the system. Also, the ACL setup
  797. for the queue must allow the current user to submit a job to the queue.
  798. Before specifying a queue, ensure that the system is configured with
  799. the queue, and access is allowed for submitting jobs to the queue.
  800. </description>
  801. </property>
  802. <property>
  803. <name>mapred.tasktracker.indexcache.mb</name>
  804. <value>10</value>
  805. <description> The maximum memory that a task tracker allows for the
  806. index cache that is used when serving map outputs to reducers.
  807. </description>
  808. </property>
  809. <property>
  810. <name>mapred.merge.recordsBeforeProgress</name>
  811. <value>10000</value>
  812. <description> The number of records to process during merge before
  813. sending a progress notification to the TaskTracker.
  814. </description>
  815. </property>
  816. <property>
  817. <name>mapred.reduce.slowstart.completed.maps</name>
  818. <value>0.05</value>
  819. <description>Fraction of the number of maps in the job which should be
  820. complete before reduces are scheduled for the job.
  821. </description>
  822. </property>
  823. <property>
  824. <name>mapred.task.tracker.task-controller</name>
  825. <value>org.apache.hadoop.mapred.DefaultTaskController</value>
  826. <description>TaskController which is used to launch and manage task execution
  827. </description>
  828. </property>
  829. <!-- Node health script variables -->
  830. <property>
  831. <name>mapred.healthChecker.script.path</name>
  832. <value></value>
  833. <description>Absolute path to the script which is
  834. periodicallyrun by the node health monitoring service to determine if
  835. the node is healthy or not. If the value of this key is empty or the
  836. file does not exist in the location configured here, the node health
  837. monitoring service is not started.</description>
  838. </property>
  839. <property>
  840. <name>mapred.healthChecker.interval</name>
  841. <value>60000</value>
  842. <description>Frequency of the node health script to be run,
  843. in milliseconds</description>
  844. </property>
  845. <property>
  846. <name>mapred.healthChecker.script.timeout</name>
  847. <value>600000</value>
  848. <description>Time after node health script should be killed if
  849. unresponsive and considered that the script has failed.</description>
  850. </property>
  851. <property>
  852. <name>mapred.healthChecker.script.args</name>
  853. <value></value>
  854. <description>List of arguments which are to be passed to
  855. node health script when it is being launched comma seperated.
  856. </description>
  857. </property>
  858. <!-- end of node health script variables -->
  859. </configuration>