hadoop 配合 grep

hadoop fs -cat /path/* | grep '|I tv' > tmp
hadoop fs -cat /path/20180701/00/* | grep '|I tv' >> tmp

hadoop fs -cat /path/2018070[1-9]/00/* | grep '|I tv' >> tmp


你可能感兴趣的:(hadoop 配合 grep)