mapred-default.xml 31 KB

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