hadoop-default.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918
  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 hadoop-site.xml and change them -->
  5. <!-- there. If hadoop-site.xml does not already exist, create it. -->
  6. <configuration>
  7. <!--- global properties -->
  8. <property>
  9. <name>hadoop.tmp.dir</name>
  10. <value>/tmp/hadoop-${user.name}</value>
  11. <description>A base for other temporary directories.</description>
  12. </property>
  13. <property>
  14. <name>hadoop.native.lib</name>
  15. <value>true</value>
  16. <description>Should native hadoop libraries, if present, be used.</description>
  17. </property>
  18. <!--- logging properties -->
  19. <property>
  20. <name>hadoop.logfile.size</name>
  21. <value>10000000</value>
  22. <description>The max size of each log file</description>
  23. </property>
  24. <property>
  25. <name>hadoop.logfile.count</name>
  26. <value>10</value>
  27. <description>The max number of log files</description>
  28. </property>
  29. <property>
  30. <name>dfs.namenode.logging.level</name>
  31. <value>info</value>
  32. <description>The logging level for dfs namenode. Other values are "dir"(trac
  33. e namespace mutations), "block"(trace block under/over replications and block
  34. creations/deletions), or "all".</description>
  35. </property>
  36. <!-- i/o properties -->
  37. <property>
  38. <name>io.sort.factor</name>
  39. <value>10</value>
  40. <description>The number of streams to merge at once while sorting
  41. files. This determines the number of open file handles.</description>
  42. </property>
  43. <property>
  44. <name>io.sort.mb</name>
  45. <value>100</value>
  46. <description>The total amount of buffer memory to use while sorting
  47. files, in megabytes. By default, gives each merge stream 1MB, which
  48. should minimize seeks.</description>
  49. </property>
  50. <property>
  51. <name>io.file.buffer.size</name>
  52. <value>4096</value>
  53. <description>The size of buffer for use in sequence files.
  54. The size of this buffer should probably be a multiple of hardware
  55. page size (4096 on Intel x86), and it determines how much data is
  56. buffered during read and write operations.</description>
  57. </property>
  58. <property>
  59. <name>io.bytes.per.checksum</name>
  60. <value>512</value>
  61. <description>The number of bytes per checksum. Must not be larger than
  62. io.file.buffer.size.</description>
  63. </property>
  64. <property>
  65. <name>io.skip.checksum.errors</name>
  66. <value>false</value>
  67. <description>If true, when a checksum error is encountered while
  68. reading a sequence file, entries are skipped, instead of throwing an
  69. exception.</description>
  70. </property>
  71. <property>
  72. <name>io.map.index.skip</name>
  73. <value>0</value>
  74. <description>Number of index entries to skip between each entry.
  75. Zero by default. Setting this to values larger than zero can
  76. facilitate opening large map files using less memory.</description>
  77. </property>
  78. <property>
  79. <name>io.compression.codecs</name>
  80. <value>org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec</value>
  81. <description>A list of the compression codec classes that can be used
  82. for compression/decompression.</description>
  83. </property>
  84. <!-- file system properties -->
  85. <property>
  86. <name>fs.default.name</name>
  87. <value>file:///</value>
  88. <description>The name of the default file system. A URI whose
  89. scheme and authority determine the FileSystem implementation. The
  90. uri's scheme determines the config property (fs.SCHEME.impl) naming
  91. the FileSystem implementation class. The uri's authority is used to
  92. determine the host, port, etc. for a filesystem.</description>
  93. </property>
  94. <property>
  95. <name>fs.trash.root</name>
  96. <value>${hadoop.tmp.dir}/Trash</value>
  97. <description>The trash directory, used by FsShell's 'rm' command.
  98. </description>
  99. </property>
  100. <property>
  101. <name>fs.trash.interval</name>
  102. <value>0</value>
  103. <description>Number of minutes between trash checkpoints.
  104. If zero, the trash feature is disabled.
  105. </description>
  106. </property>
  107. <property>
  108. <name>fs.file.impl</name>
  109. <value>org.apache.hadoop.fs.LocalFileSystem</value>
  110. <description>The FileSystem for file: uris.</description>
  111. </property>
  112. <property>
  113. <name>fs.hdfs.impl</name>
  114. <value>org.apache.hadoop.dfs.DistributedFileSystem</value>
  115. <description>The FileSystem for hdfs: uris.</description>
  116. </property>
  117. <property>
  118. <name>fs.s3.impl</name>
  119. <value>org.apache.hadoop.fs.s3.S3FileSystem</value>
  120. <description>The FileSystem for s3: uris.</description>
  121. </property>
  122. <property>
  123. <name>fs.hftp.impl</name>
  124. <value>org.apache.hadoop.dfs.HftpFileSystem</value>
  125. </property>
  126. <property>
  127. <name>fs.ramfs.impl</name>
  128. <value>org.apache.hadoop.fs.InMemoryFileSystem</value>
  129. <description>The FileSystem for ramfs: uris.</description>
  130. </property>
  131. <property>
  132. <name>fs.inmemory.size.mb</name>
  133. <value>75</value>
  134. <description>The size of the in-memory filsystem instance in MB</description>
  135. </property>
  136. <property>
  137. <name>fs.checkpoint.dir</name>
  138. <value>${hadoop.tmp.dir}/dfs/namesecondary</value>
  139. <description>Determines where on the local filesystem the DFS secondary
  140. name node should store the temporary images and edits to merge.
  141. </description>
  142. </property>
  143. <property>
  144. <name>fs.checkpoint.period</name>
  145. <value>3600</value>
  146. <description>The number of seconds between two periodic checkpoints.
  147. </description>
  148. </property>
  149. <property>
  150. <name>fs.checkpoint.size</name>
  151. <value>67108864</value>
  152. <description>The size of the current edit log (in bytes) that triggers
  153. a periodic checkpoint even if the fs.checkpoint.period hasn't expired.
  154. </description>
  155. </property>
  156. <property>
  157. <name>dfs.secondary.info.port</name>
  158. <value>50090</value>
  159. <description>The base number for the Secondary namenode info port.
  160. </description>
  161. </property>
  162. <property>
  163. <name>dfs.secondary.info.bindAddress</name>
  164. <value>0.0.0.0</value>
  165. <description>
  166. The address where the secondary namenode web UI will listen to.
  167. </description>
  168. </property>
  169. <property>
  170. <name>dfs.datanode.bindAddress</name>
  171. <value>0.0.0.0</value>
  172. <description>
  173. the address where the datanode will listen to.
  174. </description>
  175. </property>
  176. <property>
  177. <name>dfs.datanode.port</name>
  178. <value>50010</value>
  179. <description>The port number that the dfs datanode server uses as a starting
  180. point to look for a free port to listen on.
  181. </description>
  182. </property>
  183. <property>
  184. <name>dfs.info.bindAddress</name>
  185. <value>0.0.0.0</value>
  186. <description>
  187. the address where the dfs namenode web ui will listen on.
  188. </description>
  189. </property>
  190. <property>
  191. <name>dfs.info.port</name>
  192. <value>50070</value>
  193. <description>The base port number for the dfs namenode web ui.
  194. </description>
  195. </property>
  196. <property>
  197. <name>dfs.datanode.dns.interface</name>
  198. <value>default</value>
  199. <description>The name of the Network Interface from which a data node should
  200. report its IP address.
  201. </description>
  202. </property>
  203. <property>
  204. <name>dfs.datanode.dns.nameserver</name>
  205. <value>default</value>
  206. <description>The host name or IP address of the name server (DNS)
  207. which a DataNode should use to determine the host name used by the
  208. NameNode for communication and display purposes.
  209. </description>
  210. </property>
  211. <property>
  212. <name>dfs.replication.considerLoad</name>
  213. <value>true</value>
  214. <description>Decide if chooseTarget considers the target's load or not
  215. </description>
  216. </property>
  217. <property>
  218. <name>dfs.default.chunk.view.size</name>
  219. <value>32768</value>
  220. <description>The number of bytes to view for a file on the browser.
  221. </description>
  222. </property>
  223. <property>
  224. <name>dfs.datanode.du.reserved</name>
  225. <value>0</value>
  226. <description>Reserved space in bytes per volume. Always leave this much space free for non dfs use.
  227. </description>
  228. </property>
  229. <property>
  230. <name>dfs.datanode.du.pct</name>
  231. <value>0.98f</value>
  232. <description>When calculating remaining space, only use this percentage of the real available space
  233. </description>
  234. </property>
  235. <property>
  236. <name>dfs.name.dir</name>
  237. <value>${hadoop.tmp.dir}/dfs/name</value>
  238. <description>Determines where on the local filesystem the DFS name node
  239. should store the name table. If this is a comma-delimited list
  240. of directories then the name table is replicated in all of the
  241. directories, for redundancy. </description>
  242. </property>
  243. <property>
  244. <name>dfs.client.buffer.dir</name>
  245. <value>${hadoop.tmp.dir}/dfs/tmp</value>
  246. <description>Determines where on the local filesystem an DFS client
  247. should store its blocks before it sends them to the datanode.
  248. </description>
  249. </property>
  250. <property>
  251. <name>dfs.data.dir</name>
  252. <value>${hadoop.tmp.dir}/dfs/data</value>
  253. <description>Determines where on the local filesystem an DFS data node
  254. should store its blocks. If this is a comma-delimited
  255. list of directories, then data will be stored in all named
  256. directories, typically on different devices.
  257. Directories that do not exist are ignored.
  258. </description>
  259. </property>
  260. <property>
  261. <name>dfs.replication</name>
  262. <value>3</value>
  263. <description>Default block replication.
  264. The actual number of replications can be specified when the file is created.
  265. The default is used if replication is not specified in create time.
  266. </description>
  267. </property>
  268. <property>
  269. <name>dfs.replication.max</name>
  270. <value>512</value>
  271. <description>Maximal block replication.
  272. </description>
  273. </property>
  274. <property>
  275. <name>dfs.replication.min</name>
  276. <value>1</value>
  277. <description>Minimal block replication.
  278. </description>
  279. </property>
  280. <property>
  281. <name>dfs.block.size</name>
  282. <value>67108864</value>
  283. <description>The default block size for new files.</description>
  284. </property>
  285. <property>
  286. <name>dfs.df.interval</name>
  287. <value>60000</value>
  288. <description>Disk usage statistics refresh interval in msec.</description>
  289. </property>
  290. <property>
  291. <name>dfs.client.block.write.retries</name>
  292. <value>3</value>
  293. <description>The number of retries for writing blocks to the data nodes,
  294. before we signal failure to the application.
  295. </description>
  296. </property>
  297. <property>
  298. <name>dfs.blockreport.intervalMsec</name>
  299. <value>3600000</value>
  300. <description>Determines block reporting interval in milliseconds.</description>
  301. </property>
  302. <property>
  303. <name>dfs.heartbeat.interval</name>
  304. <value>3</value>
  305. <description>Determines datanode heartbeat interval in seconds.</description>
  306. </property>
  307. <property>
  308. <name>dfs.namenode.handler.count</name>
  309. <value>10</value>
  310. <description>The number of server threads for the namenode.</description>
  311. </property>
  312. <property>
  313. <name>dfs.safemode.threshold.pct</name>
  314. <value>0.999f</value>
  315. <description>
  316. Specifies the percentage of blocks that should satisfy
  317. the minimal replication requirement defined by dfs.replication.min.
  318. Values less than or equal to 0 mean not to start in safe mode.
  319. Values greater than 1 will make safe mode permanent.
  320. </description>
  321. </property>
  322. <property>
  323. <name>dfs.safemode.extension</name>
  324. <value>30000</value>
  325. <description>
  326. Determines extension of safe mode in milliseconds
  327. after the threshold level is reached.
  328. </description>
  329. </property>
  330. <property>
  331. <name>dfs.network.script</name>
  332. <value></value>
  333. <description>
  334. Specifies a script name that print the network location path
  335. of the current machine.
  336. </description>
  337. </property>
  338. <property>
  339. <name>dfs.hosts</name>
  340. <value></value>
  341. <description>Names a file that contains a list of hosts that are
  342. permitted to connect to the namenode. The full pathname of the file
  343. must be specified. If the value is empty, all hosts are
  344. permitted.</description>
  345. </property>
  346. <property>
  347. <name>dfs.hosts.exclude</name>
  348. <value></value>
  349. <description>Names a file that contains a list of hosts that are
  350. not permitted to connect to the namenode. The full pathname of the
  351. file must be specified. If the value is empty, no hosts are
  352. excluded.</description>
  353. </property>
  354. <property>
  355. <name>fs.s3.block.size</name>
  356. <value>67108864</value>
  357. <description>Block size to use when writing files to S3.</description>
  358. </property>
  359. <property>
  360. <name>fs.s3.buffer.dir</name>
  361. <value>${hadoop.tmp.dir}/s3</value>
  362. <description>Determines where on the local filesystem the S3 filesystem
  363. should store its blocks before it sends them to S3
  364. or after it retrieves them from S3.
  365. </description>
  366. </property>
  367. <property>
  368. <name>fs.s3.maxRetries</name>
  369. <value>4</value>
  370. <description>The maximum number of retries for reading or writing blocks to S3,
  371. before we signal failure to the application.
  372. </description>
  373. </property>
  374. <property>
  375. <name>fs.s3.sleepTimeSeconds</name>
  376. <value>10</value>
  377. <description>The number of seconds to sleep between each S3 retry.
  378. </description>
  379. </property>
  380. <!-- map/reduce properties -->
  381. <property>
  382. <name>mapred.job.tracker</name>
  383. <value>local</value>
  384. <description>The host and port that the MapReduce job tracker runs
  385. at. If "local", then jobs are run in-process as a single map
  386. and reduce task.
  387. </description>
  388. </property>
  389. <property>
  390. <name>mapred.job.tracker.info.bindAddress</name>
  391. <value>0.0.0.0</value>
  392. <description>
  393. the address where the job tracker info webserver will be binded on.
  394. </description>
  395. </property>
  396. <property>
  397. <name>mapred.job.tracker.info.port</name>
  398. <value>50030</value>
  399. <description>The port that the MapReduce job tracker info webserver runs at.
  400. </description>
  401. </property>
  402. <property>
  403. <name>mapred.task.tracker.report.bindAddress</name>
  404. <value>127.0.0.1</value>
  405. <description>The interface that task processes use to communicate
  406. with their parent tasktracker process.</description>
  407. </property>
  408. <property>
  409. <name>mapred.local.dir</name>
  410. <value>${hadoop.tmp.dir}/mapred/local</value>
  411. <description>The local directory where MapReduce stores intermediate
  412. data files. May be a comma-separated list of
  413. directories on different devices in order to spread disk i/o.
  414. Directories that do not exist are ignored.
  415. </description>
  416. </property>
  417. <property>
  418. <name>local.cache.size</name>
  419. <value>10737418240</value>
  420. <description>The limit on the size of cache you want to keep, set by default
  421. to 10GB. This will act as a soft limit on the cache directory for out of band data.
  422. </description>
  423. </property>
  424. <property>
  425. <name>mapred.system.dir</name>
  426. <value>${hadoop.tmp.dir}/mapred/system</value>
  427. <description>The shared directory where MapReduce stores control files.
  428. </description>
  429. </property>
  430. <property>
  431. <name>mapred.temp.dir</name>
  432. <value>${hadoop.tmp.dir}/mapred/temp</value>
  433. <description>A shared directory for temporary files.
  434. </description>
  435. </property>
  436. <property>
  437. <name>mapred.local.dir.minspacestart</name>
  438. <value>0</value>
  439. <description>If the space in mapred.local.dir drops under this,
  440. do not ask for more tasks.
  441. Value in bytes.
  442. </description>
  443. </property>
  444. <property>
  445. <name>mapred.local.dir.minspacekill</name>
  446. <value>0</value>
  447. <description>If the space in mapred.local.dir drops under this,
  448. do not ask more tasks until all the current ones have finished and
  449. cleaned up. Also, to save the rest of the tasks we have running,
  450. kill one of them, to clean up some space. Start with the reduce tasks,
  451. then go with the ones that have finished the least.
  452. Value in bytes.
  453. </description>
  454. </property>
  455. <property>
  456. <name>mapred.tasktracker.expiry.interval</name>
  457. <value>600000</value>
  458. <description>Expert: The time-interval, in miliseconds, after which
  459. a tasktracker is declared 'lost' if it doesn't send heartbeats.
  460. </description>
  461. </property>
  462. <property>
  463. <name>mapred.map.tasks</name>
  464. <value>2</value>
  465. <description>The default number of map tasks per job. Typically set
  466. to a prime several times greater than number of available hosts.
  467. Ignored when mapred.job.tracker is "local".
  468. </description>
  469. </property>
  470. <property>
  471. <name>mapred.reduce.tasks</name>
  472. <value>1</value>
  473. <description>The default number of reduce tasks per job. Typically set
  474. to a prime close to the number of available hosts. Ignored when
  475. mapred.job.tracker is "local".
  476. </description>
  477. </property>
  478. <property>
  479. <name>mapred.map.max.attempts</name>
  480. <value>4</value>
  481. <description>Expert: The maximum number of attempts per map task.
  482. In other words, framework will try to execute a map task these many number
  483. of times before giving up on it.
  484. </description>
  485. </property>
  486. <property>
  487. <name>mapred.reduce.max.attempts</name>
  488. <value>4</value>
  489. <description>Expert: The maximum number of attempts per reduce task.
  490. In other words, framework will try to execute a reduce task these many number
  491. of times before giving up on it.
  492. </description>
  493. </property>
  494. <property>
  495. <name>mapred.reduce.parallel.copies</name>
  496. <value>5</value>
  497. <description>The default number of parallel transfers run by reduce
  498. during the copy(shuffle) phase.
  499. </description>
  500. </property>
  501. <property>
  502. <name>mapred.task.timeout</name>
  503. <value>600000</value>
  504. <description>The number of milliseconds before a task will be
  505. terminated if it neither reads an input, writes an output, nor
  506. updates its status string.
  507. </description>
  508. </property>
  509. <property>
  510. <name>mapred.tasktracker.tasks.maximum</name>
  511. <value>2</value>
  512. <description>The maximum number of tasks that will be run
  513. simultaneously by a task tracker.
  514. </description>
  515. </property>
  516. <property>
  517. <name>mapred.jobtracker.completeuserjobs.maximum</name>
  518. <value>100</value>
  519. <description>The maximum number of complete jobs per user to keep around before delegating them to the job history.
  520. </description>
  521. </property>
  522. <property>
  523. <name>mapred.child.java.opts</name>
  524. <value>-Xmx200m</value>
  525. <description>Java opts for the task tracker child processes. Subsumes
  526. 'mapred.child.heap.size' (If a mapred.child.heap.size value is found
  527. in a configuration, its maximum heap size will be used and a warning
  528. emitted that heap.size has been deprecated). Also, the following symbol,
  529. if present, will be interpolated: @taskid@ is replaced by current TaskID.
  530. Any other occurrences of '@' will go unchanged. For
  531. example, to enable verbose gc logging to a file named for the taskid in
  532. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  533. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  534. </description>
  535. </property>
  536. <property>
  537. <name>mapred.inmem.merge.threshold</name>
  538. <value>1000</value>
  539. <description>The threshold, in terms of the number of files
  540. for the in-memory merge process. When we accumulate threshold number of files
  541. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  542. 0 indicates we want to DON'T have any threshold and instead depend only on
  543. the ramfs's memory consumption to trigger the merge.
  544. </description>
  545. </property>
  546. <property>
  547. <name>mapred.speculative.execution</name>
  548. <value>true</value>
  549. <description>If true, then multiple instances of some map and reduce tasks
  550. may be executed in parallel.</description>
  551. </property>
  552. <property>
  553. <name>mapred.min.split.size</name>
  554. <value>0</value>
  555. <description>The minimum size chunk that map input should be split
  556. into. Note that some file formats may have minimum split sizes that
  557. take priority over this setting.</description>
  558. </property>
  559. <property>
  560. <name>mapred.submit.replication</name>
  561. <value>10</value>
  562. <description>The replication level for submitted job files. This
  563. should be around the square root of the number of nodes.
  564. </description>
  565. </property>
  566. <property>
  567. <name>mapred.tasktracker.dns.interface</name>
  568. <value>default</value>
  569. <description>The name of the Network Interface from which a task
  570. tracker should report its IP address.
  571. </description>
  572. </property>
  573. <property>
  574. <name>mapred.tasktracker.dns.nameserver</name>
  575. <value>default</value>
  576. <description>The host name or IP address of the name server (DNS)
  577. which a TaskTracker should use to determine the host name used by
  578. the JobTracker for communication and display purposes.
  579. </description>
  580. </property>
  581. <property>
  582. <name>tasktracker.http.threads</name>
  583. <value>40</value>
  584. <description>The number of worker threads that for the http server. This is
  585. used for map output fetching
  586. </description>
  587. </property>
  588. <property>
  589. <name>tasktracker.http.bindAddress</name>
  590. <value>0.0.0.0</value>
  591. <description>
  592. the address where the task tracker http server will be binded on.
  593. </description>
  594. </property>
  595. <property>
  596. <name>tasktracker.http.port</name>
  597. <value>50060</value>
  598. <description>The default port for task trackers to use as their http server.
  599. </description>
  600. </property>
  601. <property>
  602. <name>keep.failed.task.files</name>
  603. <value>false</value>
  604. <description>Should the files for failed tasks be kept. This should only be
  605. used on jobs that are failing, because the storage is never
  606. reclaimed. It also prevents the map outputs from being erased
  607. from the reduce directory as they are consumed.</description>
  608. </property>
  609. <!--
  610. <property>
  611. <name>keep.task.files.pattern</name>
  612. <value>.*_m_123456_0</value>
  613. <description>Keep all files from tasks whose task names match the given
  614. regular expression. Defaults to none.</description>
  615. </property>
  616. -->
  617. <property>
  618. <name>mapred.output.compress</name>
  619. <value>false</value>
  620. <description>Should the outputs of the reduces be compressed?
  621. </description>
  622. </property>
  623. <property>
  624. <name>mapred.output.compression.codec</name>
  625. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  626. <description>If the reduce outputs are compressed, how should they be
  627. compressed?
  628. </description>
  629. </property>
  630. <property>
  631. <name>mapred.compress.map.output</name>
  632. <value>false</value>
  633. <description>Should the outputs of the maps be compressed before being
  634. sent across the network. Uses SequenceFile compression.
  635. </description>
  636. </property>
  637. <property>
  638. <name>io.seqfile.compress.blocksize</name>
  639. <value>1000000</value>
  640. <description>The minimum block size for compression in block compressed
  641. SequenceFiles.
  642. </description>
  643. </property>
  644. <property>
  645. <name>io.seqfile.lazydecompress</name>
  646. <value>true</value>
  647. <description>Should values of block-compressed SequenceFiles be decompressed
  648. only when necessary.
  649. </description>
  650. </property>
  651. <property>
  652. <name>io.seqfile.sorter.recordlimit</name>
  653. <value>1000000</value>
  654. <description>The limit on number of records to be kept in memory in a spill
  655. in SequenceFiles.Sorter
  656. </description>
  657. </property>
  658. <property>
  659. <name>io.seqfile.compression.type</name>
  660. <value>RECORD</value>
  661. <description>The default compression type for SequenceFile.Writer.
  662. </description>
  663. </property>
  664. <property>
  665. <name>map.sort.class</name>
  666. <value>org.apache.hadoop.mapred.MergeSorter</value>
  667. <description>The default sort class for sorting keys.
  668. </description>
  669. </property>
  670. <property>
  671. <name>mapred.userlog.limit.kb</name>
  672. <value>0</value>
  673. <description>The maximum size of user-logs of each task in KB. 0 disables the cap.
  674. </description>
  675. </property>
  676. <property>
  677. <name>mapred.userlog.retain.hours</name>
  678. <value>24</value>
  679. <description>The maximum time, in hours, for which the user-logs are to be
  680. retained.
  681. </description>
  682. </property>
  683. <property>
  684. <name>mapred.hosts</name>
  685. <value></value>
  686. <description>Names a file that contains the list of nodes that may
  687. connect to the jobtracker. If the value is empty, all hosts are
  688. permitted.</description>
  689. </property>
  690. <property>
  691. <name>mapred.hosts.exclude</name>
  692. <value></value>
  693. <description>Names a file that contains the list of hosts that
  694. should be excluded by the jobtracker. If the value is empty, no
  695. hosts are excluded.</description>
  696. </property>
  697. <property>
  698. <name>mapred.max.tracker.failures</name>
  699. <value>4</value>
  700. <description>The number of task-failures on a tasktracker of a given job
  701. after which new tasks of that job aren't assigned to it.
  702. </description>
  703. </property>
  704. <property>
  705. <name>jobclient.output.filter</name>
  706. <value>FAILED</value>
  707. <description>The filter for controlling the output of the task's userlogs sent
  708. to the console of the JobClient.
  709. The permissible options are: NONE, FAILED, SUCCEEDED and ALL.
  710. </description>
  711. </property>
  712. <!-- ipc properties -->
  713. <property>
  714. <name>ipc.client.timeout</name>
  715. <value>60000</value>
  716. <description>Defines the timeout for IPC calls in milliseconds.</description>
  717. </property>
  718. <property>
  719. <name>ipc.client.idlethreshold</name>
  720. <value>4000</value>
  721. <description>Defines the threshold number of connections after which
  722. connections will be inspected for idleness.
  723. </description>
  724. </property>
  725. <property>
  726. <name>ipc.client.maxidletime</name>
  727. <value>120000</value>
  728. <description>Defines the maximum idle time for a connected client after
  729. which it may be disconnected.
  730. </description>
  731. </property>
  732. <property>
  733. <name>ipc.client.kill.max</name>
  734. <value>10</value>
  735. <description>Defines the maximum number of clients to disconnect in one go.
  736. </description>
  737. </property>
  738. <property>
  739. <name>ipc.client.connection.maxidletime</name>
  740. <value>1000</value>
  741. <description>The maximum time after which a client will bring down the
  742. connection to the server.
  743. </description>
  744. </property>
  745. <property>
  746. <name>ipc.client.connect.max.retries</name>
  747. <value>10</value>
  748. <description>Indicates the number of retries a client will make to establish
  749. a server connection.
  750. </description>
  751. </property>
  752. <property>
  753. <name>ipc.server.listen.queue.size</name>
  754. <value>128</value>
  755. <description>Indicates the length of the listen queue for servers accepting
  756. client connections.
  757. </description>
  758. </property>
  759. <!-- Job Notification Configuration -->
  760. <!--
  761. <property>
  762. <name>job.end.notification.url</name>
  763. <value>http://localhost:8080/jobstatus.php?jobId=$jobId&amp;jobStatus=$jobStatus</value>
  764. <description>Indicates url which will be called on completion of job to inform
  765. end status of job.
  766. User can give at most 2 variables with URI : $jobId and $jobStatus.
  767. If they are present in URI, then they will be replaced by their
  768. respective values.
  769. </description>
  770. </property>
  771. -->
  772. <property>
  773. <name>job.end.retry.attempts</name>
  774. <value>0</value>
  775. <description>Indicates how many times hadoop should attempt to contact the
  776. notification URL </description>
  777. </property>
  778. <property>
  779. <name>job.end.retry.interval</name>
  780. <value>30000</value>
  781. <description>Indicates time in milliseconds between notification URL retry
  782. calls</description>
  783. </property>
  784. <!-- Web Interface Configuration -->
  785. <property>
  786. <name>webinterface.private.actions</name>
  787. <value>false</value>
  788. <description> If set to true, the web interfaces of JT and NN may contain
  789. actions, such as kill job, delete file, etc., that should
  790. not be exposed to public. Enable this option if the interfaces
  791. are only reachable by those who have the right authorization.
  792. </description>
  793. </property>
  794. </configuration>