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