hadoop-default.xml 39 KB

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