You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by 萝卜丝炒饭 <14...@qq.com> on 2017/07/11 02:43:38 UTC

how to get the summary count of words by filestream please?

Hi all,


I use the textFileStream to count the words in the dir.I use flatmap to split the words, the reduceByKey to count and foreachRDD to see the result.


I just see count in last RDD, would you like tell me how to count all words in all RDD please?


thanks 
Fei  Shao