use the hdfs api to delete