HDFS的shell操作 -学习笔记二
2020-04-13 本文已影响0人
熊大呀
创建文件 :hdfs dfs -touchz /aaa/aa.txt
在文件内写入内容:echo "<Text to append>" | hdfs dfs -appendToFile - /1/1.txt
创建文件 :hdfs dfs -touchz /aaa/aa.txt
在文件内写入内容:echo "<Text to append>" | hdfs dfs -appendToFile - /1/1.txt