hadoop-default.xml 48 KB

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