hdfs api example