how to mount hdfs

Posted: 31st July 2010 by admin in Linux How to
ant compile-c++-libhdfs -Dislibhdfs=1
mkdir build/libhdfs
cp -r build/c++/Linux-amd64-64/lib/* build/libhdfs/
ant compile-contrib -Dislibhdfs=1 -Dfusedfs=1 -Dlibhdfs-fuse=1
ln -s /usr/local/hadoop/build/contrib/fuse-dfs/fuse_dfs* /bin/
ln -s /usr/local/hadoop/build/libhdfs/* /lib/
mkdir /mnt/hdfs

test mount

fuse_dfs_wrapper.sh dfs://hdmaster01:59995 /mnt/hdfs -d &
ls /mnt/hdfs

You must be logged in to post a comment.