摘要: hdfs中创建多级目录 hadoop fs -mikdir -p /多层级目录 取前面与后面的行数 head(tail) -100 /sogou500w /home/xdl/tmp.txt 表示把sogou500w里面前(后)100行数据存放到tmp.txt 查看文件的行数 wc -l /sogou 阅读全文
posted @ 2019-11-22 21:27 DAaron 阅读(140) 评论(0) 推荐(0)