Re: How to initialize updateStateByKey operation

2014-09-23 Thread Tathagata Das
Soumitra Kumar" > To: "spark users" > Sent: Sunday, September 21, 2014 10:43:01 AM > Subject: How to initialize updateStateByKey operation > > I started with StatefulNetworkWordCount to have a running count of words > seen. > > I have a file 'stored.count&

Re: How to initialize updateStateByKey operation

2014-09-23 Thread Soumitra Kumar
Sunday, September 21, 2014 10:43:01 AM Subject: How to initialize updateStateByKey operation I started with StatefulNetworkWordCount to have a running count of words seen. I have a file 'stored.count' which contains the word counts. $ cat stored.count a 1 b 2 I want to initialize StatefulNe

How to initialize updateStateByKey operation

2014-09-21 Thread Soumitra Kumar
I started with StatefulNetworkWordCount to have a running count of words seen. I have a file 'stored.count' which contains the word counts. $ cat stored.count a 1 b 2 I want to initialize StatefulNetworkWordCount with the values in 'stored.count' file, how do I do that? I looked at the paper '