hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aastha Mehta <aasth...@gmail.com>
Subject libhdfs not getting compiled
Date Thu, 17 Mar 2011 20:24:40 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message