hadoop操作命令

两种操作

hadoop fs
hdfs dfs

具体的命令查看hdfs dfs --help

hdfs和linux本地的命令的操作不同

[root@node1 ~]# hdfs dfs -tail -f /a.txt 
*
**
***
*****
[root@node1 ~]# tail -n 10 a.txt 
posted @ 2022-07-20 18:01  jsqup  阅读(16)  评论(0编辑  收藏  举报