1
0
mirror of https://github.com/ceph/ceph synced 2025-03-21 01:38:15 +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
--------------------
@ -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
`conf/core-site.xml`.
+--------------------+--------------------------+----------------------------+
|Property |Value |Notes |
| | | |
+====================+==========================+============================+
|fs.default.name |Ceph URI |ceph:/// |
| | | |
| | | |
+--------------------+--------------------------+----------------------------+
|fs.ceph.conf.file |Local path to ceph.conf |/etc/ceph/ceph.conf |
| | | |
| | | |
| | | |
+--------------------+--------------------------+----------------------------+
|fs.ceph.conf.options|Comma separated list of |opt1=val1,opt2=val2 |
| |key/value pairs | |
| | | |
| | | |
+--------------------+--------------------------+----------------------------+
|fs.ceph.block.size |Default file block size |Default value: 67108864 |
| |in bytes | |
| | | |
| | | |
+--------------------+--------------------------+----------------------------+
|fs.ceph.replication |Default file replication |Default value: 3 |
| |factor | |
| | | |
| | | |
+--------------------+--------------------------+----------------------------+
+---------------------+--------------------------+----------------------------+
|Property |Value |Notes |
| | | |
+=====================+==========================+============================+
|fs.default.name |Ceph URI |ceph:/// |
| | | |
| | | |
+---------------------+--------------------------+----------------------------+
|ceph.conf.file |Local path to ceph.conf |/etc/ceph/ceph.conf |
| | | |
| | | |
| | | |
+---------------------+--------------------------+----------------------------+
|ceph.conf.options |Comma separated list of |opt1=val1,opt2=val2 |
| |Ceph configuration | |
| |key/value pairs | |
| | | |
+---------------------+--------------------------+----------------------------+
|ceph.root.dir |Mount root directory |Default value: / |
| | | |
| | | |
+---------------------+--------------------------+----------------------------+
|ceph.object.size |Default file object size |Default value (64MB): |
| |in bytes |67108864 |
| | | |
| | | |
+---------------------+--------------------------+----------------------------+
|ceph.localize.reads |Allow reading from file |Default value: true |
| |replica objects | |
| | | |
| | | |
+---------------------+--------------------------+----------------------------+