hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Wyckoff <pwyck...@facebook.com>
Subject Re: fuse-dfs
Date Wed, 06 Aug 2008 15:17:33 GMT

Hi Sebastian,

The problem is that hdfs.so is supposed to be in build/libhdfs but for some
reason isn't.

Have you tried doing a ant compile-libhdfs -Dlibhdfs=1 ?


And then checked if hdfs.so is in build/libhdfs ?

Thanks, pete

On 8/6/08 5:04 AM, "Sebastian Vieira" <sebvieira@gmail.com> wrote:

> 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.


Mime
View raw message