spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduardo Costa Alfaia <>
Subject JavaNetworkWordCount
Date Thu, 05 Dec 2013 13:59:33 GMT
Hi all,

I am using JavaNetworkWordCount to do some tests, but I have seen that the code does the word’s
count in each second for example:

if t=0 and t=1 count 10 pippo and 23 ciao after between t=1 and t=2 count 2 pippo and 2 ciao
without accumulating. Is there a manner  that I can accumulate this result progressively?
Does someone have any idea to do this in JavaNetworkWordCount code?  

Thanks Guys
View raw message