hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Bockelman <bbock...@cse.unl.edu>
Subject Re: libhdfs not getting compiled
Date Thu, 17 Mar 2011 21:38:32 GMT
Hi Aastha,

Try using "ldd" against the fuse_dfs executable, and see where you are pulling libhdfs.so
from.  It may be it is linking from the "wrong one".


On Mar 17, 2011, at 3:24 PM, Aastha Mehta wrote:

> Hello,
> I am working on a project involving hdfs and fuse-dfs API on top of it. I
> wanted to trace through the functions called from libhdfs API by fuse-dfs
> functions. I added print statements inside the hdfs.c file in appropriate
> places to see how the functions progress. I execute ant compile-c++-libhdfs
> -Dlibhdfs=1 and then ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1
> -Djava5.home=/usr/lib/jvm/java-1.5.0-sun. However, when I use fuse-dfs I
> cannot see any of the print statements executed from libhdfs/hdfs.c.
> I am using hadoop-0.20.2 version and the libhdfs is present in
> hadoop-0.20.2/src/c++/libhdfs. Could someone tell me if this libhdfs is the
> one compiled and used or if there will be some other libhdfs that is
> accessed. If this is the one, then why are the changes made in its files
> reflected on running the code?
> Thanks,
> Aastha.
> -- 
> Aastha Mehta
> Intern, NetApp, Bangalore
> 4th year undergraduate, BITS Pilani
> E-mail: aasthakm@gmail.com

View raw message