using ceph with hadoop

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

 



 

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]
    # /usr/hadoop/bin/stop-all.sh
# /usr/hadoop/bin/start-all.sh
hadoop:Exception in thread "IPC Client(47) Connection to 192.168.58.129:6789 from rwt java.lang.RuntimeException:readObject cant find class



 thanks pengft








  


_______________________________________________
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