AW: REST Interface to JobManager

2016-09-22 Thread Dominique Rondé
Hi Curtis, we implemented this today. But without a REST-Interface. We transfer out artifacts and a script with a scp call from out Bamboo server and execute the script. This script kills the yarn application, start a new flink application in yarn and submit all routes to the cluster.

Rich Window Function - When does close(tear down) method executes ?

2016-09-22 Thread Swapnil Chougule
I am using rich window function in my streaming project. I want "close" method to get triggered after each window interval. In my case, open gets executed life time once & close method doesn't get executed ? Can anybody help to sort out same ? I want tear down method after each window interval.

Re: How can I prove ....

2016-09-22 Thread amir bahmanyari
Hi Again, following is from the dashboard while wverything is supposedlt running.No real-time change in send/received/#of records...but one node is definitely producing a *.out file...And all TMs are reporting in their *.log files. And the process will eventually end , but very slow.Thanks

REST Interface to JobManager

2016-09-22 Thread Curtis Wilde
I would like to be able to use Jenkins to deploy jobs to Flink. I’ve seen talk of a REST interface that might allow me to do this https://issues.apache.org/jira/browse/FLINK-1228 Is there any documentation around this feature?

Re: How can I prove ....

2016-09-22 Thread amir bahmanyari
Thanks Aljoscha,Thats why I am wondering about this. I dont see send/receive columns change at alljust 0's all the time.The only thing that changes is time stamp.Is this an indication that the nodes in the cluster are not participating in execution of the data?Thanks again.Amir-

Re: Sharing Java Collections within Flink Cluster

2016-09-22 Thread Chakravarthy varaga
Hi Aljoscha & Fabian, Finally I got this working. Thanks for your help. In terms persisting the state (for S2), I tried to use checkpoint every 10 Secs using a FsStateBackend... What I notice is that the checkpoint duration is almost 2 minutes for many cases, while for the other cases it

Re: RawSchema as deserialization schema

2016-09-22 Thread Stephan Ewen
/cc Robert, he is looking into extending the Kafka Connectors to support more of Kafka's direct utilities On Thu, Sep 22, 2016 at 3:17 PM, Swapnil Chougule wrote: > It will be good to have RawSchema as one of the deserialization schema in > streaming framework (like

Re: Daily/hourly TumblingEventTimeWindows

2016-09-22 Thread Maximilian Bode
I have just noticed that this is exactly what it currently does. Reading the docs I assumed all windows would be of the same size. > Am 22.09.2016 um 13:35 schrieb Maximilian Bode : > > Hi everyone, > > is there an easy way to implement a tumbling event time window

Daily/hourly TumblingEventTimeWindows

2016-09-22 Thread Maximilian Bode
Hi everyone, is there an easy way to implement a tumbling event time window that tumbles at a certain time? Examples could be daily or hourly (tumbling at exactly 00:00, 01:00, 02:00 etc.) windows. So in particular, for a daily window, the first window would be shorter than the rest, tumble

Re: Custom(application) Metrics - Piggyback on Flink's metrics infra or not?

2016-09-22 Thread Chesnay Schepler
Actually i was wrong on the UDF point. By variables i meant the information that is encoded in the scope, like the subtask index, task name, taskmanager ID etc., however all these can be accessed from the MetricGroup that is returned by RuntimeContext#getMetricGroup(), which you can of course

Re: Flink JDBCOutputFormat logs wrong WARN message

2016-09-22 Thread Swapnil Chougule
Hi Fabian/ Chesnay Can anybody give me permission to assign JIRA (created for same.)? Thanks, Swapnil On Tue, Sep 20, 2016 at 6:18 PM, Swapnil Chougule wrote: > Thanks Chesnay & Fabian for update. > I will create JIRA issue & open a pull request to fix it. > > Thanks,

Re: Simple batch job hangs if run twice

2016-09-22 Thread Robert Metzger
Can you try running with DEBUG logging level? Then you should see if input splits are assigned. Also, you could try to use a debugger to see what's going on. On Mon, Sep 19, 2016 at 2:04 PM, Yassine MARZOUGUI < y.marzou...@mindlytix.com> wrote: > Hi Chensey, > > I am running Flink 1.1.2, and

Re: how to unit test streaming window jobs?

2016-09-22 Thread Robert Metzger
Hi Luis, using Event Time windows, you should be able to generate some test data and get predictable results. Flink is internally using similar tests to ensure correctness of the windowing implementation (for example the EventTimeWindowCheckpointingITCase). Regards, Robert On Mon, Sep 12, 2016

emit watermarks

2016-09-22 Thread Radu Tudoran
Hi, Is there some way to emit a watermark in the trigger? I see that in the evictor there is the option to check the StreamRecord if it is a watermark..so I would hope that there is some option also to create them

Re: Flink job fails to restore RocksDB state after upgrading to 1.2-SNAPSHOT

2016-09-22 Thread Stefan Richter
Hi, to me, this looks like you are running into the problem described under [FLINK-4603] : KeyedStateBackend cannot restore user code classes. I have opened a pull request (PR 2533) this morning that should fix this behavior as soon as it is merged into master. Best, Stefan > Am 21.09.2016