Thanks a lot for this Ilja! I'm going to update the documentation again soon, so this very helpful. On Jun 5, 2013, at 12:21 PM, Ilja Maslov <Ilja.Maslov@xxxxxxxxx> wrote: > export HADOOP_OPTS="-Djava.net.preferIPv4Stack=true" Was there actually a problem if you didn't set this? > 4. Symink JNI library > cd $HADOOP_HOME/lib/native/Linux-amd64-64 (or Linux-i386-32 on 32-bit platform) > ln -s /usr/lib/jni/libcephfs_jni.so . > > I have tried adding -Djava.library.path=/usr/lib/jni to HADOOP_OPTS in hadoop-env.sh and exporting LD_LIBRARY_PATH=/usr/lib/jni in hadoop-env.sh, but it didn't work for me. I'd love to hear about a more elegant method of making Hadoop Ceph JNI aware w/o symlinking. I've never had to do the symlink trick. IIRC what works for me is to set LD_LIBRARY_PATH in hadoop-env.sh, and then restart the daemons. The Hadoop start-up scripts should update java.library.path automatically. - Noah _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com