hadoop put 强制覆盖文件

来源:互联网 发布:洪金宝 黑社会 知乎 编辑:程序博客网 时间:2024/05/16 12:45

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

如:

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

原创粉丝点击