update writer with function rm hdfs files
update writer with function rm hdfs files