[GitHub] flink pull request #4891: [FLINK-7669] Always load Flink classes via parent ...

2017-10-23 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4891#discussion_r146336120 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/execution/librarycache/FlinkUserCodeClassLoaders.java --- @@ -31,24 +31,23

[GitHub] flink pull request #4891: [FLINK-7669] Always load Flink classes via parent ...

2017-10-23 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4891#discussion_r146336544 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobManagerServices.java --- @@ -116,8 +116,15 @@ public static

[GitHub] flink pull request #4891: [FLINK-7669] Always load Flink classes via parent ...

2017-10-23 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4891#discussion_r146338877 --- Diff: docs/monitoring/debugging_classloading.md --- @@ -57,22 +57,34 @@ YARN classloading differs between single job deployments and sessions

[GitHub] flink pull request #4892: [FLINK-7905] [build] Update encrypted Travis S3 ac...

2017-10-23 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/4892 [FLINK-7905] [build] Update encrypted Travis S3 access keys This fixes the currently failing tests for S3 file systems by adding proper encrypted access credentials. The current

[GitHub] flink issue #4794: [build][minor] Add missing licenses

2017-10-19 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4794 We already have a script, it is the RAT plugin: https://github.com/apache/flink/blob/master/pom.xml#L957 You only need to make sure that these files are not excluded from the check... ---

[GitHub] flink pull request #4827: [FLINK-7840] [build] Shade netty in akka

2017-10-15 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/4827 [FLINK-7840] [build] Shade netty in akka ## What is the purpose of the change This change shade's Akka's dependency on Netty away. **Note:** Akka itself cannot be s

[GitHub] flink issue #4787: [FLINK-6615][core] simplify FileUtils

2017-10-15 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4787 @bowenli86 I hope you don't mind that I pushed back a bit. It's my job to be careful about such things... ---

[GitHub] flink issue #4524: [FLINK-7419] Shade jackson dependency in flink-avro

2017-10-14 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4524 Merging this... ---

[GitHub] flink issue #4214: [FLINK-7021] Flink Task Manager hangs on startup if one Z...

2017-10-14 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4214 @skidder Do you want to follow up on this one? Otherwise, another contributor might take this over. Betting this fix into 1.4 would be great... ---

[GitHub] flink issue #4822: [FLINK-7484] Perform proper deep copy in CaseClassSeriali...

2017-10-14 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4822 Seems this is merged into master, please also merge this for 1.3.x ---

[GitHub] flink issue #4801: [FLINK-7812] Log system resources metrics

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4801 Eclipse Public License is not impossible, but tricky. I am not a lawyer, but this is what I picked up over the year: EPL is weak copyleft, meaning linking is okay, but modifying not

[GitHub] flink issue #4807: [FLINK-7810] Switch from custom Flakka to Akka 2.4.x

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4807 I think this is good now, +1 ---

[GitHub] flink issue #4818: [FLINK-5706] [file systems] Add S3 file systems without H...

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4818 Thanks @steveloughran for the comments. I am actually using Hadoop 2.8.1 here with AWS SDK 1.11.95. The shaded artifacts are only a few MBs large, so this seems okay. ---

[GitHub] flink pull request #4818: [FLINK-5706] [file systems] Add S3 file systems wi...

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4818#discussion_r144546384 --- Diff: flink-filesystems/flink-s3-fs-hadoop/src/main/java/org/apache/flink/fs/s3hadoop/S3FileSystemFactory.java --- @@ -0,0 +1,145

[GitHub] flink issue #4787: [FLINK-6615][core] simplify FileUtils

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4787 I think here is an interesting example of why I am often hesitant with cleanup refactorings, unless there is a pressing need to clean up. It is very hard to judge if the cleaned up

[GitHub] flink issue #4787: [FLINK-6615][core] simplify FileUtils

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4787 Actually, going back here. I would like to not merge this after all. The reason being that in my test run, I found that this does not handle concurrent deletes correctly after all: https

