hadoop-default.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  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>0.0.0.0</value>
  405. <description>
  406. the address where the maperd tracker report server will be binded on.
  407. </description>
  408. </property>
  409. <property>
  410. <name>mapred.task.tracker.report.port</name>
  411. <value>50050</value>
  412. <description>The port number that the MapReduce task tracker report server uses as a starting
  413. point to look for a free port to listen on.
  414. </description>
  415. </property>
  416. <property>
  417. <name>mapred.local.dir</name>
  418. <value>${hadoop.tmp.dir}/mapred/local</value>
  419. <description>The local directory where MapReduce stores intermediate
  420. data files. May be a comma-separated list of
  421. directories on different devices in order to spread disk i/o.
  422. Directories that do not exist are ignored.
  423. </description>
  424. </property>
  425. <property>
  426. <name>local.cache.size</name>
  427. <value>10737418240</value>
  428. <description>The limit on the size of cache you want to keep, set by default
  429. to 10GB. This will act as a soft limit on the cache directory for out of band data.
  430. </description>
  431. </property>
  432. <property>
  433. <name>mapred.system.dir</name>
  434. <value>${hadoop.tmp.dir}/mapred/system</value>
  435. <description>The shared directory where MapReduce stores control files.
  436. </description>
  437. </property>
  438. <property>
  439. <name>mapred.temp.dir</name>
  440. <value>${hadoop.tmp.dir}/mapred/temp</value>
  441. <description>A shared directory for temporary files.
  442. </description>
  443. </property>
  444. <property>
  445. <name>mapred.local.dir.minspacestart</name>
  446. <value>0</value>
  447. <description>If the space in mapred.local.dir drops under this,
  448. do not ask for more tasks.
  449. Value in bytes.
  450. </description>
  451. </property>
  452. <property>
  453. <name>mapred.local.dir.minspacekill</name>
  454. <value>0</value>
  455. <description>If the space in mapred.local.dir drops under this,
  456. do not ask more tasks until all the current ones have finished and
  457. cleaned up. Also, to save the rest of the tasks we have running,
  458. kill one of them, to clean up some space. Start with the reduce tasks,
  459. then go with the ones that have finished the least.
  460. Value in bytes.
  461. </description>
  462. </property>
  463. <property>
  464. <name>mapred.tasktracker.expiry.interval</name>
  465. <value>600000</value>
  466. <description>Expert: The time-interval, in miliseconds, after which
  467. a tasktracker is declared 'lost' if it doesn't send heartbeats.
  468. </description>
  469. </property>
  470. <property>
  471. <name>mapred.map.tasks</name>
  472. <value>2</value>
  473. <description>The default number of map tasks per job. Typically set
  474. to a prime several times greater than number of available hosts.
  475. Ignored when mapred.job.tracker is "local".
  476. </description>
  477. </property>
  478. <property>
  479. <name>mapred.reduce.tasks</name>
  480. <value>1</value>
  481. <description>The default number of reduce tasks per job. Typically set
  482. to a prime close to the number of available hosts. Ignored when
  483. mapred.job.tracker is "local".
  484. </description>
  485. </property>
  486. <property>
  487. <name>mapred.map.max.attempts</name>
  488. <value>4</value>
  489. <description>Expert: The maximum number of attempts per map task.
  490. In other words, framework will try to execute a map task these many number
  491. of times before giving up on it.
  492. </description>
  493. </property>
  494. <property>
  495. <name>mapred.reduce.max.attempts</name>
  496. <value>4</value>
  497. <description>Expert: The maximum number of attempts per reduce task.
  498. In other words, framework will try to execute a reduce task these many number
  499. of times before giving up on it.
  500. </description>
  501. </property>
  502. <property>
  503. <name>mapred.reduce.parallel.copies</name>
  504. <value>5</value>
  505. <description>The default number of parallel transfers run by reduce
  506. during the copy(shuffle) phase.
  507. </description>
  508. </property>
  509. <property>
  510. <name>mapred.task.timeout</name>
  511. <value>600000</value>
  512. <description>The number of milliseconds before a task will be
  513. terminated if it neither reads an input, writes an output, nor
  514. updates its status string.
  515. </description>
  516. </property>
  517. <property>
  518. <name>mapred.tasktracker.tasks.maximum</name>
  519. <value>2</value>
  520. <description>The maximum number of tasks that will be run
  521. simultaneously by a task tracker.
  522. </description>
  523. </property>
  524. <property>
  525. <name>mapred.jobtracker.completeuserjobs.maximum</name>
  526. <value>100</value>
  527. <description>The maximum number of complete jobs per user to keep around before delegating them to the job history.
  528. </description>
  529. </property>
  530. <property>
  531. <name>mapred.child.java.opts</name>
  532. <value>-Xmx200m</value>
  533. <description>Java opts for the task tracker child processes. Subsumes
  534. 'mapred.child.heap.size' (If a mapred.child.heap.size value is found
  535. in a configuration, its maximum heap size will be used and a warning
  536. emitted that heap.size has been deprecated). Also, the following symbols,
  537. if present, will be interpolated: @taskid@ is replaced by current TaskID;
  538. and @port@ will be replaced by mapred.task.tracker.report.port + 1 (A second
  539. child will fail with a port-in-use if mapred.tasktracker.tasks.maximum is
  540. greater than one). Any other occurrences of '@' will go unchanged. For
  541. example, to enable verbose gc logging to a file named for the taskid in
  542. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  543. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  544. </description>
  545. </property>
  546. <property>
  547. <name>mapred.inmem.merge.threshold</name>
  548. <value>1000</value>
  549. <description>The threshold, in terms of the number of files
  550. for the in-memory merge process. When we accumulate threshold number of files
  551. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  552. 0 indicates we want to DON'T have any threshold and instead depend only on
  553. the ramfs's memory consumption to trigger the merge.
  554. </description>
  555. </property>
  556. <property>
  557. <name>mapred.speculative.execution</name>
  558. <value>true</value>
  559. <description>If true, then multiple instances of some map and reduce tasks
  560. may be executed in parallel.</description>
  561. </property>
  562. <property>
  563. <name>mapred.min.split.size</name>
  564. <value>0</value>
  565. <description>The minimum size chunk that map input should be split
  566. into. Note that some file formats may have minimum split sizes that
  567. take priority over this setting.</description>
  568. </property>
  569. <property>
  570. <name>mapred.submit.replication</name>
  571. <value>10</value>
  572. <description>The replication level for submitted job files. This
  573. should be around the square root of the number of nodes.
  574. </description>
  575. </property>
  576. <property>
  577. <name>mapred.tasktracker.dns.interface</name>
  578. <value>default</value>
  579. <description>The name of the Network Interface from which a task
  580. tracker should report its IP address.
  581. </description>
  582. </property>
  583. <property>
  584. <name>mapred.tasktracker.dns.nameserver</name>
  585. <value>default</value>
  586. <description>The host name or IP address of the name server (DNS)
  587. which a TaskTracker should use to determine the host name used by
  588. the JobTracker for communication and display purposes.
  589. </description>
  590. </property>
  591. <property>
  592. <name>tasktracker.http.threads</name>
  593. <value>40</value>
  594. <description>The number of worker threads that for the http server. This is
  595. used for map output fetching
  596. </description>
  597. </property>
  598. <property>
  599. <name>tasktracker.http.bindAddress</name>
  600. <value>0.0.0.0</value>
  601. <description>
  602. the address where the task tracker http server will be binded on.
  603. </description>
  604. </property>
  605. <property>
  606. <name>tasktracker.http.port</name>
  607. <value>50060</value>
  608. <description>The default port for task trackers to use as their http server.
  609. </description>
  610. </property>
  611. <property>
  612. <name>keep.failed.task.files</name>
  613. <value>false</value>
  614. <description>Should the files for failed tasks be kept. This should only be
  615. used on jobs that are failing, because the storage is never
  616. reclaimed. It also prevents the map outputs from being erased
  617. from the reduce directory as they are consumed.</description>
  618. </property>
  619. <!--
  620. <property>
  621. <name>keep.task.files.pattern</name>
  622. <value>.*_m_123456_0</value>
  623. <description>Keep all files from tasks whose task names match the given
  624. regular expression. Defaults to none.</description>
  625. </property>
  626. -->
  627. <property>
  628. <name>mapred.output.compress</name>
  629. <value>false</value>
  630. <description>Should the outputs of the reduces be compressed?
  631. </description>
  632. </property>
  633. <property>
  634. <name>mapred.output.compression.codec</name>
  635. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  636. <description>If the reduce outputs are compressed, how should they be
  637. compressed?
  638. </description>
  639. </property>
  640. <property>
  641. <name>mapred.compress.map.output</name>
  642. <value>false</value>
  643. <description>Should the outputs of the maps be compressed before being
  644. sent across the network. Uses SequenceFile compression.
  645. </description>
  646. </property>
  647. <property>
  648. <name>io.seqfile.compress.blocksize</name>
  649. <value>1000000</value>
  650. <description>The minimum block size for compression in block compressed
  651. SequenceFiles.
  652. </description>
  653. </property>
  654. <property>
  655. <name>io.seqfile.lazydecompress</name>
  656. <value>true</value>
  657. <description>Should values of block-compressed SequenceFiles be decompressed
  658. only when necessary.
  659. </description>
  660. </property>
  661. <property>
  662. <name>io.seqfile.sorter.recordlimit</name>
  663. <value>1000000</value>
  664. <description>The limit on number of records to be kept in memory in a spill
  665. in SequenceFiles.Sorter
  666. </description>
  667. </property>
  668. <property>
  669. <name>io.seqfile.compression.type</name>
  670. <value>RECORD</value>
  671. <description>The default compression type for SequenceFile.Writer.
  672. </description>
  673. </property>
  674. <property>
  675. <name>map.sort.class</name>
  676. <value>org.apache.hadoop.mapred.MergeSorter</value>
  677. <description>The default sort class for sorting keys.
  678. </description>
  679. </property>
  680. <property>
  681. <name>mapred.userlog.limit.kb</name>
  682. <value>0</value>
  683. <description>The maximum size of user-logs of each task in KB. 0 disables the cap.
  684. </description>
  685. </property>
  686. <property>
  687. <name>mapred.userlog.retain.hours</name>
  688. <value>24</value>
  689. <description>The maximum time, in hours, for which the user-logs are to be
  690. retained.
  691. </description>
  692. </property>
  693. <property>
  694. <name>mapred.hosts</name>
  695. <value></value>
  696. <description>Names a file that contains the list of nodes that may
  697. connect to the jobtracker. If the value is empty, all hosts are
  698. permitted.</description>
  699. </property>
  700. <property>
  701. <name>mapred.hosts.exclude</name>
  702. <value></value>
  703. <description>Names a file that contains the list of hosts that
  704. should be excluded by the jobtracker. If the value is empty, no
  705. hosts are excluded.</description>
  706. </property>
  707. <property>
  708. <name>mapred.max.tracker.failures</name>
  709. <value>4</value>
  710. <description>The number of task-failures on a tasktracker of a given job
  711. after which new tasks of that job aren't assigned to it.
  712. </description>
  713. </property>
  714. <property>
  715. <name>jobclient.output.filter</name>
  716. <value>FAILED</value>
  717. <description>The filter for controlling the output of the task's userlogs sent
  718. to the console of the JobClient.
  719. The permissible options are: NONE, FAILED, SUCCEEDED and ALL.
  720. </description>
  721. </property>
  722. <!-- ipc properties -->
  723. <property>
  724. <name>ipc.client.timeout</name>
  725. <value>60000</value>
  726. <description>Defines the timeout for IPC calls in milliseconds.</description>
  727. </property>
  728. <property>
  729. <name>ipc.client.idlethreshold</name>
  730. <value>4000</value>
  731. <description>Defines the threshold number of connections after which
  732. connections will be inspected for idleness.
  733. </description>
  734. </property>
  735. <property>
  736. <name>ipc.client.maxidletime</name>
  737. <value>120000</value>
  738. <description>Defines the maximum idle time for a connected client after
  739. which it may be disconnected.
  740. </description>
  741. </property>
  742. <property>
  743. <name>ipc.client.kill.max</name>
  744. <value>10</value>
  745. <description>Defines the maximum number of clients to disconnect in one go.
  746. </description>
  747. </property>
  748. <property>
  749. <name>ipc.client.connection.maxidletime</name>
  750. <value>1000</value>
  751. <description>The maximum time after which a client will bring down the
  752. connection to the server.
  753. </description>
  754. </property>
  755. <property>
  756. <name>ipc.client.connect.max.retries</name>
  757. <value>10</value>
  758. <description>Indicates the number of retries a client will make to establish
  759. a server connection.
  760. </description>
  761. </property>
  762. <property>
  763. <name>ipc.server.listen.queue.size</name>
  764. <value>128</value>
  765. <description>Indicates the length of the listen queue for servers accepting
  766. client connections.
  767. </description>
  768. </property>
  769. <!-- Job Notification Configuration -->
  770. <!--
  771. <property>
  772. <name>job.end.notification.url</name>
  773. <value>http://localhost:8080/jobstatus.php?jobId=$jobId&amp;jobStatus=$jobStatus</value>
  774. <description>Indicates url which will be called on completion of job to inform
  775. end status of job.
  776. User can give at most 2 variables with URI : $jobId and $jobStatus.
  777. If they are present in URI, then they will be replaced by their
  778. respective values.
  779. </description>
  780. </property>
  781. -->
  782. <property>
  783. <name>job.end.retry.attempts</name>
  784. <value>0</value>
  785. <description>Indicates how many times hadoop should attempt to contact the
  786. notification URL </description>
  787. </property>
  788. <property>
  789. <name>job.end.retry.interval</name>
  790. <value>30000</value>
  791. <description>Indicates time in milliseconds between notification URL retry
  792. calls</description>
  793. </property>
  794. <!-- Web Interface Configuration -->
  795. <property>
  796. <name>webinterface.private.actions</name>
  797. <value>false</value>
  798. <description> If set to true, the web interfaces of JT and NN may contain
  799. actions, such as kill job, delete file, etc., that should
  800. not be exposed to public. Enable this option if the interfaces
  801. are only reachable by those who have the right authorization.
  802. </description>
  803. </property>
  804. </configuration>