hadoop-default.html 53 KB

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