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
本文来自博客园,作者:jsqup,转载请注明原文链接:https://www.cnblogs.com/jsqup/p/16499039.html
hadoop fs
hdfs dfs


[root@node1 ~]# hdfs dfs -tail -f /a.txt
*
**
***
*****
[root@node1 ~]# tail -n 10 a.txt
本文来自博客园,作者:jsqup,转载请注明原文链接:https://www.cnblogs.com/jsqup/p/16499039.html