Re: spark streaming actor receiver doesn't play well with kryoserializer

2014-07-25 Thread Alan Ngai
logs. TD On Thu, Jul 24, 2014 at 10:28 PM, Alan Ngai a...@opsclarity.com wrote: bump. any ideas? On Jul 24, 2014, at 3:09 AM, Alan Ngai a...@opsclarity.com wrote: it looks like when you configure sparkconfig to use the kryoserializer in combination of using an ActorReceiver, bad

spark streaming actor receiver doesn't play well with kryoserializer

2014-07-24 Thread Alan Ngai
it looks like when you configure sparkconfig to use the kryoserializer in combination of using an ActorReceiver, bad things happen. I modified the ActorWordCount example program from val sparkConf = new SparkConf().setAppName(ActorWordCount) to val sparkConf = new SparkConf()

Re: streaming window not behaving as advertised (v1.0.1)

2014-07-23 Thread Alan Ngai
: It could be related to this bug that is currently open. https://issues.apache.org/jira/browse/SPARK-1312 Here is a workaround. Can you put a inputStream.foreachRDD(rdd = { }) and try these combos again? TD On Tue, Jul 22, 2014 at 6:01 PM, Alan Ngai a...@opsclarity.com wrote: I have a sample

Re: streaming window not behaving as advertised (v1.0.1)

2014-07-23 Thread Alan Ngai
as minor? It seems that anyone who uses the windowing functionality would run into this bug. I imagine this would include anyone who wants to use spark streaming to aggregate data in fixed time batches, which seems like a fairly common use case. Alan On Jul 22, 2014, at 11:30 PM, Alan Ngai

streaming window not behaving as advertised (v1.0.1)

2014-07-22 Thread Alan Ngai
I have a sample application pumping out records 1 per second. The batch interval is set to 5 seconds. Here’s a list of “observed window intervals” vs what was actually set window=25, slide=25 : observed-window=25, overlapped-batches=0 window=25, slide=20 : observed-window=20,