日常使用Shell积累

HDFS统计文件行数:

 hdfs dfs -cat hdfs://ns3/wordcount/* |wc -l  

  

原文地址:https://www.cnblogs.com/leodaxin/p/9184512.html