Hi,

I have installed Hadoop on 20 nodes (data storage) and one master (namenode)
to which i want to add data. I have learned that this is possible through a
Java API or via the Hadoop shell. However, i would like to mount the HDFS
using FUSE and i discovered that there's a contrib/fuse-dfs within the
Hadoop tar.gz package. Now i read the README file and noticed that i was
unable to compile using this command:

ant compile-contrib -Dcompile.c++=1 -Dfusedfs=1

If i change the line to:

ant compile-contrib -Dcompile.c++=1 -Dlibhdfs-fuse=1

It goes a little bit further. It will now start the configure script, but
still fails. I've tried alot of different things but i'm unable to compile
fuse-dfs. This is a piece of the error i get from ant:

compile:
     [echo] contrib: fuse-dfs
-snip-
     [exec] Making all in src
     [exec] make[1]: Entering directory
`/usr/local/src/hadoop-core-trunk/src/contrib/fuse-dfs/src'
     [exec] gcc  -Wall -O3 -L/usr/local/src/hadoop-core-trunk/build/libhdfs
-lhdfs -L/usr/lib -lfuse -L/usr/java/jdk1.6.0_07/jre/lib/i386/server -ljvm
-o fuse_dfs  fuse_dfs.o
     [exec] /usr/bin/ld: cannot find -lhdfs
     [exec] collect2: ld returned 1 exit status
     [exec] make[1]: *** [fuse_dfs] Error 1
     [exec] make[1]: Leaving directory
`/usr/local/src/hadoop-core-trunk/src/contrib/fuse-dfs/src'
     [exec] make: *** [all-recursive] Error 1

BUILD FAILED
/usr/local/src/hadoop-core-trunk/build.xml:413: The following error occurred
while executing this line:
/usr/local/src/hadoop-core-trunk/src/contrib/build.xml:30: The following
error occurred while executing this line:
/usr/local/src/hadoop-core-trunk/src/contrib/fuse-dfs/build.xml:40: exec
returned: 2


Could somebody shed some light on this?


thanks,

Sebastian.

Reply via email to