Example program of libhdfs, C++ library to handle HDFS (Hadoop Distributed File System).
$ git clone git://github.com/apache/hadoop-hdfs.git
$ cd hadoop-hdfs
$ ant compile-c++-libhdfs -Dlibhdfs=1
$ cd ..$ bash compile.sh
$ bash exec.sh