摘要: hadoop fs -ls /user/zhang 查看hdfs上的文件,awk $6是日期, $8是文件路径 #shell脚本 data=$(hadoop fs -ls /user/zhang/data | awk '{print $8}') data_arr=(${data// / }) for 阅读全文
posted @ 2020-06-30 18:22 船长博客 阅读(1330) 评论(0) 推荐(2) 编辑
永远相信美好的事情即将发生!