hadoop-default.html 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095
  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.datanode.https.address">dfs.datanode.https.address</a></td><td>0.0.0.0:50475</td><td></td>
  194. </tr>
  195. <tr>
  196. <td><a name="dfs.https.address">dfs.https.address</a></td><td>0.0.0.0:50470</td><td></td>
  197. </tr>
  198. <tr>
  199. <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
  200. will be extracted
  201. </td>
  202. </tr>
  203. <tr>
  204. <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
  205. report its IP address.
  206. </td>
  207. </tr>
  208. <tr>
  209. <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)
  210. which a DataNode should use to determine the host name used by the
  211. NameNode for communication and display purposes.
  212. </td>
  213. </tr>
  214. <tr>
  215. <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
  216. </td>
  217. </tr>
  218. <tr>
  219. <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.
  220. </td>
  221. </tr>
  222. <tr>
  223. <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.
  224. </td>
  225. </tr>
  226. <tr>
  227. <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
  228. should store the name table(fsimage). If this is a comma-delimited list
  229. of directories then the name table is replicated in all of the
  230. directories, for redundancy. </td>
  231. </tr>
  232. <tr>
  233. <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
  234. should store the transaction (edits) file. If this is a comma-delimited list
  235. of directories then the transaction file is replicated in all of the
  236. directories, for redundancy. Default value is same as dfs.name.dir
  237. </td>
  238. </tr>
  239. <tr>
  240. <td><a name="dfs.web.ugi">dfs.web.ugi</a></td><td>webuser,webgroup</td><td>The user account used by the web interface.
  241. Syntax: USERNAME,GROUP1,GROUP2, ...
  242. </td>
  243. </tr>
  244. <tr>
  245. <td><a name="dfs.permissions">dfs.permissions</a></td><td>true</td><td>
  246. If "true", enable permission checking in HDFS.
  247. If "false", permission checking is turned off,
  248. but all other behavior is unchanged.
  249. Switching from one parameter value to the other does not change the mode,
  250. owner or group of files or directories.
  251. </td>
  252. </tr>
  253. <tr>
  254. <td><a name="dfs.permissions.supergroup">dfs.permissions.supergroup</a></td><td>supergroup</td><td>The name of the group of super-users.</td>
  255. </tr>
  256. <tr>
  257. <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
  258. should store its blocks. If this is a comma-delimited
  259. list of directories, then data will be stored in all named
  260. directories, typically on different devices.
  261. Directories that do not exist are ignored.
  262. </td>
  263. </tr>
  264. <tr>
  265. <td><a name="dfs.replication">dfs.replication</a></td><td>3</td><td>Default block replication.
  266. The actual number of replications can be specified when the file is created.
  267. The default is used if replication is not specified in create time.
  268. </td>
  269. </tr>
  270. <tr>
  271. <td><a name="dfs.replication.max">dfs.replication.max</a></td><td>512</td><td>Maximal block replication.
  272. </td>
  273. </tr>
  274. <tr>
  275. <td><a name="dfs.replication.min">dfs.replication.min</a></td><td>1</td><td>Minimal block replication.
  276. </td>
  277. </tr>
  278. <tr>
  279. <td><a name="dfs.block.size">dfs.block.size</a></td><td>67108864</td><td>The default block size for new files.</td>
  280. </tr>
  281. <tr>
  282. <td><a name="dfs.df.interval">dfs.df.interval</a></td><td>60000</td><td>Disk usage statistics refresh interval in msec.</td>
  283. </tr>
  284. <tr>
  285. <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,
  286. before we signal failure to the application.
  287. </td>
  288. </tr>
  289. <tr>
  290. <td><a name="dfs.blockreport.intervalMsec">dfs.blockreport.intervalMsec</a></td><td>3600000</td><td>Determines block reporting interval in milliseconds.</td>
  291. </tr>
  292. <tr>
  293. <td><a name="dfs.blockreport.initialDelay">dfs.blockreport.initialDelay</a></td><td>0</td><td>Delay for first block report in seconds.</td>
  294. </tr>
  295. <tr>
  296. <td><a name="dfs.heartbeat.interval">dfs.heartbeat.interval</a></td><td>3</td><td>Determines datanode heartbeat interval in seconds.</td>
  297. </tr>
  298. <tr>
  299. <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>
  300. </tr>
  301. <tr>
  302. <td><a name="dfs.safemode.threshold.pct">dfs.safemode.threshold.pct</a></td><td>0.999f</td><td>
  303. Specifies the percentage of blocks that should satisfy
  304. the minimal replication requirement defined by dfs.replication.min.
  305. Values less than or equal to 0 mean not to start in safe mode.
  306. Values greater than 1 will make safe mode permanent.
  307. </td>
  308. </tr>
  309. <tr>
  310. <td><a name="dfs.safemode.extension">dfs.safemode.extension</a></td><td>30000</td><td>
  311. Determines extension of safe mode in milliseconds
  312. after the threshold level is reached.
  313. </td>
  314. </tr>
  315. <tr>
  316. <td><a name="dfs.balance.bandwidthPerSec">dfs.balance.bandwidthPerSec</a></td><td>1048576</td><td>
  317. Specifies the maximum amount of bandwidth that each datanode
  318. can utilize for the balancing purpose in term of
  319. the number of bytes per second.
  320. </td>
  321. </tr>
  322. <tr>
  323. <td><a name="dfs.hosts">dfs.hosts</a></td><td></td><td>Names a file that contains a list of hosts that are
  324. permitted to connect to the namenode. The full pathname of the file
  325. must be specified. If the value is empty, all hosts are
  326. permitted.</td>
  327. </tr>
  328. <tr>
  329. <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
  330. not permitted to connect to the namenode. The full pathname of the
  331. file must be specified. If the value is empty, no hosts are
  332. excluded.</td>
  333. </tr>
  334. <tr>
  335. <td><a name="dfs.max.objects">dfs.max.objects</a></td><td>0</td><td>The maximum number of files, directories and blocks
  336. dfs supports. A value of zero indicates no limit to the number
  337. of objects that dfs supports.
  338. </td>
  339. </tr>
  340. <tr>
  341. <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
  342. complete.</td>
  343. </tr>
  344. <tr>
  345. <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
  346. in each dfs.namenode.decommission.interval.</td>
  347. </tr>
  348. <tr>
  349. <td><a name="dfs.replication.interval">dfs.replication.interval</a></td><td>3</td><td>The periodicity in seconds with which the namenode computes
  350. repliaction work for datanodes. </td>
  351. </tr>
  352. <tr>
  353. <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.
  354. The default value is 1 hour. Setting a value of 0 disables
  355. access times for HDFS.
  356. </td>
  357. </tr>
  358. <tr>
  359. <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>
  360. </tr>
  361. <tr>
  362. <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
  363. should store files before sending them to S3
  364. (or after retrieving them from S3).
  365. </td>
  366. </tr>
  367. <tr>
  368. <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,
  369. before we signal failure to the application.
  370. </td>
  371. </tr>
  372. <tr>
  373. <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.
  374. </td>
  375. </tr>
  376. <tr>
  377. <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
  378. at. If "local", then jobs are run in-process as a single map
  379. and reduce task.
  380. </td>
  381. </tr>
  382. <tr>
  383. <td><a name="mapred.job.tracker.http.address">mapred.job.tracker.http.address</a></td><td>0.0.0.0:50030</td><td>
  384. The job tracker http server address and port the server will listen on.
  385. If the port is 0 then the server will start on a free port.
  386. </td>
  387. </tr>
  388. <tr>
  389. <td><a name="mapred.job.tracker.handler.count">mapred.job.tracker.handler.count</a></td><td>10</td><td>
  390. The number of server threads for the JobTracker. This should be roughly
  391. 4% of the number of tasktracker nodes.
  392. </td>
  393. </tr>
  394. <tr>
  395. <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.
  396. Since it is only connected to by the tasks, it uses the local interface.
  397. EXPERT ONLY. Should only be changed if your host does not have the loopback
  398. interface.</td>
  399. </tr>
  400. <tr>
  401. <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
  402. data files. May be a comma-separated list of
  403. directories on different devices in order to spread disk i/o.
  404. Directories that do not exist are ignored.
  405. </td>
  406. </tr>
  407. <tr>
  408. <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
  409. to 10GB. This will act as a soft limit on the cache directory for out of band data.
  410. </td>
  411. </tr>
  412. <tr>
  413. <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.
  414. </td>
  415. </tr>
  416. <tr>
  417. <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.
  418. </td>
  419. </tr>
  420. <tr>
  421. <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,
  422. do not ask for more tasks.
  423. Value in bytes.
  424. </td>
  425. </tr>
  426. <tr>
  427. <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,
  428. do not ask more tasks until all the current ones have finished and
  429. cleaned up. Also, to save the rest of the tasks we have running,
  430. kill one of them, to clean up some space. Start with the reduce tasks,
  431. then go with the ones that have finished the least.
  432. Value in bytes.
  433. </td>
  434. </tr>
  435. <tr>
  436. <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
  437. a tasktracker is declared 'lost' if it doesn't send heartbeats.
  438. </td>
  439. </tr>
  440. <tr>
  441. <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.
  442. </td>
  443. </tr>
  444. <tr>
  445. <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
  446. that has to be reserved by the TaskTracker for system usage (OS, TT etc).
  447. The reserved virtual memory should be a part of the total virtual memory
  448. available on the TaskTracker.
  449. The reserved virtual memory and the total virtual memory values are
  450. reported by the TaskTracker as part of heart-beat so that they can
  451. considered by a scheduler. Please refer to the documentation of the
  452. configured scheduler to see how this property is used.
  453. These two values are also used by a TaskTracker for tracking tasks' memory
  454. usage. Memory management functionality on a TaskTracker is disabled if this
  455. property is set to -1, if it more than the total virtual memory on the
  456. tasktracker, or if either of the values is negative.
  457. </td>
  458. </tr>
  459. <tr>
  460. <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
  461. that has to be reserved by the TaskTracker for system usage (OS, TT etc).
  462. The reserved physical memory should be a part of the total physical memory
  463. available on the TaskTracker.
  464. The reserved physical memory and the total physical memory values are
  465. reported by the TaskTracker as part of heart-beat so that they can
  466. considered by a scheduler. Please refer to the documentation of the
  467. configured scheduler to see how this property is used.
  468. </td>
  469. </tr>
  470. <tr>
  471. <td><a name="mapred.task.default.maxvmem">mapred.task.default.maxvmem</a></td><td>-1</td><td>
  472. Cluster-wide configuration in bytes to be set by the administrators that
  473. provides default amount of maximum virtual memory for job's tasks. This has
  474. to be set on both the JobTracker node for the sake of scheduling decisions
  475. and on the TaskTracker nodes for the sake of memory management.
  476. If a job doesn't specify its virtual memory requirement by setting
  477. mapred.task.maxvmem to -1, tasks are assured a memory limit set
  478. to this property. This property is set to -1 by default.
  479. This value should in general be less than the cluster-wide
  480. configuration mapred.task.limit.maxvmem. If not or if it is not set,
  481. TaskTracker's memory management will be disabled and a scheduler's memory
  482. based scheduling decisions may be affected. Please refer to the
  483. documentation of the configured scheduler to see how this property is used.
  484. </td>
  485. </tr>
  486. <tr>
  487. <td><a name="mapred.task.limit.maxvmem">mapred.task.limit.maxvmem</a></td><td>-1</td><td>
  488. Cluster-wide configuration in bytes to be set by the site administrators
  489. that provides an upper limit on the maximum virtual memory that can be
  490. specified by a job via mapred.task.maxvmem. This has to be set on both the
  491. JobTracker node for the sake of scheduling decisions and on the TaskTracker
  492. nodes for the sake of memory management.
  493. The job configuration mapred.task.maxvmem should not be more than this
  494. value, otherwise depending on the scheduler being configured, the job may
  495. be rejected or the job configuration may just be ignored. Please refer to
  496. the documentation of the configured scheduler to see how this property is
  497. used.
  498. If it is not set a TaskTracker, TaskTracker's memory management will be
  499. disabled.
  500. </td>
  501. </tr>
  502. <tr>
  503. <td><a name="mapred.task.maxvmem">mapred.task.maxvmem</a></td><td>-1</td><td>
  504. The maximum amount of virtual memory any task of a job will use, in bytes.
  505. This value will be used by TaskTrackers for monitoring the memory usage of
  506. tasks of this jobs. If a TaskTracker's memory management functionality is
  507. enabled, each task of this job will be allowed to use a maximum virtual
  508. memory specified by this property. If the task's memory usage goes over
  509. this value, the task will be failed by the TT. If not set, the
  510. cluster-wide configuration mapred.task.default.maxvmem is used as the
  511. default value for memory requirements. If this property cascaded with
  512. mapred.task.default.maxvmem becomes equal to -1, the job's tasks will
  513. not be assured any particular amount of virtual memory and may be killed by
  514. a TT that intends to control the total memory usage of the tasks via memory
  515. management functionality. If the memory management functionality is
  516. disabled on a TT, this value is ignored.
  517. This value should not be more than the cluster-wide configuration
  518. mapred.task.limit.maxvmem.
  519. This value may be used by schedulers that support scheduling based on job's
  520. memory requirements. Please refer to the documentation of the scheduler
  521. being configured to see if it does memory based scheduling and if it does,
  522. how this property is used by that scheduler.
  523. </td>
  524. </tr>
  525. <tr>
  526. <td><a name="mapred.task.maxpmem">mapred.task.maxpmem</a></td><td>-1</td><td>
  527. The maximum amount of physical memory any task of a job will use in bytes.
  528. This value may be used by schedulers that support scheduling based on job's
  529. memory requirements. In general, a task of this job will be scheduled on a
  530. TaskTracker, only if the amount of physical memory still unoccupied on the
  531. TaskTracker is greater than or equal to this value. Different schedulers can
  532. take different decisions, some might just ignore this value. Please refer to
  533. the documentation of the scheduler being configured to see if it does
  534. memory based scheduling and if it does, how this variable is used by that
  535. scheduler.
  536. </td>
  537. </tr>
  538. <tr>
  539. <td><a name="mapred.tasktracker.memory_calculator_plugin">mapred.tasktracker.memory_calculator_plugin</a></td><td></td><td>
  540. Name of the class whose instance will be used to query memory information
  541. on the tasktracker.
  542. The class must be an instance of
  543. org.apache.hadoop.util.MemoryCalculatorPlugin. If the value is null, the
  544. tasktracker attempts to use a class appropriate to the platform.
  545. Currently, the only platform supported is Linux.
  546. </td>
  547. </tr>
  548. <tr>
  549. <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
  550. between two cycles of monitoring its tasks' memory usage. Used only if
  551. tasks' memory management is enabled via mapred.tasktracker.tasks.maxmemory.
  552. </td>
  553. </tr>
  554. <tr>
  555. <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
  556. SIGKILL to a process that has overrun memory limits, after it has been sent
  557. a SIGTERM. Used only if tasks' memory management is enabled via
  558. mapred.tasktracker.tasks.maxmemory.</td>
  559. </tr>
  560. <tr>
  561. <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
  562. to a prime several times greater than number of available hosts.
  563. Ignored when mapred.job.tracker is "local".
  564. </td>
  565. </tr>
  566. <tr>
  567. <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
  568. to a prime close to the number of available hosts. Ignored when
  569. mapred.job.tracker is "local".
  570. </td>
  571. </tr>
  572. <tr>
  573. <td><a name="mapred.jobtracker.restart.recover">mapred.jobtracker.restart.recover</a></td><td>false</td><td>"true" to enable (job) recovery upon restart,
  574. "false" to start afresh
  575. </td>
  576. </tr>
  577. <tr>
  578. <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
  579. uses job history, its important to dump job history to disk as
  580. soon as possible. Note that this is an expert level parameter.
  581. The default value is set to 3 MB.
  582. </td>
  583. </tr>
  584. <tr>
  585. <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>
  586. </tr>
  587. <tr>
  588. <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
  589. it gets preempted. No limits if undefined.
  590. </td>
  591. </tr>
  592. <tr>
  593. <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.
  594. In other words, framework will try to execute a map task these many number
  595. of times before giving up on it.
  596. </td>
  597. </tr>
  598. <tr>
  599. <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.
  600. In other words, framework will try to execute a reduce task these many number
  601. of times before giving up on it.
  602. </td>
  603. </tr>
  604. <tr>
  605. <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
  606. during the copy(shuffle) phase.
  607. </td>
  608. </tr>
  609. <tr>
  610. <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
  611. fetching one map output before declaring it as failed.
  612. </td>
  613. </tr>
  614. <tr>
  615. <td><a name="mapred.task.timeout">mapred.task.timeout</a></td><td>600000</td><td>The number of milliseconds before a task will be
  616. terminated if it neither reads an input, writes an output, nor
  617. updates its status string.
  618. </td>
  619. </tr>
  620. <tr>
  621. <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
  622. simultaneously by a task tracker.
  623. </td>
  624. </tr>
  625. <tr>
  626. <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
  627. simultaneously by a task tracker.
  628. </td>
  629. </tr>
  630. <tr>
  631. <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
  632. before delegating them to the job history.</td>
  633. </tr>
  634. <tr>
  635. <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.
  636. </td>
  637. </tr>
  638. <tr>
  639. <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.
  640. The following symbol, if present, will be interpolated: @taskid@ is replaced
  641. by current TaskID. Any other occurrences of '@' will go unchanged.
  642. For example, to enable verbose gc logging to a file named for the taskid in
  643. /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
  644. -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc
  645. The configuration variable mapred.child.ulimit can be used to control the
  646. maximum virtual memory of the child processes.
  647. </td>
  648. </tr>
  649. <tr>
  650. <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
  651. Map-Reduce framework. This can be used to control both the Mapper/Reducer
  652. tasks and applications using Hadoop Pipes, Hadoop Streaming etc.
  653. By default it is left unspecified to let cluster admins control it via
  654. limits.conf and other such relevant mechanisms.
  655. Note: mapred.child.ulimit must be greater than or equal to the -Xmx passed to
  656. JavaVM, else the VM might not start.
  657. </td>
  658. </tr>
  659. <tr>
  660. <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.
  661. If the value is an absolute path, it is directly assigned. Otherwise, it is
  662. prepended with task's working directory. The java tasks are executed with
  663. option -Djava.io.tmpdir='the absolute path of the tmp dir'. Pipes and
  664. streaming are set with environment variable,
  665. TMPDIR='the absolute path of the tmp dir'
  666. </td>
  667. </tr>
  668. <tr>
  669. <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
  670. for the in-memory merge process. When we accumulate threshold number of files
  671. we initiate the in-memory merge and spill to disk. A value of 0 or less than
  672. 0 indicates we want to DON'T have any threshold and instead depend only on
  673. the ramfs's memory consumption to trigger the merge.
  674. </td>
  675. </tr>
  676. <tr>
  677. <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
  678. initiated, expressed as a percentage of the total memory allocated to
  679. storing in-memory map outputs, as defined by
  680. mapred.job.shuffle.input.buffer.percent.
  681. </td>
  682. </tr>
  683. <tr>
  684. <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
  685. size to storing map outputs during the shuffle.
  686. </td>
  687. </tr>
  688. <tr>
  689. <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
  690. retain map outputs during the reduce. When the shuffle is concluded, any
  691. remaining map outputs in memory must consume less than this threshold before
  692. the reduce can begin.
  693. </td>
  694. </tr>
  695. <tr>
  696. <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
  697. may be executed in parallel.</td>
  698. </tr>
  699. <tr>
  700. <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
  701. may be executed in parallel.</td>
  702. </tr>
  703. <tr>
  704. <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
  705. no limit.
  706. </td>
  707. </tr>
  708. <tr>
  709. <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
  710. into. Note that some file formats may have minimum split sizes that
  711. take priority over this setting.</td>
  712. </tr>
  713. <tr>
  714. <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.
  715. A value of -1 indicates that there is no maximum. </td>
  716. </tr>
  717. <tr>
  718. <td><a name="mapred.submit.replication">mapred.submit.replication</a></td><td>10</td><td>The replication level for submitted job files. This
  719. should be around the square root of the number of nodes.
  720. </td>
  721. </tr>
  722. <tr>
  723. <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
  724. tracker should report its IP address.
  725. </td>
  726. </tr>
  727. <tr>
  728. <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)
  729. which a TaskTracker should use to determine the host name used by
  730. the JobTracker for communication and display purposes.
  731. </td>
  732. </tr>
  733. <tr>
  734. <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
  735. used for map output fetching
  736. </td>
  737. </tr>
  738. <tr>
  739. <td><a name="mapred.task.tracker.http.address">mapred.task.tracker.http.address</a></td><td>0.0.0.0:50060</td><td>
  740. The task tracker http server address and port.
  741. If the port is 0 then the server will start on a free port.
  742. </td>
  743. </tr>
  744. <tr>
  745. <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
  746. used on jobs that are failing, because the storage is never
  747. reclaimed. It also prevents the map outputs from being erased
  748. from the reduce directory as they are consumed.</td>
  749. </tr>
  750. <tr>
  751. <td><a name="mapred.output.compress">mapred.output.compress</a></td><td>false</td><td>Should the job outputs be compressed?
  752. </td>
  753. </tr>
  754. <tr>
  755. <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
  756. they be compressed? Should be one of NONE, RECORD or BLOCK.
  757. </td>
  758. </tr>
  759. <tr>
  760. <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?
  761. </td>
  762. </tr>
  763. <tr>
  764. <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
  765. sent across the network. Uses SequenceFile compression.
  766. </td>
  767. </tr>
  768. <tr>
  769. <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
  770. compressed?
  771. </td>
  772. </tr>
  773. <tr>
  774. <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
  775. SequenceFiles.
  776. </td>
  777. </tr>
  778. <tr>
  779. <td><a name="io.seqfile.lazydecompress">io.seqfile.lazydecompress</a></td><td>true</td><td>Should values of block-compressed SequenceFiles be decompressed
  780. only when necessary.
  781. </td>
  782. </tr>
  783. <tr>
  784. <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
  785. in SequenceFiles.Sorter
  786. </td>
  787. </tr>
  788. <tr>
  789. <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.
  790. </td>
  791. </tr>
  792. <tr>
  793. <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.
  794. </td>
  795. </tr>
  796. <tr>
  797. <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
  798. retained.
  799. </td>
  800. </tr>
  801. <tr>
  802. <td><a name="mapred.hosts">mapred.hosts</a></td><td></td><td>Names a file that contains the list of nodes that may
  803. connect to the jobtracker. If the value is empty, all hosts are
  804. permitted.</td>
  805. </tr>
  806. <tr>
  807. <td><a name="mapred.hosts.exclude">mapred.hosts.exclude</a></td><td></td><td>Names a file that contains the list of hosts that
  808. should be excluded by the jobtracker. If the value is empty, no
  809. hosts are excluded.</td>
  810. </tr>
  811. <tr>
  812. <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
  813. after which the task tracker could be blacklisted across
  814. all jobs. The tracker will be given a tasks later
  815. (after a day). The tracker will become a healthy
  816. tracker after a restart.
  817. </td>
  818. </tr>
  819. <tr>
  820. <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
  821. after which new tasks of that job aren't assigned to it.
  822. </td>
  823. </tr>
  824. <tr>
  825. <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
  826. to the console of the JobClient.
  827. The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
  828. ALL.
  829. </td>
  830. </tr>
  831. <tr>
  832. <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
  833. active or not.
  834. </td>
  835. </tr>
  836. <tr>
  837. <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.
  838. The job status information will be available after it drops of the memory
  839. queue and between jobtracker restarts. With a zero value the job status
  840. information is not persisted at all in DFS.
  841. </td>
  842. </tr>
  843. <tr>
  844. <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
  845. in a file system to be available after it drops of the memory queue and
  846. between jobtracker restarts.
  847. </td>
  848. </tr>
  849. <tr>
  850. <td><a name="mapred.task.profile">mapred.task.profile</a></td><td>false</td><td>To set whether the system should collect profiler
  851. information for some of the tasks in this job? The information is stored
  852. in the user log directory. The value is "true" if task profiling
  853. is enabled.</td>
  854. </tr>
  855. <tr>
  856. <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.
  857. mapred.task.profile has to be set to true for the value to be accounted.
  858. </td>
  859. </tr>
  860. <tr>
  861. <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.
  862. mapred.task.profile has to be set to true for the value to be accounted.
  863. </td>
  864. </tr>
  865. <tr>
  866. <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.
  867. </td>
  868. </tr>
  869. <tr>
  870. <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
  871. will be kicked off. When skip mode is kicked off, the
  872. tasks reports the range of records which it will process
  873. next, to the TaskTracker. So that on failures, TT knows which
  874. ones are possibly the bad records. On further executions,
  875. those are skipped.
  876. </td>
  877. </tr>
  878. <tr>
  879. <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,
  880. SkipBadRecords.COUNTER_MAP_PROCESSED_RECORDS is incremented
  881. by MapRunner after invoking the map function. This value must be set to
  882. false for applications which process the records asynchronously
  883. or buffer the input records. For example streaming.
  884. In such cases applications should increment this counter on their own.
  885. </td>
  886. </tr>
  887. <tr>
  888. <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,
  889. SkipBadRecords.COUNTER_REDUCE_PROCESSED_GROUPS is incremented
  890. by framework after invoking the reduce function. This value must be set to
  891. false for applications which process the records asynchronously
  892. or buffer the input records. For example streaming.
  893. In such cases applications should increment this counter on their own.
  894. </td>
  895. </tr>
  896. <tr>
  897. <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
  898. written to the output directory at _logs/skip.
  899. User can stop writing skipped records by giving the value "none".
  900. </td>
  901. </tr>
  902. <tr>
  903. <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
  904. record PER bad record in mapper. The number includes the bad record as well.
  905. To turn the feature of detection/skipping of bad records off, set the
  906. value to 0.
  907. The framework tries to narrow down the skipped range by retrying
  908. until this threshold is met OR all attempts get exhausted for this task.
  909. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  910. narrow down. Whatever records(depends on application) get skipped are
  911. acceptable.
  912. </td>
  913. </tr>
  914. <tr>
  915. <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
  916. group PER bad group in reducer. The number includes the bad group as well.
  917. To turn the feature of detection/skipping of bad groups off, set the
  918. value to 0.
  919. The framework tries to narrow down the skipped range by retrying
  920. until this threshold is met OR all attempts get exhausted for this task.
  921. Set the value to Long.MAX_VALUE to indicate that framework need not try to
  922. narrow down. Whatever groups(depends on application) get skipped are
  923. acceptable.
  924. </td>
  925. </tr>
  926. <tr>
  927. <td><a name="ipc.client.idlethreshold">ipc.client.idlethreshold</a></td><td>4000</td><td>Defines the threshold number of connections after which
  928. connections will be inspected for idleness.
  929. </td>
  930. </tr>
  931. <tr>
  932. <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.
  933. </td>
  934. </tr>
  935. <tr>
  936. <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
  937. connection to the server.
  938. </td>
  939. </tr>
  940. <tr>
  941. <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
  942. a server connection.
  943. </td>
  944. </tr>
  945. <tr>
  946. <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
  947. client connections.
  948. </td>
  949. </tr>
  950. <tr>
  951. <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
  952. the server. Setting to true disables the algorithm and may decrease latency
  953. with a cost of more/smaller packets.
  954. </td>
  955. </tr>
  956. <tr>
  957. <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
  958. the client. Setting to true disables the algorithm and may decrease latency
  959. with a cost of more/smaller packets.
  960. </td>
  961. </tr>
  962. <tr>
  963. <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
  964. notification URL </td>
  965. </tr>
  966. <tr>
  967. <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
  968. calls</td>
  969. </tr>
  970. <tr>
  971. <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
  972. actions, such as kill job, delete file, etc., that should
  973. not be exposed to public. Enable this option if the interfaces
  974. are only reachable by those who have the right authorization.
  975. </td>
  976. </tr>
  977. <tr>
  978. <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
  979. formatted as "package.FactoryClassName".
  980. </td>
  981. </tr>
  982. <tr>
  983. <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
  984. hadoop.rpc.socket.class.default. This socket factory is also used by
  985. DFSClient to create sockets to DataNodes.
  986. </td>
  987. </tr>
  988. <tr>
  989. <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
  990. (JobTracker). If null or empty, then use hadoop.rpc.socket.class.default.
  991. </td>
  992. </tr>
  993. <tr>
  994. <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
  995. SocksSocketFactory.
  996. </td>
  997. </tr>
  998. <tr>
  999. <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
  1000. invokes a script specified in topology.script.file.name to resolve
  1001. node names. If the value for topology.script.file.name is not set, the
  1002. default value of DEFAULT_RACK is returned for all node names.
  1003. </td>
  1004. </tr>
  1005. <tr>
  1006. <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
  1007. NetworkTopology names. Example: the script would take host.foo.bar as an
  1008. argument, and return /rack1 as the output.
  1009. </td>
  1010. </tr>
  1011. <tr>
  1012. <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
  1013. topology.script.file.name should be run with. Each arg is an
  1014. IP address.
  1015. </td>
  1016. </tr>
  1017. <tr>
  1018. <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
  1019. the level is 2, the tasks cached are at the host level and at the rack
  1020. level.
  1021. </td>
  1022. </tr>
  1023. <tr>
  1024. <td><a name="mapred.queue.names">mapred.queue.names</a></td><td>default</td><td> Comma separated list of queues configured for this jobtracker.
  1025. Jobs are added to queues and schedulers can configure different
  1026. scheduling properties for the various queues. To configure a property
  1027. for a queue, the name of the queue must match the name specified in this
  1028. value. Queue properties that are common to all schedulers are configured
  1029. here with the naming convention, mapred.queue.$QUEUE-NAME.$PROPERTY-NAME,
  1030. for e.g. mapred.queue.default.submit-job-acl.
  1031. The number of queues configured in this parameter could depend on the
  1032. type of scheduler being used, as specified in
  1033. mapred.jobtracker.taskScheduler. For example, the JobQueueTaskScheduler
  1034. supports only a single queue, which is the default configured here.
  1035. Before adding more queues, ensure that the scheduler you've configured
  1036. supports multiple queues.
  1037. </td>
  1038. </tr>
  1039. <tr>
  1040. <td><a name="mapred.acls.enabled">mapred.acls.enabled</a></td><td>false</td><td> Specifies whether ACLs are enabled, and should be checked
  1041. for various operations.
  1042. </td>
  1043. </tr>
  1044. <tr>
  1045. <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
  1046. to submit jobs to the 'default' queue. The user list and the group list
  1047. are separated by a blank. For e.g. alice,bob group1,group2.
  1048. If set to the special value '*', it means all users are allowed to
  1049. submit jobs.
  1050. </td>
  1051. </tr>
  1052. <tr>
  1053. <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
  1054. to delete jobs or modify job's priority for jobs not owned by the current
  1055. user in the 'default' queue. The user list and the group list
  1056. are separated by a blank. For e.g. alice,bob group1,group2.
  1057. If set to the special value '*', it means all users are allowed to do
  1058. this operation.
  1059. </td>
  1060. </tr>
  1061. <tr>
  1062. <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
  1063. queues defined in mapred.queue.names for the system. Also, the ACL setup
  1064. for the queue must allow the current user to submit a job to the queue.
  1065. Before specifying a queue, ensure that the system is configured with
  1066. the queue, and access is allowed for submitting jobs to the queue.
  1067. </td>
  1068. </tr>
  1069. <tr>
  1070. <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
  1071. index cache that is used when serving map outputs to reducers.
  1072. </td>
  1073. </tr>
  1074. <tr>
  1075. <td><a name="mapred.merge.recordsBeforeProgress">mapred.merge.recordsBeforeProgress</a></td><td>10000</td><td> The number of records to process during merge before
  1076. sending a progress notification to the TaskTracker.
  1077. </td>
  1078. </tr>
  1079. </table>
  1080. </body>
  1081. </html>