Hello all,
I am trying to test hdfs_test.c provided with hadoop installation. libhdfs.so and hdfs_test are built fine after making a few changes in $(HADOOP_HOME)/src/c++/libhdfs/Makefile. But when I try to run ./hdfs_test, I get segmentation fault at 0x0000000000000001 Program received signal SIGSEGV, Segmentation fault. 0x0000000000000001 in ?? () (gdb) bt #0 0x0000000000000001 in ?? () #1 0x00007fffd0c51af5 in ?? () #2 0x0000000000000000 in ?? () A simple hello world program linked with libdhfs.so also gives the same error. In CLASSPATH all the jar files in $(HADOOP_HOME), $(HADOOP_HOME)/conf, $(HADOOP_HOME)/lib,$(JAVA_HOME)/lib are included. Please help. Thanks, Arifa.