hadoop-default.xml 27 KB

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