hadoop put 强制覆盖文件

若hdfs上已经存在文件,要强制覆盖,用 -f 命令

如:

hadoop fs -put -f file.name /home/test/

posted @ 2020-08-05 16:39  独孤风  阅读(2134)  评论(0编辑  收藏  举报