Description
I have downloaded code from https://github.com/apache/hadoop and compiled libhdfspp. I couldn't find how to use this library, libhdfspp.so . I see that some functions like hdfsWrite(), hdfsHSync() are missing from this library.
I have tried to compile the examples from hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/examples/cc/cat but getting the following kind of errors:
/tmp/ccRGjmdD.o: In function `main':
cat.cc.text+0x12e): undefined reference to `hdfs::parse_path_or_exit(std::string const&)'
cat.cc.text+0x149): undefined reference to `hdfs::doConnect(hdfs::URI&, bool)'
collect2: error: ld returned 1 exit status
I see that the function parse_path_or_exit() is defined in libhdfspp/tools/tools_common.cc but not compiled into any of the libraries. So, I couldn't manually include the library to resolve the above issue.
Is the libhdfspp code complete and working? Please let me know how to use it.