hadoop-default.html 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812
  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 must extend org.apache.hadoop.http.FilterInitializer.
  15. The corresponding Filter will be initialized. Then, the Filter will be applied to all user facing jsp and servlet web pages. The ordering of the list defines the ordering of the filters.
  16. The value can be empty.
  17. </td>
  18. </tr>
  19. <tr>
  20. <td><a name="hadoop.logfile.size">hadoop.logfile.size</a></td><td>10000000</td><td>The max size of each log file</td>
  21. </tr>
  22. <tr>
  23. <td><a name="hadoop.logfile.count">hadoop.logfile.count</a></td><td>10</td><td>The max number of log files</td>
  24. </tr>
  25. <tr>
  26. <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
  27. in this single well known place. If No value is set here, by default,
  28. it is in the local file system at ${hadoop.log.dir}/history.
  29. </td>
  30. </tr>
  31. <tr>
  32. <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
  33. a particular job. If nothing is specified, the logs are stored in
  34. output directory. The files are stored in "_logs/history/" in the directory.
  35. User can stop logging by giving the value "none".
  36. </td>
  37. </tr>
  38. <tr>
  39. <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
  40. e namespace mutations), "block"(trace block under/over replications and block
  41. creations/deletions), or "all".</td>
  42. </tr>
  43. <tr>
  44. <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
  45. files. This determines the number of open file handles.</td>
  46. </tr>
  47. <tr>
  48. <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
  49. files, in megabytes. By default, gives each merge stream 1MB, which
  50. should minimize seeks.</td>
  51. </tr>
  52. <tr>
  53. <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
  54. boundaries. Let this value be r, io.sort.mb be x. The maximum number
  55. of records collected before the collection thread must block is equal
  56. to (r * x) / 4</td>
  57. </tr>
  58. <tr>
  59. <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
  60. buffers. Once reached, a thread will begin to spill the contents to disk
  61. in the background. Note that this does not imply any chunking of data to
  62. the spill. A value less than 0.5 is not recommended.</td>
  63. </tr>
  64. <tr>
  65. <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.
  66. The size of this buffer should probably be a multiple of hardware
  67. page size (4096 on Intel x86), and it determines how much data is
  68. buffered during read and write operations.</td>
  69. </tr>
  70. <tr>
  71. <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
  72. io.file.buffer.size.</td>
  73. </tr>
  74. <tr>
  75. <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
  76. reading a sequence file, entries are skipped, instead of throwing an
  77. exception.</td>
  78. </tr>
  79. <tr>
  80. <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.
  81. Zero by default. Setting this to values larger than zero can
  82. facilitate opening large map files using less memory.</td>
  83. </tr>
  84. <tr>
  85. <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.LzopCodec,org.apache.hadoop.io.compress.BZip2Codec</td><td>A list of the compression codec classes that can be used
  86. for compression/decompression.</td>
  87. </tr>
  88. <tr>
  89. <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
  90. obtaining serializers and deserializers.</td>
  91. </tr>
  92. <tr>
  93. <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
  94. scheme and authority determine the FileSystem implementation. The
  95. uri's scheme determines the config property (fs.SCHEME.impl) naming
  96. the FileSystem implementation class. The uri's authority is used to
  97. determine the host, port, etc. for a filesystem.</td>
  98. </tr>
  99. <tr>
  100. <td><a name="fs.trash.interval">fs.trash.interval</a></td><td>0</td><td>Number of minutes between trash checkpoints.
  101. If zero, the trash feature is disabled.
  102. </td>
  103. </tr>
  104. <tr>
  105. <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>
  106. </tr>
  107. <tr>
  108. <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>
  109. </tr>
  110. <tr>
  111. <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>
  112. </tr>
  113. <tr>
  114. <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>
  115. </tr>
  116. <tr>
  117. <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>
  118. </tr>
  119. <tr>
  120. <td><a name="fs.hftp.impl">fs.hftp.impl</a></td><td>org.apache.hadoop.hdfs.HftpFileSystem</td><td></td>
  121. </tr>
  122. <tr>
  123. <td><a name="fs.hsftp.impl">fs.hsftp.impl</a></td><td>org.apache.hadoop.hdfs.HsftpFileSystem</td><td></td>
  124. </tr>
  125. <tr>
  126. <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>
  127. </tr>
  128. <tr>
  129. <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>
  130. </tr>
  131. <tr>
  132. <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>
  133. </tr>
  134. <tr>
  135. <td><a name="fs.inmemory.size.mb">fs.inmemory.size.mb</a></td><td>75</td><td>The size of the in-memory filsystem instance in MB</td>
  136. </tr>
  137. <tr>
  138. <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
  139. name node should store the temporary images and edits to merge.
  140. If this is a comma-delimited list of directories then the image is
  141. replicated in all of the directories for redundancy.
  142. </td>
  143. </tr>
  144. <tr>
  145. <td><a name="fs.checkpoint.period">fs.checkpoint.period</a></td><td>3600</td><td>The number of seconds between two periodic checkpoints.
  146. </td>
  147. </tr>
  148. <tr>
  149. <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
  150. a periodic checkpoint even if the fs.checkpoint.period hasn't expired.
  151. </td>
  152. </tr>
  153. <tr>
  154. <td><a name="dfs.secondary.http.address">dfs.secondary.http.address</a></td><td>0.0.0.0:50090</td><td>
  155. The secondary namenode http server address and port.
  156. If the port is 0 then the server will start on a free port.
  157. </td>
  158. </tr>
  159. <tr>
  160. <td><a name="dfs.datanode.address">dfs.datanode.address</a></td><td>0.0.0.0:50010</td><td>
  161. The address where the datanode server will listen to.
  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.http.address">dfs.datanode.http.address</a></td><td>0.0.0.0:50075</td><td>
  167. The datanode http server address and port.
  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.ipc.address">dfs.datanode.ipc.address</a></td><td>0.0.0.0:50020</td><td>
  173. The datanode ipc 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.handler.count">dfs.datanode.handler.count</a></td><td>3</td><td>The number of server threads for the datanode.</td>
  179. </tr>
  180. <tr>
  181. <td><a name="dfs.http.address">dfs.http.address</a></td><td>0.0.0.0:50070</td><td>
  182. The address and the base port where the dfs namenode web ui will listen on.
  183. If the port is 0 then the server will start on a free port.
  184. </td>
  185. </tr>
  186. <tr>
  187. <td><a name="dfs.datanode.https.address">dfs.datanode.https.address</a></td><td>0.0.0.0:50475</td><td></td>
  188. </tr>
  189. <tr>
  190. <td><a name="dfs.https.address">dfs.https.address</a></td><td>0.0.0.0:50470</td><td></td>
  191. </tr>
  192. <tr>
  193. <td><a name="https.keystore.info.rsrc">https.keystore.info.rsrc</a></td><td>sslinfo.xml</td><td>The name of the resource from which ssl keystore information
  194. will be extracted
  195. </td>
  196. </tr>
  197. <tr>
  198. <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
  199. report its IP address.
  200. </td>
  201. </tr>
  202. <tr>
  203. <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)
  204. which a DataNode should use to determine the host name used by the
  205. NameNode for communication and display purposes.
  206. </td>
  207. </tr>
  208. <tr>
  209. <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
  210. </td>
  211. </tr>
  212. <tr>
  213. <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.
  214. </td>
  215. </tr>
  216. <tr>
  217. <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.
  218. </td>
  219. </tr>
  220. <tr>
  221. <td><a name="dfs.datanode.du.pct">dfs.datanode.du.pct</a></td><td>0.98f</td><td>When calculating remaining space, only use this percentage of the real available space
  222. </td>
  223. </tr>
  224. <tr>
  225. <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
  226. should store the name table. If this is a comma-delimited list
  227. of directories then the name table is replicated in all of the
  228. directories, for redundancy. </td>
  229. </tr>
  230. <tr>
  231. <td><a name="dfs.web.ugi">dfs.web.ugi</a></td><td>webuser,webgroup</td><td>The user account used by the web interface.
  232. Syntax: USERNAME,GROUP1,GROUP2, ...
  233. </td>
  234. </tr>
  235. <tr>
  236. <td><a name="dfs.permissions">dfs.permissions</a></td><td>true</td><td>
  237. If "true", enable permission checking in HDFS.
  238. If "false", permission checking is turned off,
  239. but all other behavior is unchanged.
  240. Switching from one parameter value to the other does not change the mode,
  241. owner or group of files or directories.
  242. </td>
  243. </tr>
  244. <tr>
  245. <td><a name="dfs.permissions.supergroup">dfs.permissions.supergroup</a></td><td>supergroup</td><td>The name of the group of super-users.</td>
  246. </tr>
  247. <tr>
  248. <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
  249. should store its blocks. If this is a comma-delimited
  250. list of directories, then data will be stored in all named
  251. directories, typically on different devices.
  252. Directories that do not exist are ignored.
  253. </td>
  254. </tr>
  255. <tr>
  256. <td><a name="dfs.replication">dfs.replication</a></td><td>3</td><td>Default block replication.
  257. The actual number of replications can be specified when the file is created.
  258. The default is used if replication is not specified in create time.
  259. </td>
  260. </tr>
  261. <tr>
  262. <td><a name="dfs.replication.max">dfs.replication.max</a></td><td>512</td><td>Maximal block replication.
  263. </td>
  264. </tr>
  265. <tr>
  266. <td><a name="dfs.replication.min">dfs.replication.min</a></td><td>1</td><td>Minimal block replication.
  267. </td>
  268. </tr>
  269. <tr>
  270. <td><a name="dfs.block.size">dfs.block.size</a></td><td>67108864</td><td>The default block size for new files.</td>
  271. </tr>
  272. <tr>
  273. <td><a name="dfs.df.interval">dfs.df.interval</a></td><td>60000</td><td>Disk usage statistics refresh interval in msec.</td>
  274. </tr>
  275. <tr>
  276. <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,
  277. before we signal failure to the application.
  278. </td>
  279. </tr>
  280. <tr>
  281. <td><a name="dfs.blockreport.intervalMsec">dfs.blockreport.intervalMsec</a></td><td>3600000</td><td>Determines block reporting interval in milliseconds.</td>
  282. </tr>
  283. <tr>
  284. <td><a name="dfs.blockreport.initialDelay">dfs.blockreport.initialDelay</a></td><td>0</td><td>Delay for first block report in seconds.</td>
  285. </tr>
  286. <tr>
  287. <td><a name="dfs.heartbeat.interval">dfs.heartbeat.interval</a></td><td>3</td><td>Determines datanode heartbeat interval in seconds.</td>
  288. </tr>
  289. <tr>
  290. <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>
  291. </tr>
  292. <tr>
  293. <td><a name="dfs.safemode.threshold.pct">dfs.safemode.threshold.pct</a></td><td>0.999f</td><td>
  294. Specifies the percentage of blocks that should satisfy
  295. the minimal replication requirement defined by dfs.replication.min.
  296. Values less than or equal to 0 mean not to start in safe mode.
  297. Values greater than 1 will make safe mode permanent.
  298. </td>
  299. </tr>
  300. <tr>
  301. <td><a name="dfs.safemode.extension">dfs.safemode.extension</a></td><td>30000</td><td>
  302. Determines extension of safe mode in milliseconds
  303. after the threshold level is reached.
  304. </td>
  305. </tr>
  306. <tr>
  307. <td><a name="dfs.balance.bandwidthPerSec">dfs.balance.bandwidthPerSec</a></td><td>1048576</td><td>
  308. Specifies the maximum amount of bandwidth that each datanode
  309. can utilize for the balancing purpose in term of
  310. the number of bytes per second.
  311. </td>
  312. </tr>
  313. <tr>
  314. <td><a name="dfs.hosts">dfs.hosts</a></td><td></td><td>Names a file that contains a list of hosts that are
  315. permitted to connect to the namenode. The full pathname of the file
  316. must be specified. If the value is empty, all hosts are
  317. permitted.</td>
  318. </tr>
  319. <tr>
  320. <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
  321. not permitted to connect to the namenode. The full pathname of the
  322. file must be specified. If the value is empty, no hosts are
  323. excluded.</td>
  324. </tr>
  325. <tr>
  326. <td><a name="dfs.max.objects">dfs.max.objects</a></td><td>0</td><td>The maximum number of files, directories and blocks
  327. dfs supports. A value of zero indicates no limit to the number
  328. of objects that dfs supports.
  329. </td>
  330. </tr>
  331. <tr>
  332. <td><a name="dfs.namenode.decommission.interval">dfs.namenode.decommission.interval</a></td><td>300</td><td>Namenode periodicity in seconds to check if decommission is complete.</td>
  333. </tr>
  334. <tr>
  335. <td><a name="dfs.replication.interval">dfs.replication.interval</a></td><td>3</td><td>The periodicity in seconds with which the namenode computes repliaction work for datanodes. </td>
  336. </tr>
  337. <tr>
  338. <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>
  339. </tr>
  340. <tr>
  341. <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
  342. should store files before sending them to S3
  343. (or after retrieving them from S3).
  344. </td>
  345. </tr>
  346. <tr>
  347. <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,
  348. before we signal failure to the application.
  349. </td>
  350. </tr>
  351. <tr>
  352. <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.
  353. </td>
  354. </tr>
  355. <tr>
  356. <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
  357. at. If "local", then jobs are run in-process as a single map
  358. and reduce task.
  359. </td>
  360. </tr>
  361. <tr>
  362. <td><a name="mapred.job.tracker.http.address">mapred.job.tracker.http.address</a></td><td>0.0.0.0:50030</td><td>
  363. The job tracker http server address and port the server will listen on.
  364. If the port is 0 then the server will start on a free port.
  365. </td>
  366. </tr>
  367. <tr>
  368. <td><a name="mapred.job.tracker.handler.count">mapred.job.tracker.handler.count</a></td><td>10</td><td>
  369. The number of server threads for the JobTracker. This should be roughly
  370. 4% of the number of tasktracker nodes.
  371. </td>
  372. </tr>
  373. <tr>
  374. <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.
  375. Since it is only connected to by the tasks, it uses the local interface.
  376. EXPERT ONLY. Should only be changed if your host does not have the loopback
  377. interface.</td>
  378. </tr>
  379. <tr>
  380. <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
  381. data files. May be a comma-separated list of
  382. directories on different devices in order to spread disk i/o.
  383. Directories that do not exist are ignored.
  384. </td>
  385. </tr>
  386. <tr>
  387. <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
  388. to 10GB. This will act as a soft limit on the cache directory for out of band data.
  389. </td>
  390. </tr>
  391. <tr>
  392. <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.
  393. </td>
  394. </tr>
  395. <tr>
  396. <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.
  397. </td>
  398. </tr>
  399. <tr>
  400. <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,
  401. do not ask for more tasks.
  402. Value in bytes.
  403. </td>
  404. </tr>
  405. <tr>
  406. <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,
  407. do not ask more tasks until all the current ones have finished and
  408. cleaned up. Also, to save the rest of the tasks we have running,
  409. kill one of them, to clean up some space. Start with the reduce tasks,
  410. then go with the ones that have finished the least.
  411. Value in bytes.
  412. </td>
  413. </tr>
  414. <tr>
  415. <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
  416. a tasktracker is declared 'lost' if it doesn't send heartbeats.
  417. </td>
  418. </tr>
  419. <tr>
  420. <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.
  421. </td>
  422. </tr>
  423. <tr>
  424. <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
  425. to a prime several times greater than number of available hosts.
  426. Ignored when mapred.job.tracker is "local".
  427. </td>
  428. </tr>
  429. <tr>
  430. <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
  431. to a prime close to the number of available hosts. Ignored when
  432. mapred.job.tracker is "local".
  433. </td>
  434. </tr>
  435. <tr>
  436. <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>
  437. </tr>
  438. <tr>
  439. <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
  440. it gets preempted. No limits if undefined.
  441. </td>
  442. </tr>
  443. <tr>
  444. <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.
  445. In other words, framework will try to execute a map task these many number
  446. of times before giving up on it.
  447. </td>
  448. </tr>
  449. <tr>
  450. <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.
  451. In other words, framework will try to execute a reduce task these many number
  452. of times before giving up on it.
  453. </td>
  454. </tr>
  455. <tr>
  456. <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
  457. during the copy(shuffle) phase.
  458. </td>
  459. </tr>
  460. <tr>
  461. <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
  462. fetching one map output before declaring it as failed.
  463. </td>
  464. </tr>
  465. <tr>
  466. <td><a name="mapred.task.timeout">mapred.task.timeout</a></td><td>600000</td><td>The number of milliseconds before a task will be
  467. terminated if it neither reads an input, writes an output, nor
  468. updates its status string.
  469. </td>
  470. </tr>
  471. <tr>
  472. <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
  473. simultaneously by a task tracker.
  474. </td>
  475. </tr>
  476. <tr>
  477. <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
  478. simultaneously by a task tracker.
  479. </td>
  480. </tr>
  481. <tr>
  482. <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 before delegating them to the job history.
  483. </td>
  484. </tr>
  485. <tr>
  486. <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.
  487. </td>
  488. </tr>
  489. <tr>
  490. <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.
  491. The following symbol, if present, will be interpolated: @taskid@ is replaced
  492. by current TaskID. Any other occurrences of '@' will go unchanged.
  493. For example, to enable verbose gc logging to a file named for the taskid in
  494. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  495. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  496. The configuration variable mapred.child.ulimit can be used to control the
  497. maximum virtual memory of the child processes.
  498. </td>
  499. </tr>
  500. <tr>
  501. <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
  502. Map-Reduce framework. This can be used to control both the Mapper/Reducer
  503. tasks and applications using Hadoop Pipes, Hadoop Streaming etc.
  504. By default it is left unspecified to let cluster admins control it via
  505. limits.conf and other such relevant mechanisms.
  506. Note: mapred.child.ulimit must be greater than or equal to the -Xmx passed to
  507. JavaVM, else the VM might not start.
  508. </td>
  509. </tr>
  510. <tr>
  511. <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.
  512. If the value is an absolute path, it is directly assigned. Otherwise, it is
  513. prepended with task's working directory. The java tasks are executed with
  514. option -Djava.io.tmpdir='the absolute path of the tmp dir'. Pipes and
  515. streaming are set with environment variable,
  516. TMPDIR='the absolute path of the tmp dir'
  517. </td>
  518. </tr>
  519. <tr>
  520. <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
  521. for the in-memory merge process. When we accumulate threshold number of files
  522. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  523. 0 indicates we want to DON'T have any threshold and instead depend only on
  524. the ramfs's memory consumption to trigger the merge.
  525. </td>
  526. </tr>
  527. <tr>
  528. <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
  529. may be executed in parallel.</td>
  530. </tr>
  531. <tr>
  532. <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
  533. may be executed in parallel.</td>
  534. </tr>
  535. <tr>
  536. <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
  537. into. Note that some file formats may have minimum split sizes that
  538. take priority over this setting.</td>
  539. </tr>
  540. <tr>
  541. <td><a name="mapred.submit.replication">mapred.submit.replication</a></td><td>10</td><td>The replication level for submitted job files. This
  542. should be around the square root of the number of nodes.
  543. </td>
  544. </tr>
  545. <tr>
  546. <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
  547. tracker should report its IP address.
  548. </td>
  549. </tr>
  550. <tr>
  551. <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)
  552. which a TaskTracker should use to determine the host name used by
  553. the JobTracker for communication and display purposes.
  554. </td>
  555. </tr>
  556. <tr>
  557. <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
  558. used for map output fetching
  559. </td>
  560. </tr>
  561. <tr>
  562. <td><a name="mapred.task.tracker.http.address">mapred.task.tracker.http.address</a></td><td>0.0.0.0:50060</td><td>
  563. The task tracker http server address and port.
  564. If the port is 0 then the server will start on a free port.
  565. </td>
  566. </tr>
  567. <tr>
  568. <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
  569. used on jobs that are failing, because the storage is never
  570. reclaimed. It also prevents the map outputs from being erased
  571. from the reduce directory as they are consumed.</td>
  572. </tr>
  573. <tr>
  574. <td><a name="mapred.output.compress">mapred.output.compress</a></td><td>false</td><td>Should the job outputs be compressed?
  575. </td>
  576. </tr>
  577. <tr>
  578. <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
  579. they be compressed? Should be one of NONE, RECORD or BLOCK.
  580. </td>
  581. </tr>
  582. <tr>
  583. <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?
  584. </td>
  585. </tr>
  586. <tr>
  587. <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
  588. sent across the network. Uses SequenceFile compression.
  589. </td>
  590. </tr>
  591. <tr>
  592. <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
  593. compressed?
  594. </td>
  595. </tr>
  596. <tr>
  597. <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
  598. SequenceFiles.
  599. </td>
  600. </tr>
  601. <tr>
  602. <td><a name="io.seqfile.lazydecompress">io.seqfile.lazydecompress</a></td><td>true</td><td>Should values of block-compressed SequenceFiles be decompressed
  603. only when necessary.
  604. </td>
  605. </tr>
  606. <tr>
  607. <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
  608. in SequenceFiles.Sorter
  609. </td>
  610. </tr>
  611. <tr>
  612. <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.
  613. </td>
  614. </tr>
  615. <tr>
  616. <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.
  617. </td>
  618. </tr>
  619. <tr>
  620. <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
  621. retained.
  622. </td>
  623. </tr>
  624. <tr>
  625. <td><a name="mapred.hosts">mapred.hosts</a></td><td></td><td>Names a file that contains the list of nodes that may
  626. connect to the jobtracker. If the value is empty, all hosts are
  627. permitted.</td>
  628. </tr>
  629. <tr>
  630. <td><a name="mapred.hosts.exclude">mapred.hosts.exclude</a></td><td></td><td>Names a file that contains the list of hosts that
  631. should be excluded by the jobtracker. If the value is empty, no
  632. hosts are excluded.</td>
  633. </tr>
  634. <tr>
  635. <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
  636. after which new tasks of that job aren't assigned to it.
  637. </td>
  638. </tr>
  639. <tr>
  640. <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
  641. to the console of the JobClient.
  642. The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
  643. ALL.
  644. </td>
  645. </tr>
  646. <tr>
  647. <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
  648. active or not.
  649. </td>
  650. </tr>
  651. <tr>
  652. <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.
  653. The job status information will be available after it drops of the memory
  654. queue and between jobtracker restarts. With a zero value the job status
  655. information is not persisted at all in DFS.
  656. </td>
  657. </tr>
  658. <tr>
  659. <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
  660. in a file system to be available after it drops of the memory queue and
  661. between jobtracker restarts.
  662. </td>
  663. </tr>
  664. <tr>
  665. <td><a name="mapred.task.profile">mapred.task.profile</a></td><td>false</td><td>To set whether the system should collect profiler
  666. information for some of the tasks in this job? The information is stored
  667. in the the user log directory. The value is "true" if task profiling
  668. is enabled.</td>
  669. </tr>
  670. <tr>
  671. <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.
  672. mapred.task.profile has to be set to true for the value to be accounted.
  673. </td>
  674. </tr>
  675. <tr>
  676. <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.
  677. mapred.task.profile has to be set to true for the value to be accounted.
  678. </td>
  679. </tr>
  680. <tr>
  681. <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.
  682. </td>
  683. </tr>
  684. <tr>
  685. <td><a name="ipc.client.idlethreshold">ipc.client.idlethreshold</a></td><td>4000</td><td>Defines the threshold number of connections after which
  686. connections will be inspected for idleness.
  687. </td>
  688. </tr>
  689. <tr>
  690. <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.
  691. </td>
  692. </tr>
  693. <tr>
  694. <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
  695. connection to the server.
  696. </td>
  697. </tr>
  698. <tr>
  699. <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
  700. a server connection.
  701. </td>
  702. </tr>
  703. <tr>
  704. <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
  705. client connections.
  706. </td>
  707. </tr>
  708. <tr>
  709. <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
  710. the server. Setting to true disables the algorithm and may decrease latency
  711. with a cost of more/smaller packets.
  712. </td>
  713. </tr>
  714. <tr>
  715. <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
  716. the client. Setting to true disables the algorithm and may decrease latency
  717. with a cost of more/smaller packets.
  718. </td>
  719. </tr>
  720. <tr>
  721. <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
  722. notification URL </td>
  723. </tr>
  724. <tr>
  725. <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
  726. calls</td>
  727. </tr>
  728. <tr>
  729. <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
  730. actions, such as kill job, delete file, etc., that should
  731. not be exposed to public. Enable this option if the interfaces
  732. are only reachable by those who have the right authorization.
  733. </td>
  734. </tr>
  735. <tr>
  736. <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
  737. formatted as "package.FactoryClassName".
  738. </td>
  739. </tr>
  740. <tr>
  741. <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
  742. hadoop.rpc.socket.class.default. This socket factory is also used by
  743. DFSClient to create sockets to DataNodes.
  744. </td>
  745. </tr>
  746. <tr>
  747. <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
  748. (JobTracker). If null or empty, then use hadoop.rpc.socket.class.default.
  749. </td>
  750. </tr>
  751. <tr>
  752. <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
  753. SocksSocketFactory.
  754. </td>
  755. </tr>
  756. <tr>
  757. <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
  758. invokes a script specified in topology.script.file.name to resolve
  759. node names. If the value for topology.script.file.name is not set, the
  760. default value of DEFAULT_RACK is returned for all node names.
  761. </td>
  762. </tr>
  763. <tr>
  764. <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
  765. NetworkTopology names. Example: the script would take host.foo.bar as an
  766. argument, and return /rack1 as the output.
  767. </td>
  768. </tr>
  769. <tr>
  770. <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
  771. topology.script.file.name should be run with. Each arg is an
  772. IP address.
  773. </td>
  774. </tr>
  775. <tr>
  776. <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
  777. the level is 2, the tasks cached are at the host level and at the rack
  778. level.
  779. </td>
  780. </tr>
  781. <tr>
  782. <td><a name="mapred.tasktracker.tasks.maxmemory">mapred.tasktracker.tasks.maxmemory</a></td><td>-1</td><td> The maximum amount of virtual memory all tasks running on a
  783. tasktracker, including sub-processes they launch, can use. This value is
  784. used to compute the amount of free memory available for tasks. Any task
  785. scheduled on this tasktracker is guaranteed and constrained to use a
  786. share of this amount. Any task exceeding its share will be killed.
  787. If set to -1, this functionality is disabled, and mapred.task.maxmemory
  788. is ignored.
  789. </td>
  790. </tr>
  791. <tr>
  792. <td><a name="mapred.task.maxmemory">mapred.task.maxmemory</a></td><td>-1</td><td> The maximum amount of memory any task of a job will use.
  793. A task of this job will be scheduled on a tasktracker, only if the
  794. amount of free memory on the tasktracker is greater than or
  795. equal to this value. If set to -1, tasks are assured a memory limit on
  796. the tasktracker equal to
  797. mapred.tasktracker.tasks.maxmemory/number of slots. If the value of
  798. mapred.tasktracker.tasks.maxmemory is set to -1, this value is ignored.
  799. Note: If mapred.child.java.opts is specified with an Xmx value, or if
  800. mapred.child.ulimit is specified, then the value of mapred.task.maxmemory
  801. must be set to a higher value than these. If not, the task might be
  802. killed even though these limits are not reached.
  803. </td>
  804. </tr>
  805. </table>
  806. </body>
  807. </html>