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 the existing libhdfs lib is fine. but if you are looking for some serious development, libhdfs3 has a lot of advantage. On Mon, May 4, 2015 at 3:59 AM, unmesha sreeveni <unmeshab...@gmail.com> wrote: > 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 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: mapredit.blogspot.com >> >> On May 4, 2015, at 11:39 AM, unmesha sreeveni <unmeshab...@gmail.com> >> wrote: >> >> 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: >>> >>> 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 hadoop distribution. >>> >>> -- >>> *Thanks & Regards * >>> >>> >>> *Unmesha Sreeveni U.B* >>> *Hadoop, Bigdata Developer* >>> *Centre for Cyber Security | Amrita Vishwa Vidyapeetham* >>> http://www.unmeshasreeveni.blogspot.in/ >>> >>> >>> >>> >> >> >> -- >> *Thanks & Regards * >> >> >> *Unmesha Sreeveni U.B* >> *Hadoop, Bigdata Developer* >> *Centre for Cyber Security | Amrita Vishwa Vidyapeetham* >> http://www.unmeshasreeveni.blogspot.in/ >> >> >> >> > > > -- > *Thanks & Regards * > > > *Unmesha Sreeveni U.B* > *Hadoop, Bigdata Developer* > *Centre for Cyber Security | Amrita Vishwa Vidyapeetham* > http://www.unmeshasreeveni.blogspot.in/ > > >