Hi Brian,
Thanks for your reply. I downloaded hadoop-0.20.2 from apache.org site only.
In my package the libhdfs is not present in the path you mentioned. It is
present in hadoop-0.20.2/c++/Linux-i386-32/lib/libhdfs.so. Further, I
created a directory libhdfs inside build directory manually and cre
Hi Aastha,
This is not hadoop-specific advice, but general debugging:
1) Verify you are using the version of the library you think you are. Done.
2) Rebuild.
3) Check the timestamp on the rebuilt source and verify it's from approximately
now.
In trunk, the directory you point to is *not* where
Hi Brian,
Thanks for your reply. I checked the libhdfs.so to which it links. Following
is the output of the ldd command:
$ ldd ./fuse_dfs
linux-gate.so.1 => (0x009c3000)
libhdfs.so.0 => /home/hadoop/hadoop/hadoop-0.20.2/build/libhdfs/libhdfs.so.0
(0x00457000)
libfuse.so.2 => /usr/local/lib/libf
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".
Brian
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.
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++-l