hdfs dfs常用基本命令

hdfs dfs 使用命令 ,路径用/project/test/替代 例如 查询前几行样本数据: hdfs dfs -cat /project/test/test.txt | head -17 查询后5行数据: hdfs dfs -cat /project/test/test.txt | tail -5 随机返回指定行数的样本: hdfs dfs -cat /project/test/test.t
相关文章
相关标签/搜索