Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
writing files in hdfs in c libhdfs
writing files in hdfs in c libhdfs ¬†using -'java,c++,hadoop,hdfs'
I am trying to write an interface in C++ to write files in hdfs using libhdfs.so. My target hadoop version is 2.0.2-alpha
The below code
¬†hdfsFS fs = hdfsConnect("127.0.0.1",8020);
¬†¬†¬†¬†printf("Hadoop file system returned null. \n");
provides the following error while running:
Error occurred during initialization of VM
Updated the CLASSPATH accordingly but still getting this error.
Any idea what is the step I am missing here? All the .so files are linked correctly.
Oct 11, 2015
to add a comment.
Related Hot Questions
Government Jobs Opening