摘要:
向HDFS中上传任意文本文件,如果指定的文件在HDFS中已经存在,由用户指定是追加到原有文件末尾还是覆盖原有的文件; if $(hdfs dfs -test -e hello.txt); then $(hdfs dfs -appendToFile local.txt hello.txt); else 阅读全文
posted @ 2018-04-25 21:20
141_邓发强
阅读(178)
评论(0)
推荐(0)
2018年4月25日