core-default.xml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4. Licensed to the Apache Software Foundation (ASF) under one or more
  5. contributor license agreements. See the NOTICE file distributed with
  6. this work for additional information regarding copyright ownership.
  7. The ASF licenses this file to You under the Apache License, Version 2.0
  8. (the "License"); you may not use this file except in compliance with
  9. the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <!-- Do not modify this file directly. Instead, copy entries that you -->
  18. <!-- wish to modify from this file into core-site.xml and change them -->
  19. <!-- there. If core-site.xml does not already exist, create it. -->
  20. <configuration>
  21. <!--- global properties -->
  22. <property>
  23. <name>hadoop.common.configuration.version</name>
  24. <value>0.23.0</value>
  25. <description>version of this configuration file</description>
  26. </property>
  27. <property>
  28. <name>hadoop.tmp.dir</name>
  29. <value>/tmp/hadoop-${user.name}</value>
  30. <description>A base for other temporary directories.</description>
  31. </property>
  32. <property>
  33. <name>io.native.lib.available</name>
  34. <value>true</value>
  35. <description>Should native hadoop libraries, if present, be used.</description>
  36. </property>
  37. <property>
  38. <name>hadoop.http.filter.initializers</name>
  39. <value>org.apache.hadoop.http.lib.StaticUserWebFilter</value>
  40. <description>A comma separated list of class names. Each class in the list
  41. must extend org.apache.hadoop.http.FilterInitializer. The corresponding
  42. Filter will be initialized. Then, the Filter will be applied to all user
  43. facing jsp and servlet web pages. The ordering of the list defines the
  44. ordering of the filters.</description>
  45. </property>
  46. <!--- security properties -->
  47. <property>
  48. <name>hadoop.security.authorization</name>
  49. <value>false</value>
  50. <description>Is service-level authorization enabled?</description>
  51. </property>
  52. <property>
  53. <name>hadoop.security.authentication</name>
  54. <value>simple</value>
  55. <description>Possible values are simple (no authentication), and kerberos
  56. </description>
  57. </property>
  58. <property>
  59. <name>hadoop.security.group.mapping</name>
  60. <value>org.apache.hadoop.security.ShellBasedUnixGroupsMapping</value>
  61. <description>
  62. Class for user to group mapping (get groups for a given user) for ACL
  63. </description>
  64. </property>
  65. <property>
  66. <name>hadoop.security.groups.cache.secs</name>
  67. <value>300</value>
  68. <description>
  69. This is the config controlling the validity of the entries in the cache
  70. containing the user->group mapping. When this duration has expired,
  71. then the implementation of the group mapping provider is invoked to get
  72. the groups of the user and then cached back.
  73. </description>
  74. </property>
  75. <property>
  76. <name>hadoop.security.group.mapping.ldap.url</name>
  77. <value></value>
  78. <description>
  79. The URL of the LDAP server to use for resolving user groups when using
  80. the LdapGroupsMapping user to group mapping.
  81. </description>
  82. </property>
  83. <property>
  84. <name>hadoop.security.group.mapping.ldap.ssl</name>
  85. <value>false</value>
  86. <description>
  87. Whether or not to use SSL when connecting to the LDAP server.
  88. </description>
  89. </property>
  90. <property>
  91. <name>hadoop.security.group.mapping.ldap.ssl.keystore</name>
  92. <value></value>
  93. <description>
  94. File path to the SSL keystore that contains the SSL certificate required
  95. by the LDAP server.
  96. </description>
  97. </property>
  98. <property>
  99. <name>hadoop.security.group.mapping.ldap.ssl.keystore.password.file</name>
  100. <value></value>
  101. <description>
  102. The path to a file containing the password of the LDAP SSL keystore.
  103. IMPORTANT: This file should be readable only by the Unix user running
  104. the daemons.
  105. </description>
  106. </property>
  107. <property>
  108. <name>hadoop.security.group.mapping.ldap.bind.user</name>
  109. <value></value>
  110. <description>
  111. The distinguished name of the user to bind as when connecting to the LDAP
  112. server. This may be left blank if the LDAP server supports anonymous binds.
  113. </description>
  114. </property>
  115. <property>
  116. <name>hadoop.security.group.mapping.ldap.bind.password.file</name>
  117. <value></value>
  118. <description>
  119. The path to a file containing the password of the bind user.
  120. IMPORTANT: This file should be readable only by the Unix user running
  121. the daemons.
  122. </description>
  123. </property>
  124. <property>
  125. <name>hadoop.security.group.mapping.ldap.base</name>
  126. <value></value>
  127. <description>
  128. The search base for the LDAP connection. This is a distinguished name,
  129. and will typically be the root of the LDAP directory.
  130. </description>
  131. </property>
  132. <property>
  133. <name>hadoop.security.group.mapping.ldap.search.filter.user</name>
  134. <value>(&amp;(objectClass=user)(sAMAccountName={0})</value>
  135. <description>
  136. An additional filter to use when searching for LDAP users. The default will
  137. usually be appropriate for Active Directory installations. If connecting to
  138. an LDAP server with a non-AD schema, this should be replaced with
  139. (&amp;(objectClass=inetOrgPerson)(uid={0}). {0} is a special string used to
  140. denote where the username fits into the filter.
  141. </description>
  142. </property>
  143. <property>
  144. <name>hadoop.security.group.mapping.ldap.search.filter.group</name>
  145. <value>(objectClass=group)</value>
  146. <description>
  147. An additional filter to use when searching for LDAP groups. This should be
  148. changed when resolving groups against a non-Active Directory installation.
  149. posixGroups are currently not a supported group class.
  150. </description>
  151. </property>
  152. <property>
  153. <name>hadoop.security.group.mapping.ldap.search.attr.member</name>
  154. <value>member</value>
  155. <description>
  156. The attribute of the group object that identifies the users that are
  157. members of the group. The default will usually be appropriate for
  158. any LDAP installation.
  159. </description>
  160. </property>
  161. <property>
  162. <name>hadoop.security.group.mapping.ldap.search.attr.group.name</name>
  163. <value>cn</value>
  164. <description>
  165. The attribute of the group object that identifies the group name. The
  166. default will usually be appropriate for all LDAP systems.
  167. </description>
  168. </property>
  169. <property>
  170. <name>hadoop.security.service.user.name.key</name>
  171. <value></value>
  172. <description>
  173. For those cases where the same RPC protocol is implemented by multiple
  174. servers, this configuration is required for specifying the principal
  175. name to use for the service when the client wishes to make an RPC call.
  176. </description>
  177. </property>
  178. <property>
  179. <name>hadoop.rpc.protection</name>
  180. <value>authentication</value>
  181. <description>This field sets the quality of protection for secured sasl
  182. connections. Possible values are authentication, integrity and privacy.
  183. authentication means authentication only and no integrity or privacy;
  184. integrity implies authentication and integrity are enabled; and privacy
  185. implies all of authentication, integrity and privacy are enabled.
  186. </description>
  187. </property>
  188. <property>
  189. <name>hadoop.work.around.non.threadsafe.getpwuid</name>
  190. <value>false</value>
  191. <description>Some operating systems or authentication modules are known to
  192. have broken implementations of getpwuid_r and getpwgid_r, such that these
  193. calls are not thread-safe. Symptoms of this problem include JVM crashes
  194. with a stack trace inside these functions. If your system exhibits this
  195. issue, enable this configuration parameter to include a lock around the
  196. calls as a workaround.
  197. An incomplete list of some systems known to have this issue is available
  198. at http://wiki.apache.org/hadoop/KnownBrokenPwuidImplementations
  199. </description>
  200. </property>
  201. <property>
  202. <name>hadoop.kerberos.kinit.command</name>
  203. <value>kinit</value>
  204. <description>Used to periodically renew Kerberos credentials when provided
  205. to Hadoop. The default setting assumes that kinit is in the PATH of users
  206. running the Hadoop client. Change this to the absolute path to kinit if this
  207. is not the case.
  208. </description>
  209. </property>
  210. <!-- i/o properties -->
  211. <property>
  212. <name>io.file.buffer.size</name>
  213. <value>4096</value>
  214. <description>The size of buffer for use in sequence files.
  215. The size of this buffer should probably be a multiple of hardware
  216. page size (4096 on Intel x86), and it determines how much data is
  217. buffered during read and write operations.</description>
  218. </property>
  219. <property>
  220. <name>io.bytes.per.checksum</name>
  221. <value>512</value>
  222. <description>The number of bytes per checksum. Must not be larger than
  223. io.file.buffer.size.</description>
  224. </property>
  225. <property>
  226. <name>io.skip.checksum.errors</name>
  227. <value>false</value>
  228. <description>If true, when a checksum error is encountered while
  229. reading a sequence file, entries are skipped, instead of throwing an
  230. exception.</description>
  231. </property>
  232. <property>
  233. <name>io.compression.codecs</name>
  234. <value></value>
  235. <description>A comma-separated list of the compression codec classes that can
  236. be used for compression/decompression. In addition to any classes specified
  237. with this property (which take precedence), codec classes on the classpath
  238. are discovered using a Java ServiceLoader.</description>
  239. </property>
  240. <property>
  241. <name>io.serializations</name>
  242. <value>org.apache.hadoop.io.serializer.WritableSerialization,org.apache.hadoop.io.serializer.avro.AvroSpecificSerialization,org.apache.hadoop.io.serializer.avro.AvroReflectSerialization</value>
  243. <description>A list of serialization classes that can be used for
  244. obtaining serializers and deserializers.</description>
  245. </property>
  246. <property>
  247. <name>io.seqfile.local.dir</name>
  248. <value>${hadoop.tmp.dir}/io/local</value>
  249. <description>The local directory where sequence file stores intermediate
  250. data files during merge. May be a comma-separated list of
  251. directories on different devices in order to spread disk i/o.
  252. Directories that do not exist are ignored.
  253. </description>
  254. </property>
  255. <property>
  256. <name>io.map.index.skip</name>
  257. <value>0</value>
  258. <description>Number of index entries to skip between each entry.
  259. Zero by default. Setting this to values larger than zero can
  260. facilitate opening large MapFiles using less memory.</description>
  261. </property>
  262. <property>
  263. <name>io.map.index.interval</name>
  264. <value>128</value>
  265. <description>
  266. MapFile consist of two files - data file (tuples) and index file
  267. (keys). For every io.map.index.interval records written in the
  268. data file, an entry (record-key, data-file-position) is written
  269. in the index file. This is to allow for doing binary search later
  270. within the index file to look up records by their keys and get their
  271. closest positions in the data file.
  272. </description>
  273. </property>
  274. <!-- file system properties -->
  275. <property>
  276. <name>fs.defaultFS</name>
  277. <value>file:///</value>
  278. <description>The name of the default file system. A URI whose
  279. scheme and authority determine the FileSystem implementation. The
  280. uri's scheme determines the config property (fs.SCHEME.impl) naming
  281. the FileSystem implementation class. The uri's authority is used to
  282. determine the host, port, etc. for a filesystem.</description>
  283. </property>
  284. <property>
  285. <name>fs.default.name</name>
  286. <value>file:///</value>
  287. <description>Deprecated. Use (fs.defaultFS) property
  288. instead</description>
  289. </property>
  290. <property>
  291. <name>fs.trash.interval</name>
  292. <value>0</value>
  293. <description>Number of minutes after which the checkpoint
  294. gets deleted.
  295. If zero, the trash feature is disabled.
  296. </description>
  297. </property>
  298. <property>
  299. <name>fs.trash.checkpoint.interval</name>
  300. <value>0</value>
  301. <description>Number of minutes between trash checkpoints.
  302. Should be smaller or equal to fs.trash.interval.
  303. Every time the checkpointer runs it creates a new checkpoint
  304. out of current and removes checkpoints created more than
  305. fs.trash.interval minutes ago.
  306. </description>
  307. </property>
  308. <property>
  309. <name>fs.AbstractFileSystem.file.impl</name>
  310. <value>org.apache.hadoop.fs.local.LocalFs</value>
  311. <description>The AbstractFileSystem for file: uris.</description>
  312. </property>
  313. <property>
  314. <name>fs.AbstractFileSystem.hdfs.impl</name>
  315. <value>org.apache.hadoop.fs.Hdfs</value>
  316. <description>The FileSystem for hdfs: uris.</description>
  317. </property>
  318. <property>
  319. <name>fs.AbstractFileSystem.viewfs.impl</name>
  320. <value>org.apache.hadoop.fs.viewfs.ViewFs</value>
  321. <description>The AbstractFileSystem for view file system for viewfs: uris
  322. (ie client side mount table:).</description>
  323. </property>
  324. <property>
  325. <name>fs.ftp.host</name>
  326. <value>0.0.0.0</value>
  327. <description>FTP filesystem connects to this server</description>
  328. </property>
  329. <property>
  330. <name>fs.ftp.host.port</name>
  331. <value>21</value>
  332. <description>
  333. FTP filesystem connects to fs.ftp.host on this port
  334. </description>
  335. </property>
  336. <property>
  337. <name>fs.df.interval</name>
  338. <value>60000</value>
  339. <description>Disk usage statistics refresh interval in msec.</description>
  340. </property>
  341. <property>
  342. <name>fs.s3.block.size</name>
  343. <value>67108864</value>
  344. <description>Block size to use when writing files to S3.</description>
  345. </property>
  346. <property>
  347. <name>fs.s3.buffer.dir</name>
  348. <value>${hadoop.tmp.dir}/s3</value>
  349. <description>Determines where on the local filesystem the S3 filesystem
  350. should store files before sending them to S3
  351. (or after retrieving them from S3).
  352. </description>
  353. </property>
  354. <property>
  355. <name>fs.s3.maxRetries</name>
  356. <value>4</value>
  357. <description>The maximum number of retries for reading or writing files to S3,
  358. before we signal failure to the application.
  359. </description>
  360. </property>
  361. <property>
  362. <name>fs.s3.sleepTimeSeconds</name>
  363. <value>10</value>
  364. <description>The number of seconds to sleep between each S3 retry.
  365. </description>
  366. </property>
  367. <property>
  368. <name>fs.automatic.close</name>
  369. <value>true</value>
  370. <description>By default, FileSystem instances are automatically closed at program
  371. exit using a JVM shutdown hook. Setting this property to false disables this
  372. behavior. This is an advanced option that should only be used by server applications
  373. requiring a more carefully orchestrated shutdown sequence.
  374. </description>
  375. </property>
  376. <property>
  377. <name>fs.s3n.block.size</name>
  378. <value>67108864</value>
  379. <description>Block size to use when reading files using the native S3
  380. filesystem (s3n: URIs).</description>
  381. </property>
  382. <property>
  383. <name>io.seqfile.compress.blocksize</name>
  384. <value>1000000</value>
  385. <description>The minimum block size for compression in block compressed
  386. SequenceFiles.
  387. </description>
  388. </property>
  389. <property>
  390. <name>io.seqfile.lazydecompress</name>
  391. <value>true</value>
  392. <description>Should values of block-compressed SequenceFiles be decompressed
  393. only when necessary.
  394. </description>
  395. </property>
  396. <property>
  397. <name>io.seqfile.sorter.recordlimit</name>
  398. <value>1000000</value>
  399. <description>The limit on number of records to be kept in memory in a spill
  400. in SequenceFiles.Sorter
  401. </description>
  402. </property>
  403. <property>
  404. <name>io.mapfile.bloom.size</name>
  405. <value>1048576</value>
  406. <description>The size of BloomFilter-s used in BloomMapFile. Each time this many
  407. keys is appended the next BloomFilter will be created (inside a DynamicBloomFilter).
  408. Larger values minimize the number of filters, which slightly increases the performance,
  409. but may waste too much space if the total number of keys is usually much smaller
  410. than this number.
  411. </description>
  412. </property>
  413. <property>
  414. <name>io.mapfile.bloom.error.rate</name>
  415. <value>0.005</value>
  416. <description>The rate of false positives in BloomFilter-s used in BloomMapFile.
  417. As this value decreases, the size of BloomFilter-s increases exponentially. This
  418. value is the probability of encountering false positives (default is 0.5%).
  419. </description>
  420. </property>
  421. <property>
  422. <name>hadoop.util.hash.type</name>
  423. <value>murmur</value>
  424. <description>The default implementation of Hash. Currently this can take one of the
  425. two values: 'murmur' to select MurmurHash and 'jenkins' to select JenkinsHash.
  426. </description>
  427. </property>
  428. <!-- ipc properties -->
  429. <property>
  430. <name>ipc.client.idlethreshold</name>
  431. <value>4000</value>
  432. <description>Defines the threshold number of connections after which
  433. connections will be inspected for idleness.
  434. </description>
  435. </property>
  436. <property>
  437. <name>ipc.client.kill.max</name>
  438. <value>10</value>
  439. <description>Defines the maximum number of clients to disconnect in one go.
  440. </description>
  441. </property>
  442. <property>
  443. <name>ipc.client.connection.maxidletime</name>
  444. <value>10000</value>
  445. <description>The maximum time in msec after which a client will bring down the
  446. connection to the server.
  447. </description>
  448. </property>
  449. <property>
  450. <name>ipc.client.connect.max.retries</name>
  451. <value>10</value>
  452. <description>Indicates the number of retries a client will make to establish
  453. a server connection.
  454. </description>
  455. </property>
  456. <property>
  457. <name>ipc.client.connect.max.retries.on.timeouts</name>
  458. <value>45</value>
  459. <description>Indicates the number of retries a client will make on socket timeout
  460. to establish a server connection.
  461. </description>
  462. </property>
  463. <property>
  464. <name>ipc.server.listen.queue.size</name>
  465. <value>128</value>
  466. <description>Indicates the length of the listen queue for servers accepting
  467. client connections.
  468. </description>
  469. </property>
  470. <property>
  471. <name>ipc.server.tcpnodelay</name>
  472. <value>false</value>
  473. <description>Turn on/off Nagle's algorithm for the TCP socket connection on
  474. the server. Setting to true disables the algorithm and may decrease latency
  475. with a cost of more/smaller packets.
  476. </description>
  477. </property>
  478. <property>
  479. <name>ipc.client.tcpnodelay</name>
  480. <value>false</value>
  481. <description>Turn on/off Nagle's algorithm for the TCP socket connection on
  482. the client. Setting to true disables the algorithm and may decrease latency
  483. with a cost of more/smaller packets.
  484. </description>
  485. </property>
  486. <!-- Proxy Configuration -->
  487. <property>
  488. <name>hadoop.rpc.socket.factory.class.default</name>
  489. <value>org.apache.hadoop.net.StandardSocketFactory</value>
  490. <description> Default SocketFactory to use. This parameter is expected to be
  491. formatted as "package.FactoryClassName".
  492. </description>
  493. </property>
  494. <property>
  495. <name>hadoop.rpc.socket.factory.class.ClientProtocol</name>
  496. <value></value>
  497. <description> SocketFactory to use to connect to a DFS. If null or empty, use
  498. hadoop.rpc.socket.class.default. This socket factory is also used by
  499. DFSClient to create sockets to DataNodes.
  500. </description>
  501. </property>
  502. <property>
  503. <name>hadoop.socks.server</name>
  504. <value></value>
  505. <description> Address (host:port) of the SOCKS server to be used by the
  506. SocksSocketFactory.
  507. </description>
  508. </property>
  509. <!-- Rack Configuration -->
  510. <property>
  511. <name>net.topology.node.switch.mapping.impl</name>
  512. <value>org.apache.hadoop.net.ScriptBasedMapping</value>
  513. <description> The default implementation of the DNSToSwitchMapping. It
  514. invokes a script specified in net.topology.script.file.name to resolve
  515. node names. If the value for net.topology.script.file.name is not set, the
  516. default value of DEFAULT_RACK is returned for all node names.
  517. </description>
  518. </property>
  519. <property>
  520. <name>net.topology.script.file.name</name>
  521. <value></value>
  522. <description> The script name that should be invoked to resolve DNS names to
  523. NetworkTopology names. Example: the script would take host.foo.bar as an
  524. argument, and return /rack1 as the output.
  525. </description>
  526. </property>
  527. <property>
  528. <name>net.topology.script.number.args</name>
  529. <value>100</value>
  530. <description> The max number of args that the script configured with
  531. net.topology.script.file.name should be run with. Each arg is an
  532. IP address.
  533. </description>
  534. </property>
  535. <property>
  536. <name>net.topology.table.file.name</name>
  537. <value></value>
  538. <description> The file name for a topology file, which is used when the
  539. net.topology.script.file.name property is set to
  540. org.apache.hadoop.net.TableMapping. The file format is a two column text
  541. file, with columns separated by whitespace. The first column is a DNS or
  542. IP address and the second column specifies the rack where the address maps.
  543. If no entry corresponding to a host in the cluster is found, then
  544. /default-rack is assumed.
  545. </description>
  546. </property>
  547. <!-- Local file system -->
  548. <property>
  549. <name>file.stream-buffer-size</name>
  550. <value>4096</value>
  551. <description>The size of buffer to stream files.
  552. The size of this buffer should probably be a multiple of hardware
  553. page size (4096 on Intel x86), and it determines how much data is
  554. buffered during read and write operations.</description>
  555. </property>
  556. <property>
  557. <name>file.bytes-per-checksum</name>
  558. <value>512</value>
  559. <description>The number of bytes per checksum. Must not be larger than
  560. file.stream-buffer-size</description>
  561. </property>
  562. <property>
  563. <name>file.client-write-packet-size</name>
  564. <value>65536</value>
  565. <description>Packet size for clients to write</description>
  566. </property>
  567. <property>
  568. <name>file.blocksize</name>
  569. <value>67108864</value>
  570. <description>Block size</description>
  571. </property>
  572. <property>
  573. <name>file.replication</name>
  574. <value>1</value>
  575. <description>Replication factor</description>
  576. </property>
  577. <!-- s3 File System -->
  578. <property>
  579. <name>s3.stream-buffer-size</name>
  580. <value>4096</value>
  581. <description>The size of buffer to stream files.
  582. The size of this buffer should probably be a multiple of hardware
  583. page size (4096 on Intel x86), and it determines how much data is
  584. buffered during read and write operations.</description>
  585. </property>
  586. <property>
  587. <name>s3.bytes-per-checksum</name>
  588. <value>512</value>
  589. <description>The number of bytes per checksum. Must not be larger than
  590. s3.stream-buffer-size</description>
  591. </property>
  592. <property>
  593. <name>s3.client-write-packet-size</name>
  594. <value>65536</value>
  595. <description>Packet size for clients to write</description>
  596. </property>
  597. <property>
  598. <name>s3.blocksize</name>
  599. <value>67108864</value>
  600. <description>Block size</description>
  601. </property>
  602. <property>
  603. <name>s3.replication</name>
  604. <value>3</value>
  605. <description>Replication factor</description>
  606. </property>
  607. <!-- s3native File System -->
  608. <property>
  609. <name>s3native.stream-buffer-size</name>
  610. <value>4096</value>
  611. <description>The size of buffer to stream files.
  612. The size of this buffer should probably be a multiple of hardware
  613. page size (4096 on Intel x86), and it determines how much data is
  614. buffered during read and write operations.</description>
  615. </property>
  616. <property>
  617. <name>s3native.bytes-per-checksum</name>
  618. <value>512</value>
  619. <description>The number of bytes per checksum. Must not be larger than
  620. s3native.stream-buffer-size</description>
  621. </property>
  622. <property>
  623. <name>s3native.client-write-packet-size</name>
  624. <value>65536</value>
  625. <description>Packet size for clients to write</description>
  626. </property>
  627. <property>
  628. <name>s3native.blocksize</name>
  629. <value>67108864</value>
  630. <description>Block size</description>
  631. </property>
  632. <property>
  633. <name>s3native.replication</name>
  634. <value>3</value>
  635. <description>Replication factor</description>
  636. </property>
  637. <!-- Kosmos File System -->
  638. <property>
  639. <name>kfs.stream-buffer-size</name>
  640. <value>4096</value>
  641. <description>The size of buffer to stream files.
  642. The size of this buffer should probably be a multiple of hardware
  643. page size (4096 on Intel x86), and it determines how much data is
  644. buffered during read and write operations.</description>
  645. </property>
  646. <property>
  647. <name>kfs.bytes-per-checksum</name>
  648. <value>512</value>
  649. <description>The number of bytes per checksum. Must not be larger than
  650. kfs.stream-buffer-size</description>
  651. </property>
  652. <property>
  653. <name>kfs.client-write-packet-size</name>
  654. <value>65536</value>
  655. <description>Packet size for clients to write</description>
  656. </property>
  657. <property>
  658. <name>kfs.blocksize</name>
  659. <value>67108864</value>
  660. <description>Block size</description>
  661. </property>
  662. <property>
  663. <name>kfs.replication</name>
  664. <value>3</value>
  665. <description>Replication factor</description>
  666. </property>
  667. <!-- FTP file system -->
  668. <property>
  669. <name>ftp.stream-buffer-size</name>
  670. <value>4096</value>
  671. <description>The size of buffer to stream files.
  672. The size of this buffer should probably be a multiple of hardware
  673. page size (4096 on Intel x86), and it determines how much data is
  674. buffered during read and write operations.</description>
  675. </property>
  676. <property>
  677. <name>ftp.bytes-per-checksum</name>
  678. <value>512</value>
  679. <description>The number of bytes per checksum. Must not be larger than
  680. ftp.stream-buffer-size</description>
  681. </property>
  682. <property>
  683. <name>ftp.client-write-packet-size</name>
  684. <value>65536</value>
  685. <description>Packet size for clients to write</description>
  686. </property>
  687. <property>
  688. <name>ftp.blocksize</name>
  689. <value>67108864</value>
  690. <description>Block size</description>
  691. </property>
  692. <property>
  693. <name>ftp.replication</name>
  694. <value>3</value>
  695. <description>Replication factor</description>
  696. </property>
  697. <!-- Tfile -->
  698. <property>
  699. <name>tfile.io.chunk.size</name>
  700. <value>1048576</value>
  701. <description>
  702. Value chunk size in bytes. Default to
  703. 1MB. Values of the length less than the chunk size is
  704. guaranteed to have known value length in read time (See also
  705. TFile.Reader.Scanner.Entry.isValueLengthKnown()).
  706. </description>
  707. </property>
  708. <property>
  709. <name>tfile.fs.output.buffer.size</name>
  710. <value>262144</value>
  711. <description>
  712. Buffer size used for FSDataOutputStream in bytes.
  713. </description>
  714. </property>
  715. <property>
  716. <name>tfile.fs.input.buffer.size</name>
  717. <value>262144</value>
  718. <description>
  719. Buffer size used for FSDataInputStream in bytes.
  720. </description>
  721. </property>
  722. <!-- HTTP web-consoles Authentication -->
  723. <property>
  724. <name>hadoop.http.authentication.type</name>
  725. <value>simple</value>
  726. <description>
  727. Defines authentication used for Oozie HTTP endpoint.
  728. Supported values are: simple | kerberos | #AUTHENTICATION_HANDLER_CLASSNAME#
  729. </description>
  730. </property>
  731. <property>
  732. <name>hadoop.http.authentication.token.validity</name>
  733. <value>36000</value>
  734. <description>
  735. Indicates how long (in seconds) an authentication token is valid before it has
  736. to be renewed.
  737. </description>
  738. </property>
  739. <property>
  740. <name>hadoop.http.authentication.signature.secret.file</name>
  741. <value>${user.home}/hadoop-http-auth-signature-secret</value>
  742. <description>
  743. The signature secret for signing the authentication tokens.
  744. If not set a random secret is generated at startup time.
  745. The same secret should be used for JT/NN/DN/TT configurations.
  746. </description>
  747. </property>
  748. <property>
  749. <name>hadoop.http.authentication.cookie.domain</name>
  750. <value></value>
  751. <description>
  752. The domain to use for the HTTP cookie that stores the authentication token.
  753. In order to authentiation to work correctly across all Hadoop nodes web-consoles
  754. the domain must be correctly set.
  755. IMPORTANT: when using IP addresses, browsers ignore cookies with domain settings.
  756. For this setting to work properly all nodes in the cluster must be configured
  757. to generate URLs with hostname.domain names on it.
  758. </description>
  759. </property>
  760. <property>
  761. <name>hadoop.http.authentication.simple.anonymous.allowed</name>
  762. <value>true</value>
  763. <description>
  764. Indicates if anonymous requests are allowed when using 'simple' authentication.
  765. </description>
  766. </property>
  767. <property>
  768. <name>hadoop.http.authentication.kerberos.principal</name>
  769. <value>HTTP/_HOST@LOCALHOST</value>
  770. <description>
  771. Indicates the Kerberos principal to be used for HTTP endpoint.
  772. The principal MUST start with 'HTTP/' as per Kerberos HTTP SPNEGO specification.
  773. </description>
  774. </property>
  775. <property>
  776. <name>hadoop.http.authentication.kerberos.keytab</name>
  777. <value>${user.home}/hadoop.keytab</value>
  778. <description>
  779. Location of the keytab file with the credentials for the principal.
  780. Referring to the same keytab file Oozie uses for its Kerberos credentials for Hadoop.
  781. </description>
  782. </property>
  783. <property>
  784. <name>dfs.ha.fencing.methods</name>
  785. <value></value>
  786. <description>
  787. List of fencing methods to use for service fencing. May contain
  788. builtin methods (eg shell and sshfence) or user-defined method.
  789. </description>
  790. </property>
  791. <property>
  792. <name>dfs.ha.fencing.ssh.connect-timeout</name>
  793. <value>30000</value>
  794. <description>
  795. SSH connection timeout, in milliseconds, to use with the builtin
  796. sshfence fencer.
  797. </description>
  798. </property>
  799. <property>
  800. <name>dfs.ha.fencing.ssh.private-key-files</name>
  801. <value></value>
  802. <description>
  803. The SSH private key files to use with the builtin sshfence fencer.
  804. </description>
  805. </property>
  806. </configuration>