Re: Writing test for Flink streaming jobs

2016-05-30 Thread lofifnc
Hi, Flinkspector is indeed a good choice to circumvent this problem as it specifically has several mechanisms to deal with these synchronization problems. Unfortunately, I'm still looking for a reasonable solution to support checking of scala types. Maybe I will provide a version in which you

Re: writing tests for my program

2016-05-10 Thread lofifnc
Hi, Some shameless self promotion: You can also checkout: https://github.com/ottogroup/flink-spector which has to the goal to remove such hurdles when testing flink programs. Best, Alex -- View this message in context:

Re: Trying to comprehend rolling windows + event time

2016-02-20 Thread lofifnc
Hi, You're right, expect that ("grace", "arctic", 25) is emitted with timestamp 90 seconds along with a for watermark 90 seconds. I followed your advice and implemented a simple window function printing the start + end of a window along with it's content. You can see that a window from minute 1

Re: Trying to comprehend rolling windows + event time

2016-02-19 Thread lofifnc
I should add i'm using version 0.10.1 -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Trying-to-comprehend-rolling-windows-event-time-tp5034p5035.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

Trying to comprehend rolling windows + event time

2016-02-19 Thread lofifnc
Hi, I have a setup where I'm feeding a rolling window with event time: https://gist.github.com/lofifnc/dd946fef6f4b3eb25ef1 (Obviously i'm using Flinkspector) The first case behaves as expected I'm emitting three records which are all in the time frame of the first window triggering: ("

Re: Flink Execution Plan

2016-01-14 Thread lofifnc
Hi Márton, Thanks for your answer. But now I'm even more confused as it somehow conflicts with the documentation. ;) According to the wiki and the stratosphere paper the JobGraph will be submitted to the JobManager. And the JobManager will then translate it into the ExecutionGraph. > In order

Flink Execution Plan

2016-01-14 Thread lofifnc
Hi, I'm trying to figure out what graph the execution plan represents when you call env.getExecutionPlan on the StreamExecutionEnvironment. From my understanding the StreamGraph is what you call an APIGraph, which will be used to create the JobGraph. So is the ExecutionPlan is a full

Re: Published test artifacts for flink streaming

2015-12-15 Thread lofifnc
Hi, If you wan't to play with it you can find the source and basic documentation here: https://github.com/ottogroup/flink-spector. The framework is for now feature complete. At the moment I'm working on exposing some more functionality to the user, making the dsl more intuitive and scalatest

Re: Error when using scala api .fromElements() / .fromCollection()

2015-12-07 Thread lofifnc
Thanks! I should've mentioned that I've seen the FAQ but I didn't notice intellij deleting the import immediately. For anyone encountering a similar behavior: http://stackoverflow.com/questions/11154912/how-to-prevent-intellij-idea-from-deleting-unused-packages Note that you have uncheck