core-default.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  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.service.user.name.key</name>
  77. <value></value>
  78. <description>
  79. For those cases where the same RPC protocol is implemented by multiple
  80. servers, this configuration is required for specifying the principal
  81. name to use for the service when the client wishes to make an RPC call.
  82. </description>
  83. </property>
  84. <property>
  85. <name>hadoop.rpc.protection</name>
  86. <value>authentication</value>
  87. <description>This field sets the quality of protection for secured sasl
  88. connections. Possible values are authentication, integrity and privacy.
  89. authentication means authentication only and no integrity or privacy;
  90. integrity implies authentication and integrity are enabled; and privacy
  91. implies all of authentication, integrity and privacy are enabled.
  92. </description>
  93. </property>
  94. <property>
  95. <name>hadoop.work.around.non.threadsafe.getpwuid</name>
  96. <value>false</value>
  97. <description>Some operating systems or authentication modules are known to
  98. have broken implementations of getpwuid_r and getpwgid_r, such that these
  99. calls are not thread-safe. Symptoms of this problem include JVM crashes
  100. with a stack trace inside these functions. If your system exhibits this
  101. issue, enable this configuration parameter to include a lock around the
  102. calls as a workaround.
  103. An incomplete list of some systems known to have this issue is available
  104. at http://wiki.apache.org/hadoop/KnownBrokenPwuidImplementations
  105. </description>
  106. </property>
  107. <property>
  108. <name>hadoop.kerberos.kinit.command</name>
  109. <value>kinit</value>
  110. <description>Used to periodically renew Kerberos credentials when provided
  111. to Hadoop. The default setting assumes that kinit is in the PATH of users
  112. running the Hadoop client. Change this to the absolute path to kinit if this
  113. is not the case.
  114. </description>
  115. </property>
  116. <!-- i/o properties -->
  117. <property>
  118. <name>io.file.buffer.size</name>
  119. <value>4096</value>
  120. <description>The size of buffer for use in sequence files.
  121. The size of this buffer should probably be a multiple of hardware
  122. page size (4096 on Intel x86), and it determines how much data is
  123. buffered during read and write operations.</description>
  124. </property>
  125. <property>
  126. <name>io.bytes.per.checksum</name>
  127. <value>512</value>
  128. <description>The number of bytes per checksum. Must not be larger than
  129. io.file.buffer.size.</description>
  130. </property>
  131. <property>
  132. <name>io.skip.checksum.errors</name>
  133. <value>false</value>
  134. <description>If true, when a checksum error is encountered while
  135. reading a sequence file, entries are skipped, instead of throwing an
  136. exception.</description>
  137. </property>
  138. <property>
  139. <name>io.compression.codecs</name>
  140. <value>org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.BZip2Codec,org.apache.hadoop.io.compress.DeflateCodec,org.apache.hadoop.io.compress.SnappyCodec,org.apache.hadoop.io.compress.Lz4Codec</value>
  141. <description>A list of the compression codec classes that can be used
  142. for compression/decompression.</description>
  143. </property>
  144. <property>
  145. <name>io.serializations</name>
  146. <value>org.apache.hadoop.io.serializer.WritableSerialization,org.apache.hadoop.io.serializer.avro.AvroSpecificSerialization,org.apache.hadoop.io.serializer.avro.AvroReflectSerialization</value>
  147. <description>A list of serialization classes that can be used for
  148. obtaining serializers and deserializers.</description>
  149. </property>
  150. <property>
  151. <name>io.seqfile.local.dir</name>
  152. <value>${hadoop.tmp.dir}/io/local</value>
  153. <description>The local directory where sequence file stores intermediate
  154. data files during merge. May be a comma-separated list of
  155. directories on different devices in order to spread disk i/o.
  156. Directories that do not exist are ignored.
  157. </description>
  158. </property>
  159. <property>
  160. <name>io.map.index.skip</name>
  161. <value>0</value>
  162. <description>Number of index entries to skip between each entry.
  163. Zero by default. Setting this to values larger than zero can
  164. facilitate opening large MapFiles using less memory.</description>
  165. </property>
  166. <property>
  167. <name>io.map.index.interval</name>
  168. <value>128</value>
  169. <description>
  170. MapFile consist of two files - data file (tuples) and index file
  171. (keys). For every io.map.index.interval records written in the
  172. data file, an entry (record-key, data-file-position) is written
  173. in the index file. This is to allow for doing binary search later
  174. within the index file to look up records by their keys and get their
  175. closest positions in the data file.
  176. </description>
  177. </property>
  178. <!-- file system properties -->
  179. <property>
  180. <name>fs.defaultFS</name>
  181. <value>file:///</value>
  182. <description>The name of the default file system. A URI whose
  183. scheme and authority determine the FileSystem implementation. The
  184. uri's scheme determines the config property (fs.SCHEME.impl) naming
  185. the FileSystem implementation class. The uri's authority is used to
  186. determine the host, port, etc. for a filesystem.</description>
  187. </property>
  188. <property>
  189. <name>fs.default.name</name>
  190. <value>file:///</value>
  191. <description>Deprecated. Use (fs.defaultFS) property
  192. instead</description>
  193. </property>
  194. <property>
  195. <name>fs.trash.interval</name>
  196. <value>0</value>
  197. <description>Number of minutes after which the checkpoint
  198. gets deleted.
  199. If zero, the trash feature is disabled.
  200. </description>
  201. </property>
  202. <property>
  203. <name>fs.trash.checkpoint.interval</name>
  204. <value>0</value>
  205. <description>Number of minutes between trash checkpoints.
  206. Should be smaller or equal to fs.trash.interval.
  207. Every time the checkpointer runs it creates a new checkpoint
  208. out of current and removes checkpoints created more than
  209. fs.trash.interval minutes ago.
  210. </description>
  211. </property>
  212. <property>
  213. <name>fs.file.impl</name>
  214. <value>org.apache.hadoop.fs.LocalFileSystem</value>
  215. <description>The FileSystem for file: uris.</description>
  216. </property>
  217. <property>
  218. <name>fs.hdfs.impl</name>
  219. <value>org.apache.hadoop.hdfs.DistributedFileSystem</value>
  220. <description>The FileSystem for hdfs: uris.</description>
  221. </property>
  222. <property>
  223. <name>fs.viewfs.impl</name>
  224. <value>org.apache.hadoop.fs.viewfs.ViewFileSystem</value>
  225. <description>The FileSystem for view file system for viewfs: uris
  226. (ie client side mount table:).</description>
  227. </property>
  228. <property>
  229. <name>fs.AbstractFileSystem.file.impl</name>
  230. <value>org.apache.hadoop.fs.local.LocalFs</value>
  231. <description>The AbstractFileSystem for file: uris.</description>
  232. </property>
  233. <property>
  234. <name>fs.AbstractFileSystem.hdfs.impl</name>
  235. <value>org.apache.hadoop.fs.Hdfs</value>
  236. <description>The FileSystem for hdfs: uris.</description>
  237. </property>
  238. <property>
  239. <name>fs.AbstractFileSystem.viewfs.impl</name>
  240. <value>org.apache.hadoop.fs.viewfs.ViewFs</value>
  241. <description>The AbstractFileSystem for view file system for viewfs: uris
  242. (ie client side mount table:).</description>
  243. </property>
  244. <property>
  245. <name>fs.s3.impl</name>
  246. <value>org.apache.hadoop.fs.s3.S3FileSystem</value>
  247. <description>The FileSystem for s3: uris.</description>
  248. </property>
  249. <property>
  250. <name>fs.s3n.impl</name>
  251. <value>org.apache.hadoop.fs.s3native.NativeS3FileSystem</value>
  252. <description>The FileSystem for s3n: (Native S3) uris.</description>
  253. </property>
  254. <property>
  255. <name>fs.kfs.impl</name>
  256. <value>org.apache.hadoop.fs.kfs.KosmosFileSystem</value>
  257. <description>The FileSystem for kfs: uris.</description>
  258. </property>
  259. <property>
  260. <name>fs.hftp.impl</name>
  261. <value>org.apache.hadoop.hdfs.HftpFileSystem</value>
  262. </property>
  263. <property>
  264. <name>fs.hsftp.impl</name>
  265. <value>org.apache.hadoop.hdfs.HsftpFileSystem</value>
  266. </property>
  267. <property>
  268. <name>fs.webhdfs.impl</name>
  269. <value>org.apache.hadoop.hdfs.web.WebHdfsFileSystem</value>
  270. </property>
  271. <property>
  272. <name>fs.ftp.impl</name>
  273. <value>org.apache.hadoop.fs.ftp.FTPFileSystem</value>
  274. <description>The FileSystem for ftp: uris.</description>
  275. </property>
  276. <property>
  277. <name>fs.ftp.host</name>
  278. <value>0.0.0.0</value>
  279. <description>FTP filesystem connects to this server</description>
  280. </property>
  281. <property>
  282. <name>fs.ftp.host.port</name>
  283. <value>21</value>
  284. <description>
  285. FTP filesystem connects to fs.ftp.host on this port
  286. </description>
  287. </property>
  288. <property>
  289. <name>fs.har.impl</name>
  290. <value>org.apache.hadoop.fs.HarFileSystem</value>
  291. <description>The filesystem for Hadoop archives. </description>
  292. </property>
  293. <property>
  294. <name>fs.har.impl.disable.cache</name>
  295. <value>true</value>
  296. <description>Don't cache 'har' filesystem instances.</description>
  297. </property>
  298. <property>
  299. <name>fs.df.interval</name>
  300. <value>60000</value>
  301. <description>Disk usage statistics refresh interval in msec.</description>
  302. </property>
  303. <property>
  304. <name>fs.s3.block.size</name>
  305. <value>67108864</value>
  306. <description>Block size to use when writing files to S3.</description>
  307. </property>
  308. <property>
  309. <name>fs.s3.buffer.dir</name>
  310. <value>${hadoop.tmp.dir}/s3</value>
  311. <description>Determines where on the local filesystem the S3 filesystem
  312. should store files before sending them to S3
  313. (or after retrieving them from S3).
  314. </description>
  315. </property>
  316. <property>
  317. <name>fs.s3.maxRetries</name>
  318. <value>4</value>
  319. <description>The maximum number of retries for reading or writing files to S3,
  320. before we signal failure to the application.
  321. </description>
  322. </property>
  323. <property>
  324. <name>fs.s3.sleepTimeSeconds</name>
  325. <value>10</value>
  326. <description>The number of seconds to sleep between each S3 retry.
  327. </description>
  328. </property>
  329. <property>
  330. <name>fs.automatic.close</name>
  331. <value>true</value>
  332. <description>By default, FileSystem instances are automatically closed at program
  333. exit using a JVM shutdown hook. Setting this property to false disables this
  334. behavior. This is an advanced option that should only be used by server applications
  335. requiring a more carefully orchestrated shutdown sequence.
  336. </description>
  337. </property>
  338. <property>
  339. <name>fs.s3n.block.size</name>
  340. <value>67108864</value>
  341. <description>Block size to use when reading files using the native S3
  342. filesystem (s3n: URIs).</description>
  343. </property>
  344. <property>
  345. <name>io.seqfile.compress.blocksize</name>
  346. <value>1000000</value>
  347. <description>The minimum block size for compression in block compressed
  348. SequenceFiles.
  349. </description>
  350. </property>
  351. <property>
  352. <name>io.seqfile.lazydecompress</name>
  353. <value>true</value>
  354. <description>Should values of block-compressed SequenceFiles be decompressed
  355. only when necessary.
  356. </description>
  357. </property>
  358. <property>
  359. <name>io.seqfile.sorter.recordlimit</name>
  360. <value>1000000</value>
  361. <description>The limit on number of records to be kept in memory in a spill
  362. in SequenceFiles.Sorter
  363. </description>
  364. </property>
  365. <property>
  366. <name>io.mapfile.bloom.size</name>
  367. <value>1048576</value>
  368. <description>The size of BloomFilter-s used in BloomMapFile. Each time this many
  369. keys is appended the next BloomFilter will be created (inside a DynamicBloomFilter).
  370. Larger values minimize the number of filters, which slightly increases the performance,
  371. but may waste too much space if the total number of keys is usually much smaller
  372. than this number.
  373. </description>
  374. </property>
  375. <property>
  376. <name>io.mapfile.bloom.error.rate</name>
  377. <value>0.005</value>
  378. <description>The rate of false positives in BloomFilter-s used in BloomMapFile.
  379. As this value decreases, the size of BloomFilter-s increases exponentially. This
  380. value is the probability of encountering false positives (default is 0.5%).
  381. </description>
  382. </property>
  383. <property>
  384. <name>hadoop.util.hash.type</name>
  385. <value>murmur</value>
  386. <description>The default implementation of Hash. Currently this can take one of the
  387. two values: 'murmur' to select MurmurHash and 'jenkins' to select JenkinsHash.
  388. </description>
  389. </property>
  390. <!-- ipc properties -->
  391. <property>
  392. <name>ipc.client.idlethreshold</name>
  393. <value>4000</value>
  394. <description>Defines the threshold number of connections after which
  395. connections will be inspected for idleness.
  396. </description>
  397. </property>
  398. <property>
  399. <name>ipc.client.kill.max</name>
  400. <value>10</value>
  401. <description>Defines the maximum number of clients to disconnect in one go.
  402. </description>
  403. </property>
  404. <property>
  405. <name>ipc.client.connection.maxidletime</name>
  406. <value>10000</value>
  407. <description>The maximum time in msec after which a client will bring down the
  408. connection to the server.
  409. </description>
  410. </property>
  411. <property>
  412. <name>ipc.client.connect.max.retries</name>
  413. <value>10</value>
  414. <description>Indicates the number of retries a client will make to establish
  415. a server connection.
  416. </description>
  417. </property>
  418. <property>
  419. <name>ipc.server.listen.queue.size</name>
  420. <value>128</value>
  421. <description>Indicates the length of the listen queue for servers accepting
  422. client connections.
  423. </description>
  424. </property>
  425. <property>
  426. <name>ipc.server.tcpnodelay</name>
  427. <value>false</value>
  428. <description>Turn on/off Nagle's algorithm for the TCP socket connection on
  429. the server. Setting to true disables the algorithm and may decrease latency
  430. with a cost of more/smaller packets.
  431. </description>
  432. </property>
  433. <property>
  434. <name>ipc.client.tcpnodelay</name>
  435. <value>false</value>
  436. <description>Turn on/off Nagle's algorithm for the TCP socket connection on
  437. the client. Setting to true disables the algorithm and may decrease latency
  438. with a cost of more/smaller packets.
  439. </description>
  440. </property>
  441. <!-- Proxy Configuration -->
  442. <property>
  443. <name>hadoop.rpc.socket.factory.class.default</name>
  444. <value>org.apache.hadoop.net.StandardSocketFactory</value>
  445. <description> Default SocketFactory to use. This parameter is expected to be
  446. formatted as "package.FactoryClassName".
  447. </description>
  448. </property>
  449. <property>
  450. <name>hadoop.rpc.socket.factory.class.ClientProtocol</name>
  451. <value></value>
  452. <description> SocketFactory to use to connect to a DFS. If null or empty, use
  453. hadoop.rpc.socket.class.default. This socket factory is also used by
  454. DFSClient to create sockets to DataNodes.
  455. </description>
  456. </property>
  457. <property>
  458. <name>hadoop.socks.server</name>
  459. <value></value>
  460. <description> Address (host:port) of the SOCKS server to be used by the
  461. SocksSocketFactory.
  462. </description>
  463. </property>
  464. <!-- Rack Configuration -->
  465. <property>
  466. <name>net.topology.node.switch.mapping.impl</name>
  467. <value>org.apache.hadoop.net.ScriptBasedMapping</value>
  468. <description> The default implementation of the DNSToSwitchMapping. It
  469. invokes a script specified in net.topology.script.file.name to resolve
  470. node names. If the value for net.topology.script.file.name is not set, the
  471. default value of DEFAULT_RACK is returned for all node names.
  472. </description>
  473. </property>
  474. <property>
  475. <name>net.topology.script.file.name</name>
  476. <value></value>
  477. <description> The script name that should be invoked to resolve DNS names to
  478. NetworkTopology names. Example: the script would take host.foo.bar as an
  479. argument, and return /rack1 as the output.
  480. </description>
  481. </property>
  482. <property>
  483. <name>net.topology.script.number.args</name>
  484. <value>100</value>
  485. <description> The max number of args that the script configured with
  486. net.topology.script.file.name should be run with. Each arg is an
  487. IP address.
  488. </description>
  489. </property>
  490. <!-- Local file system -->
  491. <property>
  492. <name>file.stream-buffer-size</name>
  493. <value>4096</value>
  494. <description>The size of buffer to stream files.
  495. The size of this buffer should probably be a multiple of hardware
  496. page size (4096 on Intel x86), and it determines how much data is
  497. buffered during read and write operations.</description>
  498. </property>
  499. <property>
  500. <name>file.bytes-per-checksum</name>
  501. <value>512</value>
  502. <description>The number of bytes per checksum. Must not be larger than
  503. file.stream-buffer-size</description>
  504. </property>
  505. <property>
  506. <name>file.client-write-packet-size</name>
  507. <value>65536</value>
  508. <description>Packet size for clients to write</description>
  509. </property>
  510. <property>
  511. <name>file.blocksize</name>
  512. <value>67108864</value>
  513. <description>Block size</description>
  514. </property>
  515. <property>
  516. <name>file.replication</name>
  517. <value>1</value>
  518. <description>Replication factor</description>
  519. </property>
  520. <!-- s3 File System -->
  521. <property>
  522. <name>s3.stream-buffer-size</name>
  523. <value>4096</value>
  524. <description>The size of buffer to stream files.
  525. The size of this buffer should probably be a multiple of hardware
  526. page size (4096 on Intel x86), and it determines how much data is
  527. buffered during read and write operations.</description>
  528. </property>
  529. <property>
  530. <name>s3.bytes-per-checksum</name>
  531. <value>512</value>
  532. <description>The number of bytes per checksum. Must not be larger than
  533. s3.stream-buffer-size</description>
  534. </property>
  535. <property>
  536. <name>s3.client-write-packet-size</name>
  537. <value>65536</value>
  538. <description>Packet size for clients to write</description>
  539. </property>
  540. <property>
  541. <name>s3.blocksize</name>
  542. <value>67108864</value>
  543. <description>Block size</description>
  544. </property>
  545. <property>
  546. <name>s3.replication</name>
  547. <value>3</value>
  548. <description>Replication factor</description>
  549. </property>
  550. <!-- s3native File System -->
  551. <property>
  552. <name>s3native.stream-buffer-size</name>
  553. <value>4096</value>
  554. <description>The size of buffer to stream files.
  555. The size of this buffer should probably be a multiple of hardware
  556. page size (4096 on Intel x86), and it determines how much data is
  557. buffered during read and write operations.</description>
  558. </property>
  559. <property>
  560. <name>s3native.bytes-per-checksum</name>
  561. <value>512</value>
  562. <description>The number of bytes per checksum. Must not be larger than
  563. s3native.stream-buffer-size</description>
  564. </property>
  565. <property>
  566. <name>s3native.client-write-packet-size</name>
  567. <value>65536</value>
  568. <description>Packet size for clients to write</description>
  569. </property>
  570. <property>
  571. <name>s3native.blocksize</name>
  572. <value>67108864</value>
  573. <description>Block size</description>
  574. </property>
  575. <property>
  576. <name>s3native.replication</name>
  577. <value>3</value>
  578. <description>Replication factor</description>
  579. </property>
  580. <!-- Kosmos File System -->
  581. <property>
  582. <name>kfs.stream-buffer-size</name>
  583. <value>4096</value>
  584. <description>The size of buffer to stream files.
  585. The size of this buffer should probably be a multiple of hardware
  586. page size (4096 on Intel x86), and it determines how much data is
  587. buffered during read and write operations.</description>
  588. </property>
  589. <property>
  590. <name>kfs.bytes-per-checksum</name>
  591. <value>512</value>
  592. <description>The number of bytes per checksum. Must not be larger than
  593. kfs.stream-buffer-size</description>
  594. </property>
  595. <property>
  596. <name>kfs.client-write-packet-size</name>
  597. <value>65536</value>
  598. <description>Packet size for clients to write</description>
  599. </property>
  600. <property>
  601. <name>kfs.blocksize</name>
  602. <value>67108864</value>
  603. <description>Block size</description>
  604. </property>
  605. <property>
  606. <name>kfs.replication</name>
  607. <value>3</value>
  608. <description>Replication factor</description>
  609. </property>
  610. <!-- FTP file system -->
  611. <property>
  612. <name>ftp.stream-buffer-size</name>
  613. <value>4096</value>
  614. <description>The size of buffer to stream files.
  615. The size of this buffer should probably be a multiple of hardware
  616. page size (4096 on Intel x86), and it determines how much data is
  617. buffered during read and write operations.</description>
  618. </property>
  619. <property>
  620. <name>ftp.bytes-per-checksum</name>
  621. <value>512</value>
  622. <description>The number of bytes per checksum. Must not be larger than
  623. ftp.stream-buffer-size</description>
  624. </property>
  625. <property>
  626. <name>ftp.client-write-packet-size</name>
  627. <value>65536</value>
  628. <description>Packet size for clients to write</description>
  629. </property>
  630. <property>
  631. <name>ftp.blocksize</name>
  632. <value>67108864</value>
  633. <description>Block size</description>
  634. </property>
  635. <property>
  636. <name>ftp.replication</name>
  637. <value>3</value>
  638. <description>Replication factor</description>
  639. </property>
  640. <!-- Tfile -->
  641. <property>
  642. <name>tfile.io.chunk.size</name>
  643. <value>1048576</value>
  644. <description>
  645. Value chunk size in bytes. Default to
  646. 1MB. Values of the length less than the chunk size is
  647. guaranteed to have known value length in read time (See also
  648. TFile.Reader.Scanner.Entry.isValueLengthKnown()).
  649. </description>
  650. </property>
  651. <property>
  652. <name>tfile.fs.output.buffer.size</name>
  653. <value>262144</value>
  654. <description>
  655. Buffer size used for FSDataOutputStream in bytes.
  656. </description>
  657. </property>
  658. <property>
  659. <name>tfile.fs.input.buffer.size</name>
  660. <value>262144</value>
  661. <description>
  662. Buffer size used for FSDataInputStream in bytes.
  663. </description>
  664. </property>
  665. <!-- HTTP web-consoles Authentication -->
  666. <property>
  667. <name>hadoop.http.authentication.type</name>
  668. <value>simple</value>
  669. <description>
  670. Defines authentication used for Oozie HTTP endpoint.
  671. Supported values are: simple | kerberos | #AUTHENTICATION_HANDLER_CLASSNAME#
  672. </description>
  673. </property>
  674. <property>
  675. <name>hadoop.http.authentication.token.validity</name>
  676. <value>36000</value>
  677. <description>
  678. Indicates how long (in seconds) an authentication token is valid before it has
  679. to be renewed.
  680. </description>
  681. </property>
  682. <property>
  683. <name>hadoop.http.authentication.signature.secret</name>
  684. <value>hadoop</value>
  685. <description>
  686. The signature secret for signing the authentication tokens.
  687. If not set a random secret is generated at startup time.
  688. The same secret should be used for JT/NN/DN/TT configurations.
  689. </description>
  690. </property>
  691. <property>
  692. <name>hadoop.http.authentication.cookie.domain</name>
  693. <value></value>
  694. <description>
  695. The domain to use for the HTTP cookie that stores the authentication token.
  696. In order to authentiation to work correctly across all Hadoop nodes web-consoles
  697. the domain must be correctly set.
  698. IMPORTANT: when using IP addresses, browsers ignore cookies with domain settings.
  699. For this setting to work properly all nodes in the cluster must be configured
  700. to generate URLs with hostname.domain names on it.
  701. </description>
  702. </property>
  703. <property>
  704. <name>hadoop.http.authentication.simple.anonymous.allowed</name>
  705. <value>true</value>
  706. <description>
  707. Indicates if anonymous requests are allowed when using 'simple' authentication.
  708. </description>
  709. </property>
  710. <property>
  711. <name>hadoop.http.authentication.kerberos.principal</name>
  712. <value>HTTP/localhost@LOCALHOST</value>
  713. <description>
  714. Indicates the Kerberos principal to be used for HTTP endpoint.
  715. The principal MUST start with 'HTTP/' as per Kerberos HTTP SPNEGO specification.
  716. </description>
  717. </property>
  718. <property>
  719. <name>hadoop.http.authentication.kerberos.keytab</name>
  720. <value>${user.home}/hadoop.keytab</value>
  721. <description>
  722. Location of the keytab file with the credentials for the principal.
  723. Referring to the same keytab file Oozie uses for its Kerberos credentials for Hadoop.
  724. </description>
  725. </property>
  726. </configuration>