1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 23:02:17 +00:00

doc: update Hadoop documentation

Updates configuration option names, and adds object.size,
localize.reads, and root.dir control options.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
Noah Watkins 2012-12-23 16:01:42 -08:00 committed by Sage Weil
parent 813787af3d
commit 3583684776

View File

@ -1,6 +1,6 @@
========================= ========================
Using Hadoop with CephFS Using Hadoop with CephFS
========================= ========================
Hadoop Configuration Hadoop Configuration
-------------------- --------------------
@ -9,31 +9,35 @@ This section describes the Hadoop configuration options used to control Ceph.
These options are intended to be set in the Hadoop configuration file These options are intended to be set in the Hadoop configuration file
`conf/core-site.xml`. `conf/core-site.xml`.
+--------------------+--------------------------+----------------------------+ +---------------------+--------------------------+----------------------------+
|Property |Value |Notes | |Property |Value |Notes |
| | | | | | | |
+====================+==========================+============================+ +=====================+==========================+============================+
|fs.default.name |Ceph URI |ceph:/// | |fs.default.name |Ceph URI |ceph:/// |
| | | | | | | |
| | | | | | | |
+--------------------+--------------------------+----------------------------+ +---------------------+--------------------------+----------------------------+
|fs.ceph.conf.file |Local path to ceph.conf |/etc/ceph/ceph.conf | |ceph.conf.file |Local path to ceph.conf |/etc/ceph/ceph.conf |
| | | | | | | |
| | | | | | | |
| | | | | | | |
+--------------------+--------------------------+----------------------------+ +---------------------+--------------------------+----------------------------+
|fs.ceph.conf.options|Comma separated list of |opt1=val1,opt2=val2 | |ceph.conf.options |Comma separated list of |opt1=val1,opt2=val2 |
| |key/value pairs | | | |Ceph configuration | |
| | | | | |key/value pairs | |
| | | | | | | |
+--------------------+--------------------------+----------------------------+ +---------------------+--------------------------+----------------------------+
|fs.ceph.block.size |Default file block size |Default value: 67108864 | |ceph.root.dir |Mount root directory |Default value: / |
| |in bytes | | | | | |
| | | | | | | |
| | | | +---------------------+--------------------------+----------------------------+
+--------------------+--------------------------+----------------------------+ |ceph.object.size |Default file object size |Default value (64MB): |
|fs.ceph.replication |Default file replication |Default value: 3 | | |in bytes |67108864 |
| |factor | | | | | |
| | | | | | | |
| | | | +---------------------+--------------------------+----------------------------+
+--------------------+--------------------------+----------------------------+ |ceph.localize.reads |Allow reading from file |Default value: true |
| |replica objects | |
| | | |
| | | |
+---------------------+--------------------------+----------------------------+