Re: [DISCUSSION] Consistent shutdown of streaming jobs

2015-11-12 Thread Gyula Fóra
Yes, I agree with you. Once we have the graceful shutdown we can make this happen fairly simply with the mechanism you described :) Gyula Stephan Ewen ezt írta (időpont: 2015. nov. 11., Sze, 15:43): > I think you are touching on something important here. > > There is a

Release notes for 0.10.0

2015-11-12 Thread Fabian Hueske
Hi everybody, with 0.10.0 almost being released I started writing release nodes for the Flink blog. Please find the current draft here: https://docs.google.com/document/d/1ULZAdxwneZAldhJ69tB3UEvjJQhS-ZASN5mdtumtJ48/edit?usp=sharing Everybody has permissions to comment the draft. Please let me

Re: [VOTE] [RESULT] Release Apache Flink 0.10.0 (release-0.10.0-rc8)

2015-11-12 Thread Henry Saputra
Awesome news! Thanks a lot for driving the release, Max! =) On Thu, Nov 12, 2015 at 3:59 PM, fhueske wrote: > Thanks Max! :-) > > > Von: Maximilian Michels > Gesendet: Freitag, 13. November 2015 00:02 > An: dev@flink.apache.org > Betreff: [VOTE] [RESULT] Release Apache Flink

[VOTE] [RESULT] Release Apache Flink 0.10.0 (release-0.10.0-rc8)

2015-11-12 Thread Maximilian Michels
Thanks for voting! The vote passes. The following votes have been cast: +1 votes: 7 Stephan Aljoscha Robert Max Chiwan* Henry Fabian * non-binding -1 votes: none I'll upload the release artifacts and release the Maven artifacts. Once the changes are effective, the community may announce the

Re: Fixing the ExecutionConfig

2015-11-12 Thread Aljoscha Krettek
IMHO it’s not possible to have streaming/batch specific ExecutionConfig since the user functions share a common interface, i.e. getRuntimeContext().getExecutionConfig() simply returns the same type for both. What could be done is to migrate batch/streaming specific stuff to the

Re: Flink managed memory in cluster mode

2015-11-12 Thread Gyula Fóra
Thanks Fabian :) Fabian Hueske ezt írta (időpont: 2015. nov. 12., Cs, 14:03): > Hi Gyula, > > I just checked with jconsole that the memory allocation is correct. > However, the log message is a bit misleading. In case of the streaming > mode, the managed memory is lazily

Re: [DISCUSSION] Consistent shutdown of streaming jobs

2015-11-12 Thread Maximilian Michels
+1 for the proposed changes. But why not always create a snapshot on shutdown? Does that break any assumptions in the checkpointing interval? I see that if the user has checkpointing disabled, we can just create a fake snapshot. On Thu, Nov 12, 2015 at 9:56 AM, Gyula Fóra

Re: Flink managed memory in cluster mode

2015-11-12 Thread Fabian Hueske
Hi Gyula, I just checked with jconsole that the memory allocation is correct. However, the log message is a bit misleading. In case of the streaming mode, the managed memory is lazily allocated and the logged amount is an upper bound. Cheers, Fabian 2015-11-12 13:37 GMT+01:00 Gyula Fóra

Re: Streaming statefull operator with hashmap

2015-11-12 Thread Aljoscha Krettek
Hi, you can do it using the register* methods on StreamExecutionEnvironment. So, for example: // set up the execution environment final StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(); env.registerType(InputType.class); env.registerType(MicroModel.class);

Error in during TypeExtraction

2015-11-12 Thread Gyula Fóra
Hey, I get a weird error when I try to execute my job on the cluster. Locally this works fine but running it from the command line fails during typeextraction: input1.union(input2, input3).map(Either:: Left).returns(eventOrLongType); This fails when trying to extract the output

Re: Fixing the ExecutionConfig

2015-11-12 Thread Maximilian Michels
+1 for separating concerns by having a StreamExecutionConfig and a BatchExecutionConfig with inheritance from ExecutionConfig for general options. Not sure about the pre-flight and runtime options. I think they are ok in one config. On Wed, Nov 11, 2015 at 1:24 PM, Robert Metzger

Re: neo4j - Flink connector

