hadoop-default.xml 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263
  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>hadoop.job.history.location</name>
  31. <value></value>
  32. <description> If job tracker is static the history files are stored
  33. in this single well known place. If No value is set here, by default,
  34. it is in the local file system at ${hadoop.log.dir}/history.
  35. </description>
  36. </property>
  37. <property>
  38. <name>hadoop.job.history.user.location</name>
  39. <value></value>
  40. <description> User can specify a location to store the history files of
  41. a particular job. If nothing is specified, the logs are stored in
  42. output directory. The files are stored in "_logs/history/" in the directory.
  43. User can stop logging by giving the value "none".
  44. </description>
  45. </property>
  46. <property>
  47. <name>dfs.namenode.logging.level</name>
  48. <value>info</value>
  49. <description>The logging level for dfs namenode. Other values are "dir"(trac
  50. e namespace mutations), "block"(trace block under/over replications and block
  51. creations/deletions), or "all".</description>
  52. </property>
  53. <!-- i/o properties -->
  54. <property>
  55. <name>io.sort.factor</name>
  56. <value>10</value>
  57. <description>The number of streams to merge at once while sorting
  58. files. This determines the number of open file handles.</description>
  59. </property>
  60. <property>
  61. <name>io.sort.mb</name>
  62. <value>100</value>
  63. <description>The total amount of buffer memory to use while sorting
  64. files, in megabytes. By default, gives each merge stream 1MB, which
  65. should minimize seeks.</description>
  66. </property>
  67. <property>
  68. <name>io.sort.record.percent</name>
  69. <value>0.05</value>
  70. <description>The percentage of io.sort.mb dedicated to tracking record
  71. boundaries. Let this value be r, io.sort.mb be x. The maximum number
  72. of records collected before the collection thread must block is equal
  73. to (r * x) / 4</description>
  74. </property>
  75. <property>
  76. <name>io.sort.spill.percent</name>
  77. <value>0.80</value>
  78. <description>The soft limit in either the buffer or record collection
  79. buffers. Once reached, a thread will begin to spill the contents to disk
  80. in the background. Note that this does not imply any chunking of data to
  81. the spill. A value less than 0.5 is not recommended.</description>
  82. </property>
  83. <property>
  84. <name>io.file.buffer.size</name>
  85. <value>4096</value>
  86. <description>The size of buffer for use in sequence files.
  87. The size of this buffer should probably be a multiple of hardware
  88. page size (4096 on Intel x86), and it determines how much data is
  89. buffered during read and write operations.</description>
  90. </property>
  91. <property>
  92. <name>io.bytes.per.checksum</name>
  93. <value>512</value>
  94. <description>The number of bytes per checksum. Must not be larger than
  95. io.file.buffer.size.</description>
  96. </property>
  97. <property>
  98. <name>io.skip.checksum.errors</name>
  99. <value>false</value>
  100. <description>If true, when a checksum error is encountered while
  101. reading a sequence file, entries are skipped, instead of throwing an
  102. exception.</description>
  103. </property>
  104. <property>
  105. <name>io.map.index.skip</name>
  106. <value>0</value>
  107. <description>Number of index entries to skip between each entry.
  108. Zero by default. Setting this to values larger than zero can
  109. facilitate opening large map files using less memory.</description>
  110. </property>
  111. <property>
  112. <name>io.compression.codecs</name>
  113. <value>org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec</value>
  114. <description>A list of the compression codec classes that can be used
  115. for compression/decompression.</description>
  116. </property>
  117. <property>
  118. <name>io.serializations</name>
  119. <value>org.apache.hadoop.io.serializer.WritableSerialization</value>
  120. <description>A list of serialization classes that can be used for
  121. obtaining serializers and deserializers.</description>
  122. </property>
  123. <!-- file system properties -->
  124. <property>
  125. <name>fs.default.name</name>
  126. <value>file:///</value>
  127. <description>The name of the default file system. A URI whose
  128. scheme and authority determine the FileSystem implementation. The
  129. uri's scheme determines the config property (fs.SCHEME.impl) naming
  130. the FileSystem implementation class. The uri's authority is used to
  131. determine the host, port, etc. for a filesystem.</description>
  132. </property>
  133. <property>
  134. <name>fs.trash.interval</name>
  135. <value>0</value>
  136. <description>Number of minutes between trash checkpoints.
  137. If zero, the trash feature is disabled.
  138. </description>
  139. </property>
  140. <property>
  141. <name>fs.file.impl</name>
  142. <value>org.apache.hadoop.fs.LocalFileSystem</value>
  143. <description>The FileSystem for file: uris.</description>
  144. </property>
  145. <property>
  146. <name>fs.hdfs.impl</name>
  147. <value>org.apache.hadoop.dfs.DistributedFileSystem</value>
  148. <description>The FileSystem for hdfs: uris.</description>
  149. </property>
  150. <property>
  151. <name>fs.s3.impl</name>
  152. <value>org.apache.hadoop.fs.s3.S3FileSystem</value>
  153. <description>The FileSystem for s3: uris.</description>
  154. </property>
  155. <property>
  156. <name>fs.s3n.impl</name>
  157. <value>org.apache.hadoop.fs.s3native.NativeS3FileSystem</value>
  158. <description>The FileSystem for s3n: (Native S3) uris.</description>
  159. </property>
  160. <property>
  161. <name>fs.kfs.impl</name>
  162. <value>org.apache.hadoop.fs.kfs.KosmosFileSystem</value>
  163. <description>The FileSystem for kfs: uris.</description>
  164. </property>
  165. <property>
  166. <name>fs.hftp.impl</name>
  167. <value>org.apache.hadoop.dfs.HftpFileSystem</value>
  168. </property>
  169. <property>
  170. <name>fs.hsftp.impl</name>
  171. <value>org.apache.hadoop.dfs.HsftpFileSystem</value>
  172. </property>
  173. <property>
  174. <name>fs.ftp.impl</name>
  175. <value>org.apache.hadoop.fs.ftp.FTPFileSystem</value>
  176. <description>The FileSystem for ftp: uris.</description>
  177. </property>
  178. <property>
  179. <name>fs.ramfs.impl</name>
  180. <value>org.apache.hadoop.fs.InMemoryFileSystem</value>
  181. <description>The FileSystem for ramfs: uris.</description>
  182. </property>
  183. <property>
  184. <name>fs.har.impl</name>
  185. <value>org.apache.hadoop.fs.HarFileSystem</value>
  186. <description>The filesystem for Hadoop archives. </description>
  187. </property>
  188. <property>
  189. <name>fs.inmemory.size.mb</name>
  190. <value>75</value>
  191. <description>The size of the in-memory filsystem instance in MB</description>
  192. </property>
  193. <property>
  194. <name>fs.checkpoint.dir</name>
  195. <value>${hadoop.tmp.dir}/dfs/namesecondary</value>
  196. <description>Determines where on the local filesystem the DFS secondary
  197. name node should store the temporary images and edits to merge.
  198. If this is a comma-delimited list of directories then the image is
  199. replicated in all of the directories for redundancy.
  200. </description>
  201. </property>
  202. <property>
  203. <name>fs.checkpoint.period</name>
  204. <value>3600</value>
  205. <description>The number of seconds between two periodic checkpoints.
  206. </description>
  207. </property>
  208. <property>
  209. <name>fs.checkpoint.size</name>
  210. <value>67108864</value>
  211. <description>The size of the current edit log (in bytes) that triggers
  212. a periodic checkpoint even if the fs.checkpoint.period hasn't expired.
  213. </description>
  214. </property>
  215. <property>
  216. <name>dfs.secondary.http.address</name>
  217. <value>0.0.0.0:50090</value>
  218. <description>
  219. The secondary namenode http server address and port.
  220. If the port is 0 then the server will start on a free port.
  221. </description>
  222. </property>
  223. <property>
  224. <name>dfs.datanode.address</name>
  225. <value>0.0.0.0:50010</value>
  226. <description>
  227. The address where the datanode server will listen to.
  228. If the port is 0 then the server will start on a free port.
  229. </description>
  230. </property>
  231. <property>
  232. <name>dfs.datanode.http.address</name>
  233. <value>0.0.0.0:50075</value>
  234. <description>
  235. The datanode http server address and port.
  236. If the port is 0 then the server will start on a free port.
  237. </description>
  238. </property>
  239. <property>
  240. <name>dfs.datanode.ipc.address</name>
  241. <value>0.0.0.0:50020</value>
  242. <description>
  243. The datanode ipc server address and port.
  244. If the port is 0 then the server will start on a free port.
  245. </description>
  246. </property>
  247. <property>
  248. <name>dfs.datanode.handler.count</name>
  249. <value>3</value>
  250. <description>The number of server threads for the datanode.</description>
  251. </property>
  252. <property>
  253. <name>dfs.http.address</name>
  254. <value>0.0.0.0:50070</value>
  255. <description>
  256. The address and the base port where the dfs namenode web ui will listen on.
  257. If the port is 0 then the server will start on a free port.
  258. </description>
  259. </property>
  260. <property>
  261. <name>dfs.datanode.https.address</name>
  262. <value>0.0.0.0:50475</value>
  263. </property>
  264. <property>
  265. <name>dfs.https.address</name>
  266. <value>0.0.0.0:50470</value>
  267. </property>
  268. <property>
  269. <name>https.keystore.info.rsrc</name>
  270. <value>sslinfo.xml</value>
  271. <description>The name of the resource from which ssl keystore information
  272. will be extracted
  273. </description>
  274. </property>
  275. <property>
  276. <name>dfs.datanode.dns.interface</name>
  277. <value>default</value>
  278. <description>The name of the Network Interface from which a data node should
  279. report its IP address.
  280. </description>
  281. </property>
  282. <property>
  283. <name>dfs.datanode.dns.nameserver</name>
  284. <value>default</value>
  285. <description>The host name or IP address of the name server (DNS)
  286. which a DataNode should use to determine the host name used by the
  287. NameNode for communication and display purposes.
  288. </description>
  289. </property>
  290. <property>
  291. <name>dfs.replication.considerLoad</name>
  292. <value>true</value>
  293. <description>Decide if chooseTarget considers the target's load or not
  294. </description>
  295. </property>
  296. <property>
  297. <name>dfs.default.chunk.view.size</name>
  298. <value>32768</value>
  299. <description>The number of bytes to view for a file on the browser.
  300. </description>
  301. </property>
  302. <property>
  303. <name>dfs.datanode.du.reserved</name>
  304. <value>0</value>
  305. <description>Reserved space in bytes per volume. Always leave this much space free for non dfs use.
  306. </description>
  307. </property>
  308. <property>
  309. <name>dfs.datanode.du.pct</name>
  310. <value>0.98f</value>
  311. <description>When calculating remaining space, only use this percentage of the real available space
  312. </description>
  313. </property>
  314. <property>
  315. <name>dfs.name.dir</name>
  316. <value>${hadoop.tmp.dir}/dfs/name</value>
  317. <description>Determines where on the local filesystem the DFS name node
  318. should store the name table. If this is a comma-delimited list
  319. of directories then the name table is replicated in all of the
  320. directories, for redundancy. </description>
  321. </property>
  322. <property>
  323. <name>dfs.web.ugi</name>
  324. <value>webuser,webgroup</value>
  325. <description>The user account used by the web interface.
  326. Syntax: USERNAME,GROUP1,GROUP2, ...
  327. </description>
  328. </property>
  329. <property>
  330. <name>dfs.permissions</name>
  331. <value>true</value>
  332. <description>
  333. If "true", enable permission checking in HDFS.
  334. If "false", permission checking is turned off,
  335. but all other behavior is unchanged.
  336. Switching from one parameter value to the other does not change the mode,
  337. owner or group of files or directories.
  338. </description>
  339. </property>
  340. <property>
  341. <name>dfs.permissions.supergroup</name>
  342. <value>supergroup</value>
  343. <description>The name of the group of super-users.</description>
  344. </property>
  345. <property>
  346. <name>dfs.client.buffer.dir</name>
  347. <value>${hadoop.tmp.dir}/dfs/tmp</value>
  348. <description>Determines where on the local filesystem an DFS client
  349. should store its blocks before it sends them to the datanode.
  350. </description>
  351. </property>
  352. <property>
  353. <name>dfs.data.dir</name>
  354. <value>${hadoop.tmp.dir}/dfs/data</value>
  355. <description>Determines where on the local filesystem an DFS data node
  356. should store its blocks. If this is a comma-delimited
  357. list of directories, then data will be stored in all named
  358. directories, typically on different devices.
  359. Directories that do not exist are ignored.
  360. </description>
  361. </property>
  362. <property>
  363. <name>dfs.replication</name>
  364. <value>3</value>
  365. <description>Default block replication.
  366. The actual number of replications can be specified when the file is created.
  367. The default is used if replication is not specified in create time.
  368. </description>
  369. </property>
  370. <property>
  371. <name>dfs.replication.max</name>
  372. <value>512</value>
  373. <description>Maximal block replication.
  374. </description>
  375. </property>
  376. <property>
  377. <name>dfs.replication.min</name>
  378. <value>1</value>
  379. <description>Minimal block replication.
  380. </description>
  381. </property>
  382. <property>
  383. <name>dfs.block.size</name>
  384. <value>67108864</value>
  385. <description>The default block size for new files.</description>
  386. </property>
  387. <property>
  388. <name>dfs.df.interval</name>
  389. <value>60000</value>
  390. <description>Disk usage statistics refresh interval in msec.</description>
  391. </property>
  392. <property>
  393. <name>dfs.client.block.write.retries</name>
  394. <value>3</value>
  395. <description>The number of retries for writing blocks to the data nodes,
  396. before we signal failure to the application.
  397. </description>
  398. </property>
  399. <property>
  400. <name>dfs.blockreport.intervalMsec</name>
  401. <value>3600000</value>
  402. <description>Determines block reporting interval in milliseconds.</description>
  403. </property>
  404. <property>
  405. <name>dfs.blockreport.initialDelay</name> <value>0</value>
  406. <description>Delay for first block report in seconds.</description>
  407. </property>
  408. <property>
  409. <name>dfs.heartbeat.interval</name>
  410. <value>3</value>
  411. <description>Determines datanode heartbeat interval in seconds.</description>
  412. </property>
  413. <property>
  414. <name>dfs.namenode.handler.count</name>
  415. <value>10</value>
  416. <description>The number of server threads for the namenode.</description>
  417. </property>
  418. <property>
  419. <name>dfs.safemode.threshold.pct</name>
  420. <value>0.999f</value>
  421. <description>
  422. Specifies the percentage of blocks that should satisfy
  423. the minimal replication requirement defined by dfs.replication.min.
  424. Values less than or equal to 0 mean not to start in safe mode.
  425. Values greater than 1 will make safe mode permanent.
  426. </description>
  427. </property>
  428. <property>
  429. <name>dfs.safemode.extension</name>
  430. <value>30000</value>
  431. <description>
  432. Determines extension of safe mode in milliseconds
  433. after the threshold level is reached.
  434. </description>
  435. </property>
  436. <property>
  437. <name>dfs.balance.bandwidthPerSec</name>
  438. <value>1048576</value>
  439. <description>
  440. Specifies the maximum amount of bandwidth that each datanode
  441. can utilize for the balancing purpose in term of
  442. the number of bytes per second.
  443. </description>
  444. </property>
  445. <property>
  446. <name>dfs.hosts</name>
  447. <value></value>
  448. <description>Names a file that contains a list of hosts that are
  449. permitted to connect to the namenode. The full pathname of the file
  450. must be specified. If the value is empty, all hosts are
  451. permitted.</description>
  452. </property>
  453. <property>
  454. <name>dfs.hosts.exclude</name>
  455. <value></value>
  456. <description>Names a file that contains a list of hosts that are
  457. not permitted to connect to the namenode. The full pathname of the
  458. file must be specified. If the value is empty, no hosts are
  459. excluded.</description>
  460. </property>
  461. <property>
  462. <name>dfs.max.objects</name>
  463. <value>0</value>
  464. <description>The maximum number of files, directories and blocks
  465. dfs supports. A value of zero indicates no limit to the number
  466. of objects that dfs supports.
  467. </description>
  468. </property>
  469. <property>
  470. <name>dfs.namenode.decommission.interval</name>
  471. <value>30</value>
  472. <description>Namenode periodicity in seconds to check if decommission is complete.</description>
  473. </property>
  474. <property>
  475. <name>dfs.namenode.decommission.nodes.per.interval</name>
  476. <value>5</value>
  477. <description>The number of nodes namenode checks if decommission is complete
  478. in each dfs.namenode.decommission.interval.</description>
  479. </property>
  480. <property>
  481. <name>dfs.replication.interval</name>
  482. <value>3</value>
  483. <description>The periodicity in seconds with which the namenode computes repliaction work for datanodes. </description>
  484. </property>
  485. <property>
  486. <name>fs.s3.block.size</name>
  487. <value>67108864</value>
  488. <description>Block size to use when writing files to S3.</description>
  489. </property>
  490. <property>
  491. <name>fs.s3.buffer.dir</name>
  492. <value>${hadoop.tmp.dir}/s3</value>
  493. <description>Determines where on the local filesystem the S3 filesystem
  494. should store files before sending them to S3
  495. (or after retrieving them from S3).
  496. </description>
  497. </property>
  498. <property>
  499. <name>fs.s3.maxRetries</name>
  500. <value>4</value>
  501. <description>The maximum number of retries for reading or writing files to S3,
  502. before we signal failure to the application.
  503. </description>
  504. </property>
  505. <property>
  506. <name>fs.s3.sleepTimeSeconds</name>
  507. <value>10</value>
  508. <description>The number of seconds to sleep between each S3 retry.
  509. </description>
  510. </property>
  511. <!-- map/reduce properties -->
  512. <property>
  513. <name>mapred.job.tracker</name>
  514. <value>local</value>
  515. <description>The host and port that the MapReduce job tracker runs
  516. at. If "local", then jobs are run in-process as a single map
  517. and reduce task.
  518. </description>
  519. </property>
  520. <property>
  521. <name>mapred.job.tracker.http.address</name>
  522. <value>0.0.0.0:50030</value>
  523. <description>
  524. The job tracker http server address and port the server will listen on.
  525. If the port is 0 then the server will start on a free port.
  526. </description>
  527. </property>
  528. <property>
  529. <name>mapred.job.tracker.handler.count</name>
  530. <value>10</value>
  531. <description>
  532. The number of server threads for the JobTracker. This should be roughly
  533. 4% of the number of tasktracker nodes.
  534. </description>
  535. </property>
  536. <property>
  537. <name>mapred.task.tracker.report.address</name>
  538. <value>127.0.0.1:0</value>
  539. <description>The interface and port that task tracker server listens on.
  540. Since it is only connected to by the tasks, it uses the local interface.
  541. EXPERT ONLY. Should only be changed if your host does not have the loopback
  542. interface.</description>
  543. </property>
  544. <property>
  545. <name>mapred.local.dir</name>
  546. <value>${hadoop.tmp.dir}/mapred/local</value>
  547. <description>The local directory where MapReduce stores intermediate
  548. data files. May be a comma-separated list of
  549. directories on different devices in order to spread disk i/o.
  550. Directories that do not exist are ignored.
  551. </description>
  552. </property>
  553. <property>
  554. <name>local.cache.size</name>
  555. <value>10737418240</value>
  556. <description>The limit on the size of cache you want to keep, set by default
  557. to 10GB. This will act as a soft limit on the cache directory for out of band data.
  558. </description>
  559. </property>
  560. <property>
  561. <name>mapred.system.dir</name>
  562. <value>${hadoop.tmp.dir}/mapred/system</value>
  563. <description>The shared directory where MapReduce stores control files.
  564. </description>
  565. </property>
  566. <property>
  567. <name>mapred.temp.dir</name>
  568. <value>${hadoop.tmp.dir}/mapred/temp</value>
  569. <description>A shared directory for temporary files.
  570. </description>
  571. </property>
  572. <property>
  573. <name>mapred.local.dir.minspacestart</name>
  574. <value>0</value>
  575. <description>If the space in mapred.local.dir drops under this,
  576. do not ask for more tasks.
  577. Value in bytes.
  578. </description>
  579. </property>
  580. <property>
  581. <name>mapred.local.dir.minspacekill</name>
  582. <value>0</value>
  583. <description>If the space in mapred.local.dir drops under this,
  584. do not ask more tasks until all the current ones have finished and
  585. cleaned up. Also, to save the rest of the tasks we have running,
  586. kill one of them, to clean up some space. Start with the reduce tasks,
  587. then go with the ones that have finished the least.
  588. Value in bytes.
  589. </description>
  590. </property>
  591. <property>
  592. <name>mapred.tasktracker.expiry.interval</name>
  593. <value>600000</value>
  594. <description>Expert: The time-interval, in miliseconds, after which
  595. a tasktracker is declared 'lost' if it doesn't send heartbeats.
  596. </description>
  597. </property>
  598. <property>
  599. <name>mapred.map.tasks</name>
  600. <value>2</value>
  601. <description>The default number of map tasks per job. Typically set
  602. to a prime several times greater than number of available hosts.
  603. Ignored when mapred.job.tracker is "local".
  604. </description>
  605. </property>
  606. <property>
  607. <name>mapred.reduce.tasks</name>
  608. <value>1</value>
  609. <description>The default number of reduce tasks per job. Typically set
  610. to a prime close to the number of available hosts. Ignored when
  611. mapred.job.tracker is "local".
  612. </description>
  613. </property>
  614. <property>
  615. <name>mapred.map.max.attempts</name>
  616. <value>4</value>
  617. <description>Expert: The maximum number of attempts per map task.
  618. In other words, framework will try to execute a map task these many number
  619. of times before giving up on it.
  620. </description>
  621. </property>
  622. <property>
  623. <name>mapred.reduce.max.attempts</name>
  624. <value>4</value>
  625. <description>Expert: The maximum number of attempts per reduce task.
  626. In other words, framework will try to execute a reduce task these many number
  627. of times before giving up on it.
  628. </description>
  629. </property>
  630. <property>
  631. <name>mapred.reduce.parallel.copies</name>
  632. <value>5</value>
  633. <description>The default number of parallel transfers run by reduce
  634. during the copy(shuffle) phase.
  635. </description>
  636. </property>
  637. <property>
  638. <name>mapred.reduce.copy.backoff</name>
  639. <value>300</value>
  640. <description>The maximum amount of time (in seconds) a reducer spends on
  641. fetching one map output before declaring it as failed.
  642. </description>
  643. </property>
  644. <property>
  645. <name>mapred.task.timeout</name>
  646. <value>600000</value>
  647. <description>The number of milliseconds before a task will be
  648. terminated if it neither reads an input, writes an output, nor
  649. updates its status string.
  650. </description>
  651. </property>
  652. <property>
  653. <name>mapred.tasktracker.map.tasks.maximum</name>
  654. <value>2</value>
  655. <description>The maximum number of map tasks that will be run
  656. simultaneously by a task tracker.
  657. </description>
  658. </property>
  659. <property>
  660. <name>mapred.tasktracker.reduce.tasks.maximum</name>
  661. <value>2</value>
  662. <description>The maximum number of reduce tasks that will be run
  663. simultaneously by a task tracker.
  664. </description>
  665. </property>
  666. <property>
  667. <name>mapred.jobtracker.completeuserjobs.maximum</name>
  668. <value>100</value>
  669. <description>The maximum number of complete jobs per user to keep around before delegating them to the job history.
  670. </description>
  671. </property>
  672. <property>
  673. <name>mapred.child.java.opts</name>
  674. <value>-Xmx200m</value>
  675. <description>Java opts for the task tracker child processes.
  676. The following symbol, if present, will be interpolated: @taskid@ is replaced
  677. by current TaskID. Any other occurrences of '@' will go unchanged.
  678. For example, to enable verbose gc logging to a file named for the taskid in
  679. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  680. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  681. The configuration variable mapred.child.ulimit can be used to control the
  682. maximum virtual memory of the child processes.
  683. </description>
  684. </property>
  685. <property>
  686. <name>mapred.child.ulimit</name>
  687. <value></value>
  688. <description>The maximum virtual memory, in KB, of a process launched by the
  689. Map-Reduce framework. This can be used to control both the Mapper/Reducer
  690. tasks and applications using Hadoop Pipes, Hadoop Streaming etc.
  691. By default it is left unspecified to let cluster admins control it via
  692. limits.conf and other such relevant mechanisms.
  693. Note: mapred.child.ulimit must be greater than or equal to the -Xmx passed to
  694. JavaVM, else the VM might not start.
  695. </description>
  696. </property>
  697. <property>
  698. <name>mapred.child.tmp</name>
  699. <value>./tmp</value>
  700. <description> To set the value of tmp directory for map and reduce tasks.
  701. If the value is an absolute path, it is directly assigned. Otherwise, it is
  702. prepended with task's working directory. The java tasks are executed with
  703. option -Djava.io.tmpdir='the absolute path of the tmp dir'. Pipes and
  704. streaming are set with environment variable,
  705. TMPDIR='the absolute path of the tmp dir'
  706. </description>
  707. </property>
  708. <property>
  709. <name>mapred.inmem.merge.threshold</name>
  710. <value>1000</value>
  711. <description>The threshold, in terms of the number of files
  712. for the in-memory merge process. When we accumulate threshold number of files
  713. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  714. 0 indicates we want to DON'T have any threshold and instead depend only on
  715. the ramfs's memory consumption to trigger the merge.
  716. </description>
  717. </property>
  718. <property>
  719. <name>mapred.map.tasks.speculative.execution</name>
  720. <value>true</value>
  721. <description>If true, then multiple instances of some map tasks
  722. may be executed in parallel.</description>
  723. </property>
  724. <property>
  725. <name>mapred.reduce.tasks.speculative.execution</name>
  726. <value>true</value>
  727. <description>If true, then multiple instances of some reduce tasks
  728. may be executed in parallel.</description>
  729. </property>
  730. <property>
  731. <name>mapred.min.split.size</name>
  732. <value>0</value>
  733. <description>The minimum size chunk that map input should be split
  734. into. Note that some file formats may have minimum split sizes that
  735. take priority over this setting.</description>
  736. </property>
  737. <property>
  738. <name>mapred.submit.replication</name>
  739. <value>10</value>
  740. <description>The replication level for submitted job files. This
  741. should be around the square root of the number of nodes.
  742. </description>
  743. </property>
  744. <property>
  745. <name>mapred.tasktracker.dns.interface</name>
  746. <value>default</value>
  747. <description>The name of the Network Interface from which a task
  748. tracker should report its IP address.
  749. </description>
  750. </property>
  751. <property>
  752. <name>mapred.tasktracker.dns.nameserver</name>
  753. <value>default</value>
  754. <description>The host name or IP address of the name server (DNS)
  755. which a TaskTracker should use to determine the host name used by
  756. the JobTracker for communication and display purposes.
  757. </description>
  758. </property>
  759. <property>
  760. <name>tasktracker.http.threads</name>
  761. <value>40</value>
  762. <description>The number of worker threads that for the http server. This is
  763. used for map output fetching
  764. </description>
  765. </property>
  766. <property>
  767. <name>mapred.task.tracker.http.address</name>
  768. <value>0.0.0.0:50060</value>
  769. <description>
  770. The task tracker http server address and port.
  771. If the port is 0 then the server will start on a free port.
  772. </description>
  773. </property>
  774. <property>
  775. <name>keep.failed.task.files</name>
  776. <value>false</value>
  777. <description>Should the files for failed tasks be kept. This should only be
  778. used on jobs that are failing, because the storage is never
  779. reclaimed. It also prevents the map outputs from being erased
  780. from the reduce directory as they are consumed.</description>
  781. </property>
  782. <!--
  783. <property>
  784. <name>keep.task.files.pattern</name>
  785. <value>.*_m_123456_0</value>
  786. <description>Keep all files from tasks whose task names match the given
  787. regular expression. Defaults to none.</description>
  788. </property>
  789. -->
  790. <property>
  791. <name>mapred.output.compress</name>
  792. <value>false</value>
  793. <description>Should the job outputs be compressed?
  794. </description>
  795. </property>
  796. <property>
  797. <name>mapred.output.compression.type</name>
  798. <value>RECORD</value>
  799. <description>If the job outputs are to compressed as SequenceFiles, how should
  800. they be compressed? Should be one of NONE, RECORD or BLOCK.
  801. </description>
  802. </property>
  803. <property>
  804. <name>mapred.output.compression.codec</name>
  805. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  806. <description>If the job outputs are compressed, how should they be compressed?
  807. </description>
  808. </property>
  809. <property>
  810. <name>mapred.compress.map.output</name>
  811. <value>false</value>
  812. <description>Should the outputs of the maps be compressed before being
  813. sent across the network. Uses SequenceFile compression.
  814. </description>
  815. </property>
  816. <property>
  817. <name>mapred.map.output.compression.codec</name>
  818. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  819. <description>If the map outputs are compressed, how should they be
  820. compressed?
  821. </description>
  822. </property>
  823. <property>
  824. <name>io.seqfile.compress.blocksize</name>
  825. <value>1000000</value>
  826. <description>The minimum block size for compression in block compressed
  827. SequenceFiles.
  828. </description>
  829. </property>
  830. <property>
  831. <name>io.seqfile.lazydecompress</name>
  832. <value>true</value>
  833. <description>Should values of block-compressed SequenceFiles be decompressed
  834. only when necessary.
  835. </description>
  836. </property>
  837. <property>
  838. <name>io.seqfile.sorter.recordlimit</name>
  839. <value>1000000</value>
  840. <description>The limit on number of records to be kept in memory in a spill
  841. in SequenceFiles.Sorter
  842. </description>
  843. </property>
  844. <property>
  845. <name>map.sort.class</name>
  846. <value>org.apache.hadoop.util.QuickSort</value>
  847. <description>The default sort class for sorting keys.
  848. </description>
  849. </property>
  850. <property>
  851. <name>mapred.userlog.limit.kb</name>
  852. <value>0</value>
  853. <description>The maximum size of user-logs of each task in KB. 0 disables the cap.
  854. </description>
  855. </property>
  856. <property>
  857. <name>mapred.userlog.retain.hours</name>
  858. <value>24</value>
  859. <description>The maximum time, in hours, for which the user-logs are to be
  860. retained.
  861. </description>
  862. </property>
  863. <property>
  864. <name>mapred.hosts</name>
  865. <value></value>
  866. <description>Names a file that contains the list of nodes that may
  867. connect to the jobtracker. If the value is empty, all hosts are
  868. permitted.</description>
  869. </property>
  870. <property>
  871. <name>mapred.hosts.exclude</name>
  872. <value></value>
  873. <description>Names a file that contains the list of hosts that
  874. should be excluded by the jobtracker. If the value is empty, no
  875. hosts are excluded.</description>
  876. </property>
  877. <property>
  878. <name>mapred.max.tracker.failures</name>
  879. <value>4</value>
  880. <description>The number of task-failures on a tasktracker of a given job
  881. after which new tasks of that job aren't assigned to it.
  882. </description>
  883. </property>
  884. <property>
  885. <name>jobclient.output.filter</name>
  886. <value>FAILED</value>
  887. <description>The filter for controlling the output of the task's userlogs sent
  888. to the console of the JobClient.
  889. The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
  890. ALL.
  891. </description>
  892. </property>
  893. <property>
  894. <name>mapred.job.tracker.persist.jobstatus.active</name>
  895. <value>false</value>
  896. <description>Indicates if persistency of job status information is
  897. active or not.
  898. </description>
  899. </property>
  900. <property>
  901. <name>mapred.job.tracker.persist.jobstatus.hours</name>
  902. <value>0</value>
  903. <description>The number of hours job status information is persisted in DFS.
  904. The job status information will be available after it drops of the memory
  905. queue and between jobtracker restarts. With a zero value the job status
  906. information is not persisted at all in DFS.
  907. </description>
  908. </property>
  909. <property>
  910. <name>mapred.job.tracker.persist.jobstatus.dir</name>
  911. <value>/jobtracker/jobsInfo</value>
  912. <description>The directory where the job status information is persisted
  913. in a file system to be available after it drops of the memory queue and
  914. between jobtracker restarts.
  915. </description>
  916. </property>
  917. <property>
  918. <name>mapred.task.profile</name>
  919. <value>false</value>
  920. <description>To set whether the system should collect profiler
  921. information for some of the tasks in this job? The information is stored
  922. in the the user log directory. The value is "true" if task profiling
  923. is enabled.</description>
  924. </property>
  925. <property>
  926. <name>mapred.task.profile.maps</name>
  927. <value>0-2</value>
  928. <description> To set the ranges of map tasks to profile.
  929. mapred.task.profile has to be set to true for the value to be accounted.
  930. </description>
  931. </property>
  932. <property>
  933. <name>mapred.task.profile.reduces</name>
  934. <value>0-2</value>
  935. <description> To set the ranges of reduce tasks to profile.
  936. mapred.task.profile has to be set to true for the value to be accounted.
  937. </description>
  938. </property>
  939. <property>
  940. <name>mapred.line.input.format.linespermap</name>
  941. <value>1</value>
  942. <description> Number of lines per split in NLineInputFormat.
  943. </description>
  944. </property>
  945. <!-- ipc properties -->
  946. <property>
  947. <name>ipc.client.idlethreshold</name>
  948. <value>4000</value>
  949. <description>Defines the threshold number of connections after which
  950. connections will be inspected for idleness.
  951. </description>
  952. </property>
  953. <property>
  954. <name>ipc.client.kill.max</name>
  955. <value>10</value>
  956. <description>Defines the maximum number of clients to disconnect in one go.
  957. </description>
  958. </property>
  959. <property>
  960. <name>ipc.client.connection.maxidletime</name>
  961. <value>10000</value>
  962. <description>The maximum time in msec after which a client will bring down the
  963. connection to the server.
  964. </description>
  965. </property>
  966. <property>
  967. <name>ipc.client.connect.max.retries</name>
  968. <value>10</value>
  969. <description>Indicates the number of retries a client will make to establish
  970. a server connection.
  971. </description>
  972. </property>
  973. <property>
  974. <name>ipc.server.listen.queue.size</name>
  975. <value>128</value>
  976. <description>Indicates the length of the listen queue for servers accepting
  977. client connections.
  978. </description>
  979. </property>
  980. <property>
  981. <name>ipc.server.tcpnodelay</name>
  982. <value>false</value>
  983. <description>Turn on/off Nagle's algorithm for the TCP socket connection on
  984. the server. Setting to true disables the algorithm and may decrease latency
  985. with a cost of more/smaller packets.
  986. </description>
  987. </property>
  988. <property>
  989. <name>ipc.client.tcpnodelay</name>
  990. <value>false</value>
  991. <description>Turn on/off Nagle's algorithm for the TCP socket connection on
  992. the client. Setting to true disables the algorithm and may decrease latency
  993. with a cost of more/smaller packets.
  994. </description>
  995. </property>
  996. <!-- Job Notification Configuration -->
  997. <!--
  998. <property>
  999. <name>job.end.notification.url</name>
  1000. <value>http://localhost:8080/jobstatus.php?jobId=$jobId&amp;jobStatus=$jobStatus</value>
  1001. <description>Indicates url which will be called on completion of job to inform
  1002. end status of job.
  1003. User can give at most 2 variables with URI : $jobId and $jobStatus.
  1004. If they are present in URI, then they will be replaced by their
  1005. respective values.
  1006. </description>
  1007. </property>
  1008. -->
  1009. <property>
  1010. <name>job.end.retry.attempts</name>
  1011. <value>0</value>
  1012. <description>Indicates how many times hadoop should attempt to contact the
  1013. notification URL </description>
  1014. </property>
  1015. <property>
  1016. <name>job.end.retry.interval</name>
  1017. <value>30000</value>
  1018. <description>Indicates time in milliseconds between notification URL retry
  1019. calls</description>
  1020. </property>
  1021. <!-- Web Interface Configuration -->
  1022. <property>
  1023. <name>webinterface.private.actions</name>
  1024. <value>false</value>
  1025. <description> If set to true, the web interfaces of JT and NN may contain
  1026. actions, such as kill job, delete file, etc., that should
  1027. not be exposed to public. Enable this option if the interfaces
  1028. are only reachable by those who have the right authorization.
  1029. </description>
  1030. </property>
  1031. <!-- Proxy Configuration -->
  1032. <property>
  1033. <name>hadoop.rpc.socket.factory.class.default</name>
  1034. <value>org.apache.hadoop.net.StandardSocketFactory</value>
  1035. <description> Default SocketFactory to use. This parameter is expected to be
  1036. formatted as "package.FactoryClassName".
  1037. </description>
  1038. </property>
  1039. <property>
  1040. <name>hadoop.rpc.socket.factory.class.ClientProtocol</name>
  1041. <value></value>
  1042. <description> SocketFactory to use to connect to a DFS. If null or empty, use
  1043. hadoop.rpc.socket.class.default. This socket factory is also used by
  1044. DFSClient to create sockets to DataNodes.
  1045. </description>
  1046. </property>
  1047. <property>
  1048. <name>hadoop.rpc.socket.factory.class.JobSubmissionProtocol</name>
  1049. <value></value>
  1050. <description> SocketFactory to use to connect to a Map/Reduce master
  1051. (JobTracker). If null or empty, then use hadoop.rpc.socket.class.default.
  1052. </description>
  1053. </property>
  1054. <property>
  1055. <name>hadoop.socks.server</name>
  1056. <value></value>
  1057. <description> Address (host:port) of the SOCKS server to be used by the
  1058. SocksSocketFactory.
  1059. </description>
  1060. </property>
  1061. <!-- Rack Configuration -->
  1062. <property>
  1063. <name>topology.node.switch.mapping.impl</name>
  1064. <value>org.apache.hadoop.net.ScriptBasedMapping</value>
  1065. <description> The default implementation of the DNSToSwitchMapping. It
  1066. invokes a script specified in topology.script.file.name to resolve
  1067. node names. If the value for topology.script.file.name is not set, the
  1068. default value of DEFAULT_RACK is returned for all node names.
  1069. </description>
  1070. </property>
  1071. <property>
  1072. <name>topology.script.file.name</name>
  1073. <value></value>
  1074. <description> The script name that should be invoked to resolve DNS names to
  1075. NetworkTopology names. Example: the script would take host.foo.bar as an
  1076. argument, and return /rack1 as the output.
  1077. </description>
  1078. </property>
  1079. <property>
  1080. <name>topology.script.number.args</name>
  1081. <value>20</value>
  1082. <description> The max number of args that the script configured with
  1083. topology.script.file.name should be run with. Each arg is an
  1084. IP address.
  1085. </description>
  1086. </property>
  1087. <property>
  1088. <name>mapred.task.cache.levels</name>
  1089. <value>2</value>
  1090. <description> This is the max level of the task cache. For example, if
  1091. the level is 2, the tasks cached are at the host level and at the rack
  1092. level.
  1093. </description>
  1094. </property>
  1095. </configuration>