Skip to content
Mayank Singh edited this page Jun 27, 2013 · 5 revisions

1. Go to hadoop directory

2. Run this:

ant compile jar

Make sure to install automake and libtool before this

3. Run this:

ant compile-c++-libhdfs -Dlibhdfs=1

4. Download forrest and its dependencies and extract

ant -Dforrest.home=(path to forrest) package

5. Now compile fuse-dfs:

ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1

If you undefined reference error follow this link

If ant can't find libhdfs.so, copy it from $HADOOP_HOME/c++/Linux-verison/lib and paste to $HADOOP_HOME/build/c++/Linux-version/lib

6. Please use these links if you are stuck somewhere:

fuse with hadoop

hdfs fuse installation

6. Fix fuse-dfs-wrapper variables

7. Debug fuse using this command:

./fuse_dfs_wrapper.sh dfs://localhost:9000 /hadoop -d
Clone this wiki locally