Re: Connect c language with HDFS

2015-05-04 Thread Alexander Alten-Lorenz
Google: http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/LibHdfs.html -- Alexander Alten-Lorenz m: wget.n...@gmail.com b: mapredit.blogspot.com On May 4, 2015, at 10:57 AM, unmesha sreeveni unmeshab...@gmail.com wrote: Hi Can we connect c with HDFS using cloudera

Re: Connect c language with HDFS

2015-05-04 Thread unmesha sreeveni
thanks alex I have gone through the same. but once I checked my cloudera distribution I am not able to get those folders ..Thats y I posted here. I dont know if I made any mistake. On Mon, May 4, 2015 at 2:40 PM, Alexander Alten-Lorenz wget.n...@gmail.com wrote: Google:

Re: Connect c language with HDFS

2015-05-04 Thread Alexander Alten-Lorenz
That depends on the installation source (rpm, tgz or parcels). Usually, when you use parcels, libhdfs.so* should be within /opt/cloudera/parcels/CDH/lib64/ (or similar). Or just use linux' locate (locate libhdfs.so*) to find the library. -- Alexander Alten-Lorenz m: wget.n...@gmail.com b:

Re: Connect c language with HDFS

2015-05-04 Thread unmesha sreeveni
Thanks Did it. http://unmeshasreeveni.blogspot.in/2015/05/hadoop-word-count-using-c-hadoop.html On Mon, May 4, 2015 at 3:43 PM, Alexander Alten-Lorenz wget.n...@gmail.com wrote: That depends on the installation source (rpm, tgz or parcels). Usually, when you use parcels, libhdfs.so* should be

Re: Connect c language with HDFS

2015-05-04 Thread Demai Ni
I would also suggest to take a look at https://issues.apache.org/jira/browse/HDFS-6994. I have been using libhdfs3 for POC in past few months, and highly recommend it. the only drawback is the libhdfs3 has not been formed committed into hadoop/hdfs yet. if you only like to play with hdfs, using