[GitHub] flink issue #4816: [hotfix][docs] CEP docs review to remove weasel words, fi...

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4816 Would be great to also have this in the 1.3 docs, but cherry-picking the committ does not work... ---

[GitHub] flink issue #4816: [hotfix][docs] CEP docs review to remove weasel words, fi...

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4816 Thanks, merging this... ---

[GitHub] flink pull request #4807: [FLINK-7810] Switch from custom Flakka to Akka 2.4...

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4807#discussion_r144518821 --- Diff: flink-queryable-state/flink-queryable-state-java/pom.xml --- @@ -110,8 +110,8 @@ under the License

[GitHub] flink pull request #4807: [FLINK-7810] Switch from custom Flakka to Akka 2.4...

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4807#discussion_r144518199 --- Diff: .travis.yml --- @@ -61,31 +61,6 @@ matrix: - TEST="misc" - PROFILE="-Dhadoop.version=2.8.0"

[GitHub] flink pull request #4807: [FLINK-7810] Switch from custom Flakka to Akka 2.4...

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4807#discussion_r144519154 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/taskmanager/TaskManagerComponentsStartupShutdownTest.java --- @@ -202,8 +202,6

[GitHub] flink issue #4801: [FLINK-7812] Log system resources metrics

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4801 Thanks for this addition. Few comments: - Please try to follow the common (though not enforced) code style when it comes to empty lines between class declarations, fields, methods, etc

[GitHub] flink issue #4798: [FLINK-6505] Proactively cleanup local FS for RocksDBKeye...

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4798 Probably good change for now. I think in the long run, the TaskManager should give each Task a sub-directory and make sure that sub directory is cleared whenever tasks finish/cancel

[GitHub] flink issue #4787: [FLINK-6615][core] simplify FileUtils

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4787 Fair enough. Seems there are tests for the behavior already, so +1 to merge this Merging... ---

[GitHub] flink issue #4794: [build][minor] Add missing licenses

2017-10-13 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4794 Thanks, good addition. Have you checked whether the shell scripts still work now, or whether they get confused by the headers? If all works, can you remove the exclusions from the

[GitHub] flink pull request #4818: [FLINK-5706] [file systems] Add S3 file systems wi...

2017-10-12 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/4818 [FLINK-5706] [file systems] Add S3 file systems without Hadoop dependencies ## What is the purpose of the change This adds two implementations of a file system that write to S3 so that

[GitHub] flink issue #4790: [FLINK-7764] [kafka] Enable the operator settings for Fli...

2017-10-10 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4790 cc @aljoscha and @pnowojski I think there is some work for Flink 1.4 to make the Kafka 0.10 sink a regular sink function, so that the code that constructs the sink transformation is not

[GitHub] flink issue #4787: [FLINK-6615][core] simplify FileUtils

2017-10-09 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4787 Is there any problem with the current implementation? The current implementation was carefully done to gracefully handle concurrent removals and allow to pick whether to clean directories

[GitHub] flink issue #4749: [FLINK-7739][tests] Properly shutdown resources in tests

2017-10-08 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4749 I think this looks good. Since it rename the mini cluster methods (meaning it does actually change user facing pre-production code which should also be stable), I would only merge this

[GitHub] flink issue #4751: [FLINK-7739][kafka-tests] Throttle down data producing th...

2017-10-08 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4751 @pnowojski I am wondering whether this is really necessary. This is not quite a busy loop after all, because the `collect()` call emits to the Kafka Producer and goes through buffering and I/O

[GitHub] flink issue #4447: [FLINK-7312][checkstyle] activate checkstyle for flink/co...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4447 This seems to be subsumed by #4445 - is that correct? ---

[GitHub] flink issue #4445: [FLINK-7310][core] always use the HybridMemorySegment

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4445 Agree with @KurtYoung. Merging this... ---

