Re: 2013年10月14日 14:42:23 自动保存草稿

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Do you have the following in your core-site.xml?

> <property>
>     <name>fs.ceph.impl</name>
>     <value>org.apache.hadoop.fs.ceph.CephFileSystem</value>
> </property>

On Sun, Oct 13, 2013 at 11:55 PM, 鹏 <wkp4666@xxxxxxx> wrote:
> hi all
>     I follow the mail  configure the ceph with hadoop
> (http://permalink.gmane.org/gmane.comp.file-systems.ceph.user/1809).
>     1. Install additional packages: libcephfs-java libcephfs-jni  using the
> commonds:
>         ./configure --enable-cephfs-java
>         make & make install
>         cp /src/java/libcephfs.jar  /usr/hadoop/lib/
>     2. Download http://ceph.com/download/hadoop-cephfs.jar
>          cp hadoop-cephfs.jar /usr/hadoop/lib
>
>
>   3. Symink JNI library
>     cd /usr/hadoop/lib/native/Linux-amd64-64
>     ln -s /usr/local/lib/libcephfs_jni.so .
>
>    4 vim  core-site.xml
> fs.default.name=ceph://192.168.22.158:6789/
> fs.ceph.impl=org.apache.hadoop.fs.ceph.CephFileSystem
> ceph.conf.file=/etc/ceph/ceph.conf
>
> and then
>    # hadoop fs -ls
>    ls: cannot access . :no such file or directory
>     #hadoop dfsadmin -report
>     report:FileSystem ceph://192.168.22.158:6789 is not a distributed file
> System
>     Usage: java DFSAdmin[-report]
>
>     thanks
>     pengft
>
>
>
>
>
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux