1.安装ceph
2.添加hadoop-ceph.jar
3.hadoop 节点上安装ceph-client
4.ceph创建pool
a)
ceph osd pool create hadoop1 100
ceph osd pool set hadoop1 size 1
b)
ceph osd dump | grep hadoop1
$:pool 3 'hadoop1' rep size 1 min_size 1 crush_ruleset 0...
c)
ceph mds add_data_pool 3(pool's id)
d)
5.修改hadoop下core-site.xml
<property>
<name>ceph.data.pools</name>
<value>hadoop1</value>
</property>
ps:
hadoop-ceph 属性列表
----------------------------小--伙----伴-----------------------------
[img]http://dl2.iteye.com/upload/attachment/0090/6743/59f313b8-b1cf-3a61-9798-95c2f730aee6.jpg[/img]
2.添加hadoop-ceph.jar
3.hadoop 节点上安装ceph-client
4.ceph创建pool
a)
ceph osd pool create hadoop1 100
ceph osd pool set hadoop1 size 1
b)
ceph osd dump | grep hadoop1
$:pool 3 'hadoop1' rep size 1 min_size 1 crush_ruleset 0...
c)
ceph mds add_data_pool 3(pool's id)
d)
5.修改hadoop下core-site.xml
<property>
<name>ceph.data.pools</name>
<value>hadoop1</value>
</property>
ps:
hadoop-ceph 属性列表
----------------------------小--伙----伴-----------------------------
[img]http://dl2.iteye.com/upload/attachment/0090/6743/59f313b8-b1cf-3a61-9798-95c2f730aee6.jpg[/img]