2015-11-12 Thread Robert Metzger
Sorry for the delay. So the plan of this work is to add a neo4j connector into Flink, right? While looking at the pom files of neo4j I found that its GPLv3 licensed, and Apache projects can not depend/link with GPL code [1]. So I we can not make the module part of the Flink source. However, its

Flink managed memory in cluster mode

2015-11-12 Thread Gyula Fóra
Hey guys, Is it normal that when I start the cluster with start-cluster-streaming.sh out of the 16gb tm memory 10.6 gb becomes flink managed? (I get pretty much the same number when I use start-cluster.sh) I thought that Flink would only use a very small fraction in streaming mode. Cheers,

Re: [VOTE] [RESULT] Release Apache Flink 0.10.0 (release-0.10.0-rc8)

2015-11-12 Thread Vasiliki Kalavri
\o/ \o/ \o/ Thank you Max! On Nov 13, 2015 2:23 AM, "Nick Dimiduk" wrote: > Woo hoo! > > On Thu, Nov 12, 2015 at 3:01 PM, Maximilian Michels > wrote: > > > Thanks for voting! The vote passes. > > > > The following votes have been cast: > > > > +1 votes: 7 >

Re: [VOTE] Release Apache Flink 0.10.0 (release-0.10.0-rc8)

2015-11-12 Thread Fabian Hueske
+1 I checked: 1) on Windows 10 with Cygwin - building from source without tests (mvn -DskipTests clean install) works - building from source with tests (mvn clean install) fails: FLINK-2757 - start/stop scripts (start-local.sh, start-local-streaming.sh, stop-local.sh) work - submitting example

Re: Error in during TypeExtraction

2015-11-12 Thread Timo Walther
This looks like a bug. Can you open an issue for that? I will look into it later. Regards, Timo On 12.11.2015 13:16, Gyula Fóra wrote: Hey, I get a weird error when I try to execute my job on the cluster. Locally this works fine but running it from the command line fails during

Re: [VOTE] Release Apache Flink 0.10.0 (release-0.10.0-rc8)

2015-11-12 Thread Fabian Hueske
The failing tests on Windows should *NOT* block the release, IMO. ;-) 2015-11-12 14:48 GMT+01:00 Fabian Hueske : > +1 > > I checked: > 1) on Windows 10 with Cygwin > - building from source without tests (mvn -DskipTests clean install) works > - building from source with tests

Re: neo4j - Flink connector

2015-11-12 Thread Martin Junghanns
Hi Robert, Thank you for the reply! At the moment we just "play" with Neo4j and Flink but the InputFormat shall be available in Flink eventually. Concerning the license: I did not think of that, but yes, I can make it available in maven central. I just need to find out how to do this. I

Re: [VOTE] Release Apache Flink 0.10.0 (release-0.10.0-rc8)

2015-11-12 Thread Gyula Fóra
This seems to be an issue only occuring when using Java 8 lambdas, which is still super annoying but may not be a release blocker. Gyula Fóra ezt írta (időpont: 2015. nov. 12., Cs, 15:38): > I am not sure if this issue affects the release or maybe I am just doing >

Re: Core Memory Error

2015-11-12 Thread Kashmar, Ali
So the problem wasn’t in Flink after all. It turns out the data I was receiving at the socket was not complete. So I went back and looked at the way I’m sending data to the socket and realized that the socket is closed before sending all data. I just needed to flush the stream before closing the

Re: Core Memory Error

2015-11-12 Thread Fabian Hueske
Ah, no problem. Glad you could resolve your problem :-) Thanks for reporting back. Cheers, Fabian 2015-11-12 17:42 GMT+01:00 Kashmar, Ali : > So the problem wasn’t in Flink after all. It turns out the data I was > receiving at the socket was not complete. So I went back

AW: [VOTE] [RESULT] Release Apache Flink 0.10.0 (release-0.10.0-rc8)

2015-11-12 Thread fhueske
Thanks Max! :-) Von: Maximilian Michels Gesendet: Freitag, 13. November 2015 00:02 An: dev@flink.apache.org Betreff: [VOTE] [RESULT] Release Apache Flink 0.10.0 (release-0.10.0-rc8) Thanks for voting! The vote passes. The following votes have been cast: +1 votes: 7 Stephan Aljoscha Robert