2018年4月25日

摘要: 向HDFS中上传任意文本文件,如果指定的文件在HDFS中已经存在,由用户指定是追加到原有文件末尾还是覆盖原有的文件; if $(hdfs dfs -test -e text.txt); then $(hdfs dfs -appendToFile local.txt text.txt); else $ 阅读全文

posted @ 2018-04-25 17:17 170何强 阅读(172) 评论(0) 推荐(0) 编辑


Copyright © 2024 170何强
Powered by .NET 8.0 on Kubernetes