hadoop put 强制覆盖文件

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

如:

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

原文地址:https://www.cnblogs.com/tree1123/p/13440875.html