[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188349853 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/RegistryAvroDeserializationSchema.java --- @@ -0,0 +1,82

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188321914 --- Diff: flink-formats/flink-avro-confluent-registry/src/main/java/org/apache/flink/formats/avro/registry/confluent

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188355756 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/typeutils/AvroSerializer.java --- @@ -275,9 +304,19 @@ else

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188355390 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/typeutils/AvroSerializer.java --- @@ -99,9 +108,29

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188348636 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java --- @@ -0,0 +1,215 @@ +/* --- End

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188328437 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java --- @@ -0,0 +1,215

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188337378 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java --- @@ -0,0 +1,215

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188336725 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java --- @@ -0,0 +1,215

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188350196 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/RegistryAvroDeserializationSchema.java --- @@ -0,0 +1,82

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188353074 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/typeutils/AvroSerializer.java --- @@ -79,15 +87,16

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188347289 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java --- @@ -0,0 +1,215 @@ +/* --- End

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188328926 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java --- @@ -0,0 +1,215

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188349785 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/RegistryAvroDeserializationSchema.java --- @@ -0,0 +1,82

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188338897 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java --- @@ -0,0 +1,215

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188319278 --- Diff: flink-formats/flink-avro-confluent-registry/src/main/java/org/apache/flink/formats/avro/registry/confluent

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188319368 --- Diff: flink-formats/flink-avro-confluent-registry/src/main/java/org/apache/flink/formats/avro/registry/confluent

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188349118 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java --- @@ -0,0 +1,215

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188329273 --- Diff: flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java --- @@ -0,0 +1,215

[GitHub] flink issue #5982: [FLINK-9325][checkpoint]generate the meta file for checkp...

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5982 My gut feeling is that we don't need `WriteMode.OVERWRITE` in cases where one wants such an atomic file creation... ---

[GitHub] flink issue #6016: [FLINK-8933] Avoid calling Class#newInstance(part 2)

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/6016 I am not yet convinced that this fixes an actual problem, whereas it is not clear whether it may cause regression (exception traces or performance). To me this is a case to not do

[GitHub] flink pull request #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5995#discussion_r188316052 --- Diff: flink-formats/flink-avro-confluent-registry/pom.xml --- @@ -0,0 +1,94 @@ + + +http://maven.apache.org/POM/4.0.0

[GitHub] flink issue #5982: [FLINK-9325][checkpoint]generate the meta file for checkp...

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5982 Good point about the renaming on `close()` in case close is called for cleanup, rather than success. We could follow the same semantics as in [CheckpointStateOutputStream](https

[GitHub] flink issue #6016: [FLINK-8933] Avoid calling Class#newInstance(part 2)

2018-05-15 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/6016 I am not sure we should be doing it like this. The point of discouraging `Class.newInstance()` is not to copy replace this by a different call. That will not magically make anything

[GitHub] flink issue #6002: [FLINK-9350] Parameter baseInterval has wrong check messa...

2018-05-14 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/6002 Good fix, thanks. +1 to merge ---

[GitHub] flink issue #5995: [FLINK-9337] Implemented AvroDeserializationSchema

2018-05-14 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5995 Thanks, the main code looks good! Unfortunately, this seems to wither break the compatibility with prior savepoints (when Avro types were implicitly handled through Kryo, now bridged

[GitHub] flink issue #5982: [FLINK-9325][checkpoint]generate the meta file for checkp...

2018-05-14 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5982 Thanks for preparing this. I looked at the `TwoPhraseFSDatautputStream` - maybe we can make this simpler. Do we need the distinction between phases? Is it not enough to behave

[GitHub] flink issue #5963: [FLINK-9305][s3] also register flink-s3-fs-hadoop's facto...

2018-05-14 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5963 Looks good, thanks. +1 to merge ---

[GitHub] flink issue #5897: [FLINK-9234] [table] Fix missing dependencies for externa...

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5897 Agreed, let's add it to master as well... ---

[GitHub] flink issue #5970: [FLINK-9292] [core] Remove TypeInfoParser (part 2)

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5970 Looks good, thanks. +1 to merge ---

[GitHub] flink issue #5834: [FLINK-9153] TaskManagerRunner should support rpc port ra...

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5834 Committers usually have a lot of different responsibilities (releases, testing, helping users on mailing lists, working on roadmap features, etc.). All that takes a lot of time. Reviewing PRs

[GitHub] flink issue #6000: [FLINK-9299] [Documents] ProcessWindowFunction documentat...

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/6000 Congrats on having PR number 6000! This overlaps with #6001, which is a mit more comprehensive (but need some improvements). Would you be up to coordinate to make one joint PR? ---

[GitHub] flink pull request #6000: [FLINK-9299] [Documents] ProcessWindowFunction doc...

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/6000#discussion_r187798729 --- Diff: docs/dev/stream/operators/windows.md --- @@ -730,9 +730,9 @@ input /* ... */ -public class MyProcessWindowFunction

[GitHub] flink issue #5999: [FLINK-9348] [Documentation] scalastyle documentation for...

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5999 This is helpful, thanks. Merging... ---

[GitHub] flink issue #5966: [FLINK-9312] [security] Add mutual authentication for RPC...

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5966 I agree, we need different key/truststores for the internal/external connectivity. This PR was meant as a step in that direction, separating at least within the SSL Utils the internal

[GitHub] flink pull request #5970: [FLINK-9292] [core] Remove TypeInfoParser (part 2)

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5970#discussion_r187797400 --- Diff: flink-java/src/test/java/org/apache/flink/api/java/sca/UdfAnalyzerTest.java --- @@ -62,6 +62,10 @@ @SuppressWarnings("s

[GitHub] flink issue #5970: [FLINK-9292] [core] Remove TypeInfoParser (part 2)

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5970 One minor style comment, otherwise this is good to go! ---

[GitHub] flink issue #5897: [FLINK-9234] [table] Fix missing dependencies for externa...

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5897 From my side, +1 to merge this to `release-1.4` and `release-1.5`. ---

[GitHub] flink issue #5897: [FLINK-9234] [table] Fix missing dependencies for externa...

2018-05-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5897 Forwarding some comment from @fhueske from JIRA: > I tried to reproduce this issue for 1.5 but it seems to work. > > Flink 1.5 should be out soon (release ca

[GitHub] flink issue #5982: [FLINK-9325][checkpoint]generate the meta file for checkp...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5982 How about adding the method `createAtomically` or so, with otherwise the same signature as the `create(Path, WriteMode)` method? ---

[GitHub] flink issue #5735: [FLINK-9036] [core] Add default values to State Descripto...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5735 @aljoscha Would be interested in your opinion here. This is basically one of two ways to improve the handling of default values: 1. Add a default value supplier on the state

[GitHub] flink pull request #5977: [FLINK-9295][kafka] Fix transactional.id collision...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5977#discussion_r187639708 --- Diff: flink-connectors/flink-connector-kafka-0.11/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaProducer011.java

[GitHub] flink pull request #5977: [FLINK-9295][kafka] Fix transactional.id collision...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5977#discussion_r187640541 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java --- @@ -71,6 +71,17 @@ @PublicEvolving

[GitHub] flink issue #5973: [FLINK-9261][ssl] Fix SSL support for REST API and Web UI...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5973 Merged in `master` in 3afa5eb3c47158086ab29012a835f96682a85d34 ---

[GitHub] flink issue #5982: [FLINK-9325][checkpoint]generate the meta file for checkp...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5982 I think this fix here might not work for S3, because a rename() with the S3 file systems will actually trigger a copy (or even a download and upload), so it is not a cheap operation

[GitHub] flink pull request #5970: [FLINK-9292] [core] Remove TypeInfoParser (part 2)

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5970#discussion_r187610790 --- Diff: flink-java/src/test/java/org/apache/flink/api/java/sca/UdfAnalyzerTest.java --- @@ -109,7 +112,7 @@ public String map(MyPojo value) throws

[GitHub] flink issue #5962: [FLINK-9304] Timer service shutdown should not stop if in...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5962 The comment to make at least one attempt sounds good. If you refactor this a little bit, you can actually test it. Either make it a static method to which you pass the timer service

[GitHub] flink pull request #5970: [FLINK-9292] [core] Remove TypeInfoParser (part 2)

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5970#discussion_r187591783 --- Diff: flink-java/src/test/java/org/apache/flink/api/java/sca/UdfAnalyzerTest.java --- @@ -109,7 +112,7 @@ public String map(MyPojo value) throws

[GitHub] flink pull request #5970: [FLINK-9292] [core] Remove TypeInfoParser (part 2)

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5970#discussion_r187589977 --- Diff: flink-core/src/test/java/org/apache/flink/api/common/typeinfo/TypeInformationTest.java --- @@ -61,7 +61,7 @@ public void

[GitHub] flink pull request #5970: [FLINK-9292] [core] Remove TypeInfoParser (part 2)

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5970#discussion_r187592909 --- Diff: flink-java/src/test/java/org/apache/flink/api/java/sca/UdfAnalyzerTest.java --- @@ -268,8 +274,8 @@ public void

[GitHub] flink issue #5987: [FLINK-9043][CLI]Automatically search for the last succes...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5987 Sorry, but can we take back a step and first agree on what we actually want the behavior to be before jumping into an implementation? ---

[GitHub] flink issue #5958: [FLINK-8500] Get the timestamp of the Kafka message from ...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5958 If it turns out that we need to do a bit more design work on the deserialization schema, we could incrementally fix the issue that triggered this PR by actually extending

[GitHub] flink issue #5958: [FLINK-8500] Get the timestamp of the Kafka message from ...

2018-05-11 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5958 There are a few bigger design aspects that we need to agree upon: - The `DeserializationSchema` is a shared common denominator of serialization schemata. That's why it is in `flink

[GitHub] flink issue #5973: [FLINK-9261][ssl] Fix SSL support for REST API and Web UI...

2018-05-09 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5973 Merging this... ---

[GitHub] flink pull request #5980: [FLINK-9324] Wait for slot release before completi...

2018-05-09 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5980#discussion_r187191338 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/SingleLogicalSlot.java --- @@ -159,10 +159,51 @@ public

[GitHub] flink pull request #5980: [FLINK-9324] Wait for slot release before completi...

2018-05-09 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5980#discussion_r187189887 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/SingleLogicalSlot.java --- @@ -159,10 +159,51 @@ public

[GitHub] flink issue #5978: [FLINK-8554] Upgrade AWS SDK

2018-05-09 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5978 Before merging this, we need to - diff the dependency trees between the versions - clear all licenses for the dependency changes. put changes into the NOTICE files - check

[GitHub] flink issue #5975: [FLINK-9138][docs][tests] Make ConfigOptionsDocsCompleten...

2018-05-09 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5975 +1 ---

[GitHub] flink pull request #5973: [FLINK-9261][ssl] Fix SSL support for REST API and...

2018-05-09 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5973#discussion_r187025268 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/net/SSLUtils.java --- @@ -81,16 +85,62 @@ public static void setSSLVerAndCipherSuites

[GitHub] flink issue #5972: [FLINK-9323][build] Properly organize checkstyle-plugin c...

2018-05-09 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5972 +1 to the cleanup, but I think this might be breaking relative paths of the suppression files, hence causing the build to fail. Probably need to make the paths relative to "root dir&quo

[GitHub] flink issue #5936: [FLINK-9265] Upgrade Prometheus version

2018-05-09 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5936 Looks good, thanks. +1 to merge this ---

[GitHub] flink pull request #5966: [FLINK-9312] [security] Add mutual authentication ...

2018-05-08 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5966#discussion_r186800971 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyServer.java --- @@ -170,8 +171,8 @@ public void initChannel

[GitHub] flink issue #5966: [FLINK-9312] [security] Add mutual authentication for RPC...

2018-05-07 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5966 @EronWright This might be interesting to you as well ---

[GitHub] flink pull request #5966: [FLINK-9312] [security] Add mutual authentication ...

2018-05-07 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/5966 [FLINK-9312] [security] Add mutual authentication for RPC and data plane ## What is the purpose of the change Currently, the Flink processes encrypted connections via SSL: - Data

[GitHub] flink issue #5965: [FLINK-9310] [security] Update standard cipher suites for...

2018-05-07 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5965 @EronWright This might be interesting to you. ---

[GitHub] flink pull request #5965: [FLINK-9310] [security] Update standard cipher sui...

2018-05-07 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/5965 [FLINK-9310] [security] Update standard cipher suites for secure mode ## What is the purpose of the change This sets the cipher suits accepted by default to those recommended

[GitHub] flink issue #5936: [FLINK-9265] Upgrade Prometheus version

2018-05-07 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5936 Yes, before giving +1 to this commit, we need to check that this introduces no new transitive dependency, or need to make sure that dependency is not an issue. ---

[GitHub] flink issue #5427: [FLINK-8533] [checkpointing] Support MasterTriggerRestore...

2018-05-07 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5427 Thanks a lot, looks good, can merge this now. One quick question: You decided to have empty default implementations for the new methods in the master hook interface. Given that Pravega

[GitHub] flink pull request #5954: [FLINK-9276] Improve error message when TaskManage...

2018-05-07 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5954#discussion_r186376326 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/scheduler/SchedulerTestBase.java --- @@ -296,7 +296,7 @@ public

[GitHub] flink pull request #5954: [FLINK-9276] Improve error message when TaskManage...

2018-05-07 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5954#discussion_r186376122 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/SlotPool.java --- @@ -1070,13 +1071,22 @@ protected void

[GitHub] flink pull request #5954: [FLINK-9276] Improve error message when TaskManage...

2018-05-07 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5954#discussion_r186376182 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/SlotPoolGateway.java --- @@ -86,9 +86,10 @@ * Releases

[GitHub] flink pull request #5954: [FLINK-9276] Improve error message when TaskManage...

2018-05-07 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5954#discussion_r186375693 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/SlotPool.java --- @@ -212,7 +212,7 @@ public void start(JobMasterId

[GitHub] flink pull request #5954: [FLINK-9276] Improve error message when TaskManage...

2018-05-07 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5954#discussion_r186375841 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/SlotPool.java --- @@ -1050,11 +1050,12 @@ else

[GitHub] flink issue #5931: [FLINK-9190][flip6,yarn] Request new container if contain...

2018-05-05 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5931 @sihuazhou and @shuai-xu thank you for your help in understanding the bug here. Let me rephrase it to make sure I understand the problem exactly. The steps are the following

[GitHub] flink issue #5951: [FLINK-9293] [runtime] SlotPool should check slot id when...

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5951 Good catch! Thank you for the PR. Will try to review this asap... ---

[GitHub] flink pull request #5928: [hotfix][doc] fix doc of externalized checkpoint

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5928#discussion_r185737131 --- Diff: docs/ops/state/state_backends.md --- @@ -152,7 +152,7 @@ Possible values for the config entry are *jobmanager* (MemoryStateBackend), *fil

[GitHub] flink issue #5928: [hotfix][doc] fix doc of externalized checkpoint

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5928 In Flink 1.5, all checkpoints are externalized. There is no notion of externalized checkpoints any more, just a setting to configure the retention (retain on cancel, retain on fail, never retain

[GitHub] flink issue #5929: [FLINK-8497] [connectors] KafkaConsumer throws NPE if top...

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5929 I am not sure if failing is the right behavior here. What is someone has a Flink job running and one of the topics for which partitions are discovered gets deleted? That would fail

[GitHub] flink issue #5936: [FLINK-9265] Upgrade Prometheus version

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5936 Could you add the dependency tree of the upgraded Prometheus dependency to check? ---

[GitHub] flink issue #5939: [FLINK-8500] [Kafka Connector] Get the timestamp of the K...

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5939 The feature is a nice addition. Flink currently already adds the timestamp as the record's event time timestamp. You can access it via a ProcessFunction. That is a tad bit more clumsy

[GitHub] flink pull request #5944: [FLINK-8900] [yarn] Set correct application status...

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5944#discussion_r185732563 --- Diff: flink-yarn/src/main/java/org/apache/flink/yarn/entrypoint/YarnJobClusterEntrypoint.java --- @@ -131,6 +133,17 @@ protected JobGraph

[GitHub] flink pull request #5944: [FLINK-8900] [yarn] Set correct application status...

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5944#discussion_r185732507 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/MiniDispatcher.java --- @@ -109,7 +119,11 @@ public MiniDispatcher

[GitHub] flink pull request #5944: [FLINK-8900] [yarn] Set correct application status...

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5944#discussion_r185732539 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/MiniDispatcher.java --- @@ -109,7 +119,11 @@ public MiniDispatcher

[GitHub] flink pull request #5948: [FLINK-9286][docs] Update classloading docs

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5948#discussion_r185731303 --- Diff: docs/monitoring/debugging_classloading.md --- @@ -69,9 +69,9 @@ cases. By default, Java ClassLoaders will first look for classes in the parent

[GitHub] flink issue #5949: [FLINK-9288][docs] clarify the event time / watermark doc...

2018-05-03 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5949 Looks good, thanks, merging this... ---

[GitHub] flink issue #5900: [FLINK-9222][docs] add documentation for setting up Gradl...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5900 Nice addition! A few things I would like to double check on the quickstart configuration (I am not fluent enough Gradle): - We do not need to hide/shade any dependencies

[GitHub] flink issue #5914: [FLINK-9256][network] fix NPE in SingleInputGate#updateIn...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5914 Change looks very good, thanks! Merging this... We can probably remove most of this code out again later, once we drop the non-credit-based code paths in the next releases

[GitHub] flink issue #5916: [hotfix][tests] remove redundant rebalance in SuccessAfte...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5916 Merging... ---

[GitHub] flink issue #5942: [FLINK-9274][kafka] add thread name for partition discove...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5942 Good fix, thanks! Merging... ---

[GitHub] flink issue #5943: [FLINK-9275][streaming] add taskName to the output flushe...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5943 Good fix, thanks, merging... ---

[GitHub] flink issue #5938: [FLINK-9196][flip6, yarn] Cleanup application files when ...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5938 Merging this... ---

[GitHub] flink pull request #5938: [FLINK-9196][flip6, yarn] Cleanup application file...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5938#discussion_r185080370 --- Diff: flink-clients/src/main/java/org/apache/flink/client/program/rest/RestClusterClient.java --- @@ -570,6 +571,21 @@ public LeaderConnectionInfo

[GitHub] flink issue #5944: [FLINK-8900] [yarn] Set correct application status when j...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5944 The test failure is unrelated - unrelated test flakeyness ---

[GitHub] flink issue #5931: [FLINK-9190][flip6,yarn] Request new container if contain...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5931 @GJL Briefly digging through the log, there are a few strange things happening: - `YarnResourceManager` still has 8 pending requests even when 11 containers are running

[GitHub] flink pull request #5944: [FLINK-8900] [yarn] Set correct application status...

2018-04-30 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/5944 [FLINK-8900] [yarn] Set correct application status when job is finished ## What is the purpose of the change When finite Flink applications (batch jobs) are sent to YARN

[GitHub] flink issue #5897: [FLINK-9234] [table] Fix missing dependencies for externa...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5897 Can we actually get rid of `commons-configuration` in the table API? All the commons packages with their weird long tail of not properly declared dependencies have become a bit

[GitHub] flink issue #5924: [hotfix][README.md] Update building prerequisites

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5924 Thanks, merging this... ---

[GitHub] flink issue #5934: [FLINK-9269][state] fix concurrency problem when performi...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5934 Concerning serializer snapshots: - We need to move away from Java Serializing the serializers into the config snapshots anyways and should do that in the near future. - I think

[GitHub] flink issue #5892: [FLINK-9214] YarnClient should be stopped in YARNSessionC...

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5892 Thanks, looks good, merging this... ---

[GitHub] flink issue #5928: [hotfix][doc] fix doc of externalized checkpoint

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5928 The configuration (`config.md`)should be generated from the config options by now, so not be manually edited. (@zentol could you chime in here?) ---

[GitHub] flink pull request #5928: [hotfix][doc] fix doc of externalized checkpoint

2018-04-30 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/5928#discussion_r185021293 --- Diff: docs/dev/stream/state/checkpointing.md --- @@ -137,11 +137,9 @@ Some more parameters and/or defaults may be set via `conf/flink-conf.yaml

<    1   2   3   4   5   6   7   8   9   10   >