modified hdfs client