[GitHub] flink issue #4755: [hotfix] [docs] Fix broken links

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4755 +1, merging this... ---

[GitHub] flink issue #4756: [FLINK-7744][docs] Add missing top links to documentation

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4756 Good from my side. Since I am not very opinionated about docs/navigation, would be good to have a second opinion. @alpinegizmo what do you think? ---

[GitHub] flink issue #4754: [FLINK-7742][hotfix] Fix array access might be out of bou...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4754 Good catches, thanks. Merging this... ---

[GitHub] flink issue #4775: [FLINK-7739] Fix KafkaXXITCase tests stability

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4775 Thanks, will merge this without the added restart delay. If it is still unstable, we can add that back. ---

[GitHub] flink pull request #4775: [FLINK-7739] Fix KafkaXXITCase tests stability

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4775#discussion_r143254179 --- Diff: flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTestBase.java --- @@ -121,10

[GitHub] flink pull request #4777: [FLINK-7739] Enable dependency convergence

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4777#discussion_r143253601 --- Diff: flink-core/pom.xml --- @@ -77,6 +88,12 @@ under the License. org.apache.commons

[GitHub] flink pull request #4777: [FLINK-7739] Enable dependency convergence

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4777#discussion_r143252870 --- Diff: flink-core/pom.xml --- @@ -63,9 +63,20 @@ under the License. com.esotericsoftware.kryo

[GitHub] flink pull request #4777: [FLINK-7739] Enable dependency convergence

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4777#discussion_r143253445 --- Diff: pom.xml --- @@ -1181,7 +1204,7 @@ under the License. org.apache.maven.plugins

[GitHub] flink issue #4783: [FLINK-7774][network] fix not clearing deserializers on c...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4783 Looks good, +1 to merge this ---

[GitHub] flink issue #4782: [FLINK-7772][blob] fix test instability in BlobCacheDelet...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4782 Thanks for fixing this, merging... ---

[GitHub] flink issue #4773: [FLINK-7761] [examples] Include shaded guava dependency i...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4773 Looks good to me! ---

[GitHub] flink pull request #4774: [FLINK-6495] Fix Akka's default value for heartbea...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4774#discussion_r143248194 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/restart/FixedDelayRestartStrategy.java --- @@ -82,7 +82,7 @@ public

[GitHub] flink pull request #4774: [FLINK-6495] Fix Akka's default value for heartbea...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4774#discussion_r143246933 --- Diff: flink-core/src/main/java/org/apache/flink/configuration/IllegalConfigurationException.java --- @@ -42,6 +42,17 @@ public

[GitHub] flink pull request #4781: [FLINK-7768] [core] Load File Systems via Java Ser...

2017-10-06 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/4781 [FLINK-7768] [core] Load File Systems via Java Service abstraction **This is based on #4780 , so only the latest commit is relevant** You can merge this pull request into a Git repository by

[GitHub] flink issue #4776: [FLINK-7643] [core] Rework FileSystem loading to use fact...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4776 Thanks for the comments. Addressing them and merging them... ---

[GitHub] flink pull request #4780: [FLINK-7766] [FLINK-7767] [file system sink] Clean...

2017-10-06 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/4780 [FLINK-7766] [FLINK-7767] [file system sink] Cleanups in the streaming FS sinks **This build on top of #4776 - only the last two commits are relevant.** ## What is the purpose of the

[GitHub] flink pull request #4776: [FLINK-7643] [core] Rework FileSystem loading to u...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4776#discussion_r143142386 --- Diff: flink-core/src/main/java/org/apache/flink/core/fs/FileSystem.java --- @@ -328,116 +360,54 @@ public static FileSystem getUnguardedFileSystem

[GitHub] flink issue #4776: [FLINK-7643] [core] Rework FileSystem loading to use fact...

2017-10-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4776 @bowenli86 I can add a log statement. ---

