How to delete files from the HDFS?

后端 未结 6 912
滥情空心
滥情空心 2021-02-18 13:11

I just downloaded Hortonworks sandbox VM, inside it there are Hadoop with the version 2.7.1. I adding some files by using the

hadoop fs -put /hw1/* /hw1
<         


        
6条回答
  •  别那么骄傲
    2021-02-18 13:47

    Try hadoop fs -rm -R URI

    -R option deletes the directory and any content under it recursively.

提交回复
热议问题