1.创建文件 hdfs dfs -touchz /aaa/aa.txt 2.写入内容 echo "<Text to append>" | hdfs dfs -appendToFile - /aaa/aa.txt 相关文章: 2022-01-10 2022-12-23 2022-12-23 2022-12-23 2021-06-30 2021-07-22 2021-10-28 2021-12-19