[GitHub] flink issue #4776: [FLINK-7643] [core] Rework FileSystem loading to use fact...

2017-10-05 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4776 @bowenli86 We need to fail lazily, because Flink should be able to always work without MapR FS or HDFS being in the classpath. With the change currently, you can start Flink without any

[GitHub] flink pull request #4776: [FLINK-7643] [core] Rework FileSystem loading to u...

2017-10-05 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4776#discussion_r142881593 --- Diff: flink-core/src/main/java/org/apache/flink/core/fs/factories/HadoopFileSystemFactoryLoader.java --- @@ -0,0 +1,67 @@ +/* + * Licensed

[GitHub] flink pull request #4776: [FLINK-7643] [core] Rework FileSystem loading to u...

2017-10-04 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/4776 [FLINK-7643] [core] Rework FileSystem loading to use factories ## What is the purpose of the change This change reworks the loading and instantiation of File System objects (including

[GitHub] flink issue #4771: [hotfix] [hbase] Set root log level to OFF for flink-hbas...

2017-10-04 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4771 Will address Zentol's comment and merge. This is blocking me... ---

[GitHub] flink issue #4616: [FLINK-7552] [FLINK-7553] Enhance SinkInterface / Use in ...

2017-09-20 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4616 +1 from my side to merge it like this (using boxed long, dropping the `hasTimestamp()` method. My reasoning is that this is consistent with `ProcessFunction` (like @EronWright said), it

[GitHub] flink issue #4564: [FLINK-7442] Add option for using child-first classloader...

2017-09-20 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4564 Did a side-by-side review with @aljoscha and directly fixed issues. This is in very good shape from my side now. +1 to merge this ---

[GitHub] flink issue #4445: [FLINK-7310][core] always use the HybridMemorySegment

2017-08-28 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4445 Thanks! I am currently trying to pinpoint what part of the code exactly suffers most from the regression. If that is for example specific to the microbenchmark, we can merge this

[GitHub] flink issue #4564: [FLINK-7442] Add option for using child-first classloader...

2017-08-18 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4564 Thanks, this looks better to me! I would suggest to not pass the configuration into the library cache manager. I think passing configuration objects into specialized / dedicated

[GitHub] flink issue #4525: [FLINK-7423] Always reuse an instance to get elements fro...

2017-08-18 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4525 I think `null` values are not really permitted at the moment, but I think the InputFormats do not explicitly forbid them. That's why the logic is not "run until returns null",

[GitHub] flink issue #4554: [FLINK-7442] Add option for using child-first classloader...

2017-08-18 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4554 I think what you mentioned is one more reason to not use this in too many places for now, but only inside the TaskManager / Tasks. Let's introduce that as a tool that users can use to re

[GitHub] flink issue #4525: [FLINK-7423] Always reuse an instance to get elements fro...

2017-08-18 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4525 The logic is currently not correct with the contract of the input formats. A return value of null is not an "end of split" indicator. Also, the description mentions that this a

[GitHub] flink issue #4554: [FLINK-7442] Add option for using child-first classloader...

2017-08-18 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4554 Ah, I see - that is probably related to reading resources from a jar file (like the config), methods like `getResourceAsStream()`. I can see that the "delegate to parent after child&qu

[GitHub] flink issue #4554: [FLINK-7442] Add option for using child-first classloader...

2017-08-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4554 I took only a very brief look at this, but I am not totally sure whether the `ChildFirstClassLoader` implementation is actually correct. Even if it is, it seems to do redundant work, like

[GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...

2017-08-14 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4353#discussion_r133010887 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/TaskStateSnapshot.java --- @@ -0,0 +1,139 @@ +/* + * Licensed to the

[GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...

2017-08-14 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4353#discussion_r133021771 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java --- @@ -878,14 +873,17 @@ public void

[GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...

2017-08-14 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4353#discussion_r133013315 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/test/java/org/apache/flink/contrib/streaming/state/RocksDBAsyncSnapshotTest.java --- @@ -164,8

[GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...

2017-08-14 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4353#discussion_r133021720 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java --- @@ -850,18 +843,20 @@ public void

[GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...

2017-08-14 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4353#discussion_r133009796 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/TaskStateSnapshot.java --- @@ -0,0 +1,139 @@ +/* + * Licensed to the

[GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...

2017-08-14 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4353#discussion_r133018189 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StateAssignmentOperation.java --- @@ -185,44 +184,66 @@ private void

[GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...

2017-08-14 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4353#discussion_r133016663 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/OperatorSubtaskState.java --- @@ -75,31 +103,79

[GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...

2017-08-14 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4353#discussion_r133022095 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java --- @@ -553,31 +551,29 @@ public void

[GitHub] flink issue #4353: [FLINK-7213] Introduce state management by OperatorID in ...

2017-08-14 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4353 Concerning the suggestion about the `MultiStreamStateHandle` - I am not sure that this can always work. Different physical files may have headers, so it may be important to recognize them as

[GitHub] flink issue #4503: [FLINK-6982] [guava] Integrate flink-shaded-guava-18

2017-08-10 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4503 Looks pretty good, all in all! +1 from my side --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not

[GitHub] flink issue #4353: [FLINK-7213] Introduce state management by OperatorID in ...

2017-08-04 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4353 I had a very rough look at it, and the conceptual rework looks very good. This would need a detailed pass over the code changes, though, since it touches very sensitive code... --- If

[GitHub] flink issue #4458: [FLINK-7348] [checkstyle] Allow redundant modifiers on me...

2017-08-02 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4458 Thanks for picking this up quickly. I assume there is no way to make this only about `final` modifiers? We could also approach this by doing selective exclusions of classes (like the

[GitHub] flink issue #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind and Co...

2017-08-02 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4397 @steveloughran Thanks for the comment. We'll take this input into account for the more elaborate handling in the next version. --- If your project is set up for it, you can reply to this

[GitHub] flink issue #4447: [FLINK-7312][checkstyle] activate checkstyle for flink/co...

2017-08-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4447 Final key-words on non-static methods should always be an exception, no matter whether checkstyle marks them as a violation. Talking to @NicoK offline, he mentioned that there have been

[GitHub] flink issue #4447: [FLINK-7312][checkstyle] activate checkstyle for flink/co...

2017-08-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4447 Thinking more about this, I think we should modify the checkstyle to not force us to remove such `final` keywords. While being redundant in the current "snapshot" of the code, they

[GitHub] flink issue #4447: [FLINK-7312][checkstyle] activate checkstyle for flink/co...

2017-08-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4447 If the tooling is hard to be made to cooperate, then I am not religious about the `final` keyword here. This is more of a general theme: I am trying to advocate to not change things

[GitHub] flink issue #4445: [FLINK-7310][core] always use the HybridMemorySegment

2017-08-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4445 These changes look good to me! There is in fact a potential performance impact of this change. It would be cool to get an understanding of the potential performance impact of only using

[GitHub] flink issue #4447: [FLINK-7312][checkstyle] activate checkstyle for flink/co...

2017-08-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4447 There is also a complete reorg of a test file, removing try/catch blocks. This affects to my knowledge only the way where exactly the stack trace is printed. I am skeptical about these

[GitHub] flink issue #4447: [FLINK-7312][checkstyle] activate checkstyle for flink/co...

2017-08-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4447 At the first quick glance: This is removing a lot of `final` keywords from various methods. While one could argue that this keyword is not strictly necessary (the class as a whole is

[GitHub] flink issue #4451: [hotfix][tests] increase timeout in ExecutionGraphRestart...

2017-08-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4451 Is this really the root of the problem, or is this maybe affected by this: https://github.com/apache/flink/blob/master/flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph

[GitHub] flink issue #4150: [FLINK-6951] Incompatible versions of httpcomponents jars...

2017-07-31 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4150 @tzulitai Do we shade the `aws-sdk-java` in the Kinesis connector? We should probably, and shade it in Hadoop as well. If not, this could be a cause of the conflict... --- If your project is

[GitHub] flink pull request #4353: [FLINK-7213] Introduce state management by Operato...

2017-07-31 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4353#discussion_r130295736 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java --- @@ -208,13 +208,13 @@ public

[GitHub] flink issue #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind and Co...

2017-07-28 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4397 Want to see how we proceed with master. Same minimal version, or the more extensive version here? --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] flink issue #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind and Co...

2017-07-28 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4397 Merged a minimal version of this into `release-1.3` in 854b05376a459a6197e41e141bb28a9befe481ad --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] flink issue #4360: [FLINK-7220] [checkpoints] Update RocksDB dependency to 5...

2017-07-28 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4360 Agree. There are two very non-descriptive commits in the master now. Let's try to avoid that in the future... --- If your project is set up for it, you can reply to this email and have

[GitHub] flink pull request #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind...

2017-07-28 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4397#discussion_r130044644 --- Diff: flink-core/src/main/java/org/apache/flink/core/fs/ConsistencyLevel.java --- @@ -0,0 +1,119 @@ +/* + * Licensed to the Apache Software

[GitHub] flink issue #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind and Co...

2017-07-28 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4397 How about I just remove the consistency level completely and reduce the `FileSystemKind` to "file system" and "object store"? I tried to think through the ecosystem o

[GitHub] flink pull request #4187: [FLINK-6998][Kafka Connector] Add kafka offset com...

2017-07-26 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4187#discussion_r129663595 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/KafkaCommitCallback.java

[GitHub] flink pull request #4187: [FLINK-6998][Kafka Connector] Add kafka offset com...

2017-07-26 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4187#discussion_r129663181 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/KafkaCommitCallback.java

[GitHub] flink pull request #4187: [FLINK-6998][Kafka Connector] Add kafka offset com...

2017-07-26 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4187#discussion_r129663458 --- Diff: flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/KafkaCommitCallback.java

[GitHub] flink issue #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind and Co...

2017-07-26 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4397 I made the tests stable across Hadoop versions and addressed the comments/annotations/formatting. --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] flink pull request #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind...

2017-07-26 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4397#discussion_r129593298 --- Diff: flink-core/src/main/java/org/apache/flink/core/fs/FileSystemKind.java --- @@ -0,0 +1,111 @@ +/* + * Licensed to the Apache Software

[GitHub] flink pull request #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind...

2017-07-26 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4397#discussion_r129592880 --- Diff: flink-core/src/main/java/org/apache/flink/core/fs/ConsistencyLevel.java --- @@ -0,0 +1,116 @@ +/* + * Licensed to the Apache Software

[GitHub] flink pull request #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind...

2017-07-26 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4397#discussion_r129592169 --- Diff: flink-core/src/main/java/org/apache/flink/core/fs/ConsistencyLevel.java --- @@ -0,0 +1,116 @@ +/* + * Licensed to the Apache Software

[GitHub] flink pull request #4395: [FLINK-7263] Improve Pull Request template

2017-07-26 Thread StephanEwen
Github user StephanEwen closed the pull request at: https://github.com/apache/flink/pull/4395 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] flink issue #4395: [FLINK-7263] Improve Pull Request template

2017-07-26 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/4395 Thanks for the review @greghogan , will fix these. Given the agreement in the mailing list discussion to try it out, I would like to go ahead and merge this. We should make continuous

[GitHub] flink pull request #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind...

2017-07-26 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/4397#discussion_r129525270 --- Diff: flink-core/src/main/java/org/apache/flink/core/fs/ConsistencyLevel.java --- @@ -0,0 +1,116 @@ +/* + * Licensed to the Apache Software

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