hadoop-default.xml 37 KB

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