core-default.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  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.22.1</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></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. <!--- logging properties -->
  117. <property>
  118. <name>hadoop.logfile.size</name>
  119. <value>10000000</value>
  120. <description>The max size of each log file</description>
  121. </property>
  122. <property>
  123. <name>hadoop.logfile.count</name>
  124. <value>10</value>
  125. <description>The max number of log files</description>
  126. </property>
  127. <!-- i/o properties -->
  128. <property>
  129. <name>io.file.buffer.size</name>
  130. <value>4096</value>
  131. <description>The size of buffer for use in sequence files.
  132. The size of this buffer should probably be a multiple of hardware
  133. page size (4096 on Intel x86), and it determines how much data is
  134. buffered during read and write operations.</description>
  135. </property>
  136. <property>
  137. <name>io.bytes.per.checksum</name>
  138. <value>512</value>
  139. <description>The number of bytes per checksum. Must not be larger than
  140. io.file.buffer.size.</description>
  141. </property>
  142. <property>
  143. <name>io.skip.checksum.errors</name>
  144. <value>false</value>
  145. <description>If true, when a checksum error is encountered while
  146. reading a sequence file, entries are skipped, instead of throwing an
  147. exception.</description>
  148. </property>
  149. <property>
  150. <name>io.compression.codecs</name>
  151. <value>org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.BZip2Codec</value>
  152. <description>A list of the compression codec classes that can be used
  153. for compression/decompression.</description>
  154. </property>
  155. <property>
  156. <name>io.serializations</name>
  157. <value>org.apache.hadoop.io.serializer.WritableSerialization,org.apache.hadoop.io.serializer.avro.AvroSpecificSerialization,org.apache.hadoop.io.serializer.avro.AvroReflectSerialization</value>
  158. <description>A list of serialization classes that can be used for
  159. obtaining serializers and deserializers.</description>
  160. </property>
  161. <property>
  162. <name>io.seqfile.local.dir</name>
  163. <value>${hadoop.tmp.dir}/io/local</value>
  164. <description>The local directory where sequence file stores intermediate
  165. data files during merge. May be a comma-separated list of
  166. directories on different devices in order to spread disk i/o.
  167. Directories that do not exist are ignored.
  168. </description>
  169. </property>
  170. <property>
  171. <name>io.map.index.skip</name>
  172. <value>0</value>
  173. <description>Number of index entries to skip between each entry.
  174. Zero by default. Setting this to values larger than zero can
  175. facilitate opening large MapFiles using less memory.</description>
  176. </property>
  177. <property>
  178. <name>io.map.index.interval</name>
  179. <value>128</value>
  180. <description>
  181. MapFile consist of two files - data file (tuples) and index file
  182. (keys). For every io.map.index.interval records written in the
  183. data file, an entry (record-key, data-file-position) is written
  184. in the index file. This is to allow for doing binary search later
  185. within the index file to look up records by their keys and get their
  186. closest positions in the data file.
  187. </description>
  188. </property>
  189. <!-- file system properties -->
  190. <property>
  191. <name>fs.defaultFS</name>
  192. <value>file:///</value>
  193. <description>The name of the default file system. A URI whose
  194. scheme and authority determine the FileSystem implementation. The
  195. uri's scheme determines the config property (fs.SCHEME.impl) naming
  196. the FileSystem implementation class. The uri's authority is used to
  197. determine the host, port, etc. for a filesystem.</description>
  198. </property>
  199. <property>
  200. <name>fs.trash.interval</name>
  201. <value>0</value>
  202. <description>Number of minutes after which the checkpoint
  203. gets deleted.
  204. If zero, the trash feature is disabled.
  205. </description>
  206. </property>
  207. <property>
  208. <name>fs.trash.checkpoint.interval</name>
  209. <value>0</value>
  210. <description>Number of minutes between trash checkpoints.
  211. Should be smaller or equal to fs.trash.interval.
  212. Every time the checkpointer runs it creates a new checkpoint
  213. out of current and removes checkpoints created more than
  214. fs.trash.interval minutes ago.
  215. </description>
  216. </property>
  217. <property>
  218. <name>fs.file.impl</name>
  219. <value>org.apache.hadoop.fs.LocalFileSystem</value>
  220. <description>The FileSystem for file: uris.</description>
  221. </property>
  222. <property>
  223. <name>fs.hdfs.impl</name>
  224. <value>org.apache.hadoop.hdfs.DistributedFileSystem</value>
  225. <description>The FileSystem for hdfs: uris.</description>
  226. </property>
  227. <property>
  228. <name>fs.AbstractFileSystem.file.impl</name>
  229. <value>org.apache.hadoop.fs.local.LocalFs</value>
  230. <description>The AbstractFileSystem for file: uris.</description>
  231. </property>
  232. <property>
  233. <name>fs.AbstractFileSystem.hdfs.impl</name>
  234. <value>org.apache.hadoop.fs.Hdfs</value>
  235. <description>The FileSystem for hdfs: uris.</description>
  236. </property>
  237. <property>
  238. <name>fs.s3.impl</name>
  239. <value>org.apache.hadoop.fs.s3.S3FileSystem</value>
  240. <description>The FileSystem for s3: uris.</description>
  241. </property>
  242. <property>
  243. <name>fs.s3n.impl</name>
  244. <value>org.apache.hadoop.fs.s3native.NativeS3FileSystem</value>
  245. <description>The FileSystem for s3n: (Native S3) uris.</description>
  246. </property>
  247. <property>
  248. <name>fs.kfs.impl</name>
  249. <value>org.apache.hadoop.fs.kfs.KosmosFileSystem</value>
  250. <description>The FileSystem for kfs: uris.</description>
  251. </property>
  252. <property>
  253. <name>fs.hftp.impl</name>
  254. <value>org.apache.hadoop.hdfs.HftpFileSystem</value>
  255. </property>
  256. <property>
  257. <name>fs.hsftp.impl</name>
  258. <value>org.apache.hadoop.hdfs.HsftpFileSystem</value>
  259. </property>
  260. <property>
  261. <name>fs.ftp.impl</name>
  262. <value>org.apache.hadoop.fs.ftp.FTPFileSystem</value>
  263. <description>The FileSystem for ftp: uris.</description>
  264. </property>
  265. <property>
  266. <name>fs.ftp.host</name>
  267. <value>0.0.0.0</value>
  268. <description>FTP filesystem connects to this server</description>
  269. </property>
  270. <property>
  271. <name>fs.ftp.host.port</name>
  272. <value>21</value>
  273. <description>
  274. FTP filesystem connects to fs.ftp.host on this port
  275. </description>
  276. </property>
  277. <property>
  278. <name>fs.har.impl</name>
  279. <value>org.apache.hadoop.fs.HarFileSystem</value>
  280. <description>The filesystem for Hadoop archives. </description>
  281. </property>
  282. <property>
  283. <name>fs.har.impl.disable.cache</name>
  284. <value>true</value>
  285. <description>Don't cache 'har' filesystem instances.</description>
  286. </property>
  287. <property>
  288. <name>fs.df.interval</name>
  289. <value>60000</value>
  290. <description>Disk usage statistics refresh interval in msec.</description>
  291. </property>
  292. <property>
  293. <name>fs.s3.block.size</name>
  294. <value>67108864</value>
  295. <description>Block size to use when writing files to S3.</description>
  296. </property>
  297. <property>
  298. <name>fs.s3.buffer.dir</name>
  299. <value>${hadoop.tmp.dir}/s3</value>
  300. <description>Determines where on the local filesystem the S3 filesystem
  301. should store files before sending them to S3
  302. (or after retrieving them from S3).
  303. </description>
  304. </property>
  305. <property>
  306. <name>fs.s3.maxRetries</name>
  307. <value>4</value>
  308. <description>The maximum number of retries for reading or writing files to S3,
  309. before we signal failure to the application.
  310. </description>
  311. </property>
  312. <property>
  313. <name>fs.s3.sleepTimeSeconds</name>
  314. <value>10</value>
  315. <description>The number of seconds to sleep between each S3 retry.
  316. </description>
  317. </property>
  318. <property>
  319. <name>fs.automatic.close</name>
  320. <value>true</value>
  321. <description>By default, FileSystem instances are automatically closed at program
  322. exit using a JVM shutdown hook. Setting this property to false disables this
  323. behavior. This is an advanced option that should only be used by server applications
  324. requiring a more carefully orchestrated shutdown sequence.
  325. </description>
  326. </property>
  327. <property>
  328. <name>fs.s3n.block.size</name>
  329. <value>67108864</value>
  330. <description>Block size to use when reading files using the native S3
  331. filesystem (s3n: URIs).</description>
  332. </property>
  333. <property>
  334. <name>io.seqfile.compress.blocksize</name>
  335. <value>1000000</value>
  336. <description>The minimum block size for compression in block compressed
  337. SequenceFiles.
  338. </description>
  339. </property>
  340. <property>
  341. <name>io.seqfile.lazydecompress</name>
  342. <value>true</value>
  343. <description>Should values of block-compressed SequenceFiles be decompressed
  344. only when necessary.
  345. </description>
  346. </property>
  347. <property>
  348. <name>io.seqfile.sorter.recordlimit</name>
  349. <value>1000000</value>
  350. <description>The limit on number of records to be kept in memory in a spill
  351. in SequenceFiles.Sorter
  352. </description>
  353. </property>
  354. <property>
  355. <name>io.mapfile.bloom.size</name>
  356. <value>1048576</value>
  357. <description>The size of BloomFilter-s used in BloomMapFile. Each time this many
  358. keys is appended the next BloomFilter will be created (inside a DynamicBloomFilter).
  359. Larger values minimize the number of filters, which slightly increases the performance,
  360. but may waste too much space if the total number of keys is usually much smaller
  361. than this number.
  362. </description>
  363. </property>
  364. <property>
  365. <name>io.mapfile.bloom.error.rate</name>
  366. <value>0.005</value>
  367. <description>The rate of false positives in BloomFilter-s used in BloomMapFile.
  368. As this value decreases, the size of BloomFilter-s increases exponentially. This
  369. value is the probability of encountering false positives (default is 0.5%).
  370. </description>
  371. </property>
  372. <property>
  373. <name>hadoop.util.hash.type</name>
  374. <value>murmur</value>
  375. <description>The default implementation of Hash. Currently this can take one of the
  376. two values: 'murmur' to select MurmurHash and 'jenkins' to select JenkinsHash.
  377. </description>
  378. </property>
  379. <!-- ipc properties -->
  380. <property>
  381. <name>ipc.client.idlethreshold</name>
  382. <value>4000</value>
  383. <description>Defines the threshold number of connections after which
  384. connections will be inspected for idleness.
  385. </description>
  386. </property>
  387. <property>
  388. <name>ipc.client.kill.max</name>
  389. <value>10</value>
  390. <description>Defines the maximum number of clients to disconnect in one go.
  391. </description>
  392. </property>
  393. <property>
  394. <name>ipc.client.connection.maxidletime</name>
  395. <value>10000</value>
  396. <description>The maximum time in msec after which a client will bring down the
  397. connection to the server.
  398. </description>
  399. </property>
  400. <property>
  401. <name>ipc.client.connect.max.retries</name>
  402. <value>10</value>
  403. <description>Indicates the number of retries a client will make to establish
  404. a server connection.
  405. </description>
  406. </property>
  407. <property>
  408. <name>ipc.server.listen.queue.size</name>
  409. <value>128</value>
  410. <description>Indicates the length of the listen queue for servers accepting
  411. client connections.
  412. </description>
  413. </property>
  414. <property>
  415. <name>ipc.server.tcpnodelay</name>
  416. <value>false</value>
  417. <description>Turn on/off Nagle's algorithm for the TCP socket connection on
  418. the server. Setting to true disables the algorithm and may decrease latency
  419. with a cost of more/smaller packets.
  420. </description>
  421. </property>
  422. <property>
  423. <name>ipc.client.tcpnodelay</name>
  424. <value>false</value>
  425. <description>Turn on/off Nagle's algorithm for the TCP socket connection on
  426. the client. Setting to true disables the algorithm and may decrease latency
  427. with a cost of more/smaller packets.
  428. </description>
  429. </property>
  430. <!-- Proxy Configuration -->
  431. <property>
  432. <name>hadoop.rpc.socket.factory.class.default</name>
  433. <value>org.apache.hadoop.net.StandardSocketFactory</value>
  434. <description> Default SocketFactory to use. This parameter is expected to be
  435. formatted as "package.FactoryClassName".
  436. </description>
  437. </property>
  438. <property>
  439. <name>hadoop.rpc.socket.factory.class.ClientProtocol</name>
  440. <value></value>
  441. <description> SocketFactory to use to connect to a DFS. If null or empty, use
  442. hadoop.rpc.socket.class.default. This socket factory is also used by
  443. DFSClient to create sockets to DataNodes.
  444. </description>
  445. </property>
  446. <property>
  447. <name>hadoop.socks.server</name>
  448. <value></value>
  449. <description> Address (host:port) of the SOCKS server to be used by the
  450. SocksSocketFactory.
  451. </description>
  452. </property>
  453. <!-- Rack Configuration -->
  454. <property>
  455. <name>net.topology.node.switch.mapping.impl</name>
  456. <value>org.apache.hadoop.net.ScriptBasedMapping</value>
  457. <description> The default implementation of the DNSToSwitchMapping. It
  458. invokes a script specified in topology.script.file.name to resolve
  459. node names. If the value for topology.script.file.name is not set, the
  460. default value of DEFAULT_RACK is returned for all node names.
  461. </description>
  462. </property>
  463. <property>
  464. <name>net.topology.script.file.name</name>
  465. <value></value>
  466. <description> The script name that should be invoked to resolve DNS names to
  467. NetworkTopology names. Example: the script would take host.foo.bar as an
  468. argument, and return /rack1 as the output.
  469. </description>
  470. </property>
  471. <property>
  472. <name>net.topology.script.number.args</name>
  473. <value>100</value>
  474. <description> The max number of args that the script configured with
  475. topology.script.file.name should be run with. Each arg is an
  476. IP address.
  477. </description>
  478. </property>
  479. <!-- Local file system -->
  480. <property>
  481. <name>file.stream-buffer-size</name>
  482. <value>4096</value>
  483. <description>The size of buffer to stream files.
  484. The size of this buffer should probably be a multiple of hardware
  485. page size (4096 on Intel x86), and it determines how much data is
  486. buffered during read and write operations.</description>
  487. </property>
  488. <property>
  489. <name>file.bytes-per-checksum</name>
  490. <value>512</value>
  491. <description>The number of bytes per checksum. Must not be larger than
  492. file.stream-buffer-size</description>
  493. </property>
  494. <property>
  495. <name>file.client-write-packet-size</name>
  496. <value>65536</value>
  497. <description>Packet size for clients to write</description>
  498. </property>
  499. <property>
  500. <name>file.blocksize</name>
  501. <value>67108864</value>
  502. <description>Block size</description>
  503. </property>
  504. <property>
  505. <name>file.replication</name>
  506. <value>1</value>
  507. <description>Replication factor</description>
  508. </property>
  509. <!-- s3 File System -->
  510. <property>
  511. <name>s3.stream-buffer-size</name>
  512. <value>4096</value>
  513. <description>The size of buffer to stream files.
  514. The size of this buffer should probably be a multiple of hardware
  515. page size (4096 on Intel x86), and it determines how much data is
  516. buffered during read and write operations.</description>
  517. </property>
  518. <property>
  519. <name>s3.bytes-per-checksum</name>
  520. <value>512</value>
  521. <description>The number of bytes per checksum. Must not be larger than
  522. s3.stream-buffer-size</description>
  523. </property>
  524. <property>
  525. <name>s3.client-write-packet-size</name>
  526. <value>65536</value>
  527. <description>Packet size for clients to write</description>
  528. </property>
  529. <property>
  530. <name>s3.blocksize</name>
  531. <value>67108864</value>
  532. <description>Block size</description>
  533. </property>
  534. <property>
  535. <name>s3.replication</name>
  536. <value>3</value>
  537. <description>Replication factor</description>
  538. </property>
  539. <!-- s3native File System -->
  540. <property>
  541. <name>s3native.stream-buffer-size</name>
  542. <value>4096</value>
  543. <description>The size of buffer to stream files.
  544. The size of this buffer should probably be a multiple of hardware
  545. page size (4096 on Intel x86), and it determines how much data is
  546. buffered during read and write operations.</description>
  547. </property>
  548. <property>
  549. <name>s3native.bytes-per-checksum</name>
  550. <value>512</value>
  551. <description>The number of bytes per checksum. Must not be larger than
  552. s3native.stream-buffer-size</description>
  553. </property>
  554. <property>
  555. <name>s3native.client-write-packet-size</name>
  556. <value>65536</value>
  557. <description>Packet size for clients to write</description>
  558. </property>
  559. <property>
  560. <name>s3native.blocksize</name>
  561. <value>67108864</value>
  562. <description>Block size</description>
  563. </property>
  564. <property>
  565. <name>s3native.replication</name>
  566. <value>3</value>
  567. <description>Replication factor</description>
  568. </property>
  569. <!-- Kosmos File System -->
  570. <property>
  571. <name>kfs.stream-buffer-size</name>
  572. <value>4096</value>
  573. <description>The size of buffer to stream files.
  574. The size of this buffer should probably be a multiple of hardware
  575. page size (4096 on Intel x86), and it determines how much data is
  576. buffered during read and write operations.</description>
  577. </property>
  578. <property>
  579. <name>kfs.bytes-per-checksum</name>
  580. <value>512</value>
  581. <description>The number of bytes per checksum. Must not be larger than
  582. kfs.stream-buffer-size</description>
  583. </property>
  584. <property>
  585. <name>kfs.client-write-packet-size</name>
  586. <value>65536</value>
  587. <description>Packet size for clients to write</description>
  588. </property>
  589. <property>
  590. <name>kfs.blocksize</name>
  591. <value>67108864</value>
  592. <description>Block size</description>
  593. </property>
  594. <property>
  595. <name>kfs.replication</name>
  596. <value>3</value>
  597. <description>Replication factor</description>
  598. </property>
  599. <!-- FTP file system -->
  600. <property>
  601. <name>ftp.stream-buffer-size</name>
  602. <value>4096</value>
  603. <description>The size of buffer to stream files.
  604. The size of this buffer should probably be a multiple of hardware
  605. page size (4096 on Intel x86), and it determines how much data is
  606. buffered during read and write operations.</description>
  607. </property>
  608. <property>
  609. <name>ftp.bytes-per-checksum</name>
  610. <value>512</value>
  611. <description>The number of bytes per checksum. Must not be larger than
  612. ftp.stream-buffer-size</description>
  613. </property>
  614. <property>
  615. <name>ftp.client-write-packet-size</name>
  616. <value>65536</value>
  617. <description>Packet size for clients to write</description>
  618. </property>
  619. <property>
  620. <name>ftp.blocksize</name>
  621. <value>67108864</value>
  622. <description>Block size</description>
  623. </property>
  624. <property>
  625. <name>ftp.replication</name>
  626. <value>3</value>
  627. <description>Replication factor</description>
  628. </property>
  629. <!-- Tfile -->
  630. <property>
  631. <name>tfile.io.chunk.size</name>
  632. <value>1048576</value>
  633. <description>
  634. Value chunk size in bytes. Default to
  635. 1MB. Values of the length less than the chunk size is
  636. guaranteed to have known value length in read time (See also
  637. TFile.Reader.Scanner.Entry.isValueLengthKnown()).
  638. </description>
  639. </property>
  640. <property>
  641. <name>tfile.fs.output.buffer.size</name>
  642. <value>262144</value>
  643. <description>
  644. Buffer size used for FSDataOutputStream in bytes.
  645. </description>
  646. </property>
  647. <property>
  648. <name>tfile.fs.input.buffer.size</name>
  649. <value>262144</value>
  650. <description>
  651. Buffer size used for FSDataInputStream in bytes.
  652. </description>
  653. </property>
  654. </configuration>