[GitHub] flink issue #3474: [FLINK-4714] [runtime] [streaming] Set task state to RUNN...

2017-03-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3474 Yes, the `setEnvironment()` method will not be needed any more. --- 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

[GitHub] flink issue #3474: [FLINK-4714] [runtime] [streaming] Set task state to RUNN...

2017-03-06 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3474 I would suggest to do the change differently. Right now, all the task logic is pretty complex as it is, and this makes it even more complex. My suggestion would be to 1. Change the

[GitHub] flink issue #3437: [FLINK-5934] Set the Scheduler in the ExecutionGraph via ...

2017-03-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3437 +1 --- 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

[GitHub] flink issue #3440: [backport-1.2] [FLINK-5934] Set the Scheduler in the Exec...

2017-03-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3440 +1 --- 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

[GitHub] flink issue #3441: [backport-1.1] [FLINK-5934] Set the Scheduler in the Exec...

2017-03-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3441 +1 --- 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

[GitHub] flink issue #3439: [backport-1.2] [FLINK-5938] Replace ExecutionContext by E...

2017-03-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3439 +1 --- 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

[GitHub] flink issue #3435: [FLINK-5938] Replace ExecutionContext by Executor in Sche...

2017-03-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3435 Good change, +1 --- 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

[GitHub] flink issue #3356: [FLINK-5253] Remove special treatment of "dynamic propert...

2017-03-01 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3356 I agree, the CLI should accept dynamic options that are logically added to the configuration. But we still do not need the extra dynamic properties mechanism when setting up the TaskManager and

[GitHub] flink issue #3424: [FLINK-5928] [checkpoints] Use custom metadata file for e...

2017-02-28 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3424 Looks good, merging this... --- 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

[GitHub] flink pull request #3420: [FLINK-4422] Convert all time interval measurement...

2017-02-28 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3420#discussion_r103481458 --- Diff: flink-connectors/flink-connector-kafka-0.8/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/KillerWatchDog.java

[GitHub] flink pull request #3420: [FLINK-4422] Convert all time interval measurement...

2017-02-28 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3420#discussion_r103481121 --- Diff: flink-connectors/flink-connector-kafka-0.8/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/ClosableBlockingQueue.java

[GitHub] flink issue #3411: [FLINK-5897] & [FLINK-5822] First step towards Generic St...

2017-02-28 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3411 Thanks for the review, @uce - addressing the comments and merging this... --- 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

[GitHub] flink issue #3303: [FLINK-5133][core] Support to set resource for operator i...

2017-02-27 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3303 I have merged this to my local repository. There were some issues left, partly in the commented out code. In particular `checkNotNull(variable !=null) does not work, because

[GitHub] flink issue #3385: [FLINK-5501] JM use running job registry to determine whe...

2017-02-27 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3385 One test case seemed to be failing in this PR: I have merged the PR to my local repository, fixed the test, and added some fixes/cleanups on top. Will merge back to Flink master tomorrow

[GitHub] flink issue #3424: [FLINK-5928] [checkpoints] Use custom metadata file for e...

2017-02-27 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3424 Thanks, good and critical fix! Looking at this... --- 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 #3391: [FLINK-5758] [yarn] support port range for web monitor

2017-02-27 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3391 @barcahead Thansk for contributing this. I can try and get to this later this week. Big pull request backlog right now ;-) --- If your project is set up for it, you can reply to this email

[GitHub] flink issue #3385: [FLINK-5501] JM use running job registry to determine whe...

2017-02-27 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3385 Thanks! I think I can take this over now... --- 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

[GitHub] flink pull request #3340: [FLINK-5703][runtime] ExecutionGraph recovery via ...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3340#discussion_r102993824 --- Diff: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java --- @@ -110,7 +110,13 @@ public static final String

[GitHub] flink pull request #3340: [FLINK-5703][runtime] ExecutionGraph recovery via ...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3340#discussion_r102995512 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionVertexCancelTest.java --- @@ -440,6 +440,72 @@ public void

[GitHub] flink issue #3340: [FLINK-5703][runtime] ExecutionGraph recovery via reconci...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3340 There is a lot of good code in this PR. What I would suggest to make different is to NOT make `Execution`, `IntermediateResult` partition, etc mutable. There is a big benefit to having

[GitHub] flink pull request #3385: [FLINK-5501] JM use running job registry to determ...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3385#discussion_r102993092 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/ZookeeperRegistry.java --- @@ -55,7 +59,7 @@ public void setJobRunning

[GitHub] flink issue #3385: [FLINK-5501] JM use running job registry to determine whe...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3385 With the problem observed above, I think we should change the approach a bit: - The registry should have an enum that it returns: `getJobSchedulingStatus` or so, which can be `PENDING

[GitHub] flink issue #3385: [FLINK-5501] JM use running job registry to determine whe...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3385 One issue I think can happen in practice is that the checks "isRunning" and "isFinished" are not atomic. Imagine this scenario: - job is running - JobManage

[GitHub] flink issue #3385: [FLINK-5501] JM use running job registry to determine whe...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3385 I would like to merge this and make a few edits on top... --- 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 #3385: [FLINK-5501] JM use running job registry to determine whe...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3385 PR looks like a good start, but I think we need to add a few things on top: - The file-based registry cannot distinguish between "job created but not running" and "job

[GitHub] flink issue #3303: [FLINK-5133][core] Support to set resource for operator i...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3303 One thought that @tillrohrmann and me had: It is probably okay to comment out or remove the **setters** and keep the **getters**. That should help in keeping the internal code. --- If your

[GitHub] flink pull request #3303: [FLINK-5133][core] Support to set resource for ope...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3303#discussion_r102942657 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/operators/Operator.java --- @@ -45,6 +45,10 @@ private int

[GitHub] flink pull request #3303: [FLINK-5133][core] Support to set resource for ope...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3303#discussion_r102946206 --- Diff: flink-streaming-scala/src/main/scala/org/apache/flink/streaming/api/scala/DataStream.scala --- @@ -144,6 +145,43 @@ class DataStream[T

[GitHub] flink pull request #3303: [FLINK-5133][core] Support to set resource for ope...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3303#discussion_r102946762 --- Diff: flink-scala/src/main/scala/org/apache/flink/api/scala/DataSet.scala --- @@ -178,6 +178,60 @@ class DataSet[T: ClassTag](set: JavaDataSet[T

[GitHub] flink pull request #3303: [FLINK-5133][core] Support to set resource for ope...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3303#discussion_r102946397 --- Diff: flink-scala/src/main/scala/org/apache/flink/api/scala/DataSet.scala --- @@ -178,6 +178,60 @@ class DataSet[T: ClassTag](set: JavaDataSet[T

[GitHub] flink pull request #3303: [FLINK-5133][core] Support to set resource for ope...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3303#discussion_r102945697 --- Diff: flink-streaming-scala/src/main/scala/org/apache/flink/streaming/api/scala/DataStream.scala --- @@ -144,6 +145,43 @@ class DataStream[T

[GitHub] flink pull request #3303: [FLINK-5133][core] Support to set resource for ope...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3303#discussion_r102945079 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/transformations/StreamTransformation.java --- @@ -126,6 +127,18 @@ public

[GitHub] flink pull request #3303: [FLINK-5133][core] Support to set resource for ope...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3303#discussion_r102942856 --- Diff: flink-java/src/main/java/org/apache/flink/api/java/operators/DataSink.java --- @@ -278,4 +283,60 @@ public int getParallelism

[GitHub] flink issue #3303: [FLINK-5133][core] Support to set resource for operator i...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3303 A more general question on the resource matching: If I understand it correctly, then the resource manager will try to get the "max" resources for an operator, but potentially go down t

[GitHub] flink issue #3303: [FLINK-5133][core] Support to set resource for operator i...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3303 The code here looks very good, with a few minor comments. The main problem is as you mentioned: We are adding something to the API that is not yet supported by the runtime. We have done

[GitHub] flink issue #3402: [FLINK-5890] [gelly] GatherSumApply broken when object re...

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3402 Fix looks good. Is this tested implicitly by some other test already? --- 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

[GitHub] flink issue #3403: [FLINK-5896][docs] improve readability of event time docs

2017-02-24 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3403 Looks good, +1 to merge this --- 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

[GitHub] flink pull request #3411: [FLINK-5897] & [FLINK-5822] First step towards Gen...

2017-02-24 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/3411 [FLINK-5897] & [FLINK-5822] First step towards Generic State Backends and Global State Cleanup Hooks **This is the first part of a larger parent issue: Self-contained external

[GitHub] flink pull request #:

2017-02-23 Thread StephanEwen
Github user StephanEwen commented on the pull request: https://github.com/apache/flink/commit/30c9e2b683bf7f4776ffc23b6a860946a4429ae5#commitcomment-21018833 Great to have this in! I would suggest to mention in the JavaDocs of `MapState.size()` that this can be a potentially

[GitHub] flink issue #3368: [FLINK-5854] [core] Add base Flink Exception classes

2017-02-23 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3368 Thanks for the comments. Will address the issues and remove the "no message, no cause" constructors. We should not encourage exceptions without information. --- If your project is

[GitHub] flink issue #3373: [FLINK-5692] [config] Add an Option to Deactivate Kryo Fa...

2017-02-23 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3373 If you can remove the comment, that would be great. Otherwise we can merge this... --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well

[GitHub] flink pull request #3373: [FLINK-5692] [config] Add an Option to Deactivate ...

2017-02-23 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3373#discussion_r102753321 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java --- @@ -109,6 +109,8 @@ private boolean forceKryo

[GitHub] flink issue #3374: [FLINK-4754] [checkpoints] Make number of retained checkp...

2017-02-23 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3374 I think having it only in the configuration is probably fine. I think we do not need both paths here. Illegal values are probably checked when creating the recovery factory. It would

[GitHub] flink issue #3392: [FLINK-5883] Re-adding the Exception-thrown code for List...

2017-02-23 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3392 Looks correct, +1 to merge this --- 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

[GitHub] flink issue #3310: [FLINK-5798] [rpc] Let the RpcService provide a Scheduled...

2017-02-23 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3310 Looks very good to me! +1 to merge this... --- 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

[GitHub] flink issue #3400: [FLINK-5885] [docs] Fix Cassandra Scala snippet

2017-02-23 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3400 Good catch, thanks! Merging this... --- 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

[GitHub] flink pull request #:

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on the pull request: https://github.com/apache/flink/commit/646490c4e93eca315e4bf41704f149390f8639cc#commitcomment-21003603 Should we make `flushOnCheckpoint` true by default? --- If your project is set up for it, you can reply to this email and

[GitHub] flink issue #3384: [FLINK-4422] Convert all time interval measurements to Sy...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3384 Looks good, +1 to merge Optional comment: I have seen that developers get confused when working with the code whether a `long` refers to a "millisecond" timestamp or to a &

[GitHub] flink pull request #3346: [FLINK-5763] [checkpoints] Add CheckpointOptions f...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3346#discussion_r102472651 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java --- @@ -296,15 +298,42 @@ public boolean

[GitHub] flink issue #3346: [FLINK-5763] [checkpoints] Add CheckpointOptions for self...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3346 This is a prerequisite for https://issues.apache.org/jira/browse/FLINK-5820 Reviewing this now... --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] flink issue #3345: [FLINK-5763] [checkpoints] Minor meta data refactorings

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3345 Very good change! Looked through it, nothing to complain about ;-) Merging this... --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] flink issue #3360: [FLINK-5830][Distributed Coordination] Handle OutOfMemory...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3360 Looking at this from another angle: If any Runnable that is scheduled ever lets an exception bubble out, can we still assume that the JobManager is in a sane state? Or should be actually make

[GitHub] flink issue #3368: [FLINK-5854] [core] Add base Flink Exception classes

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3368 Any reservations against merging this after addressing the comments above? --- 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

[GitHub] flink pull request #3368: [FLINK-5854] [core] Add base Flink Exception class...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3368#discussion_r102431100 --- Diff: flink-core/src/main/java/org/apache/flink/util/DynamicCodeLoadingException.java --- @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache

[GitHub] flink pull request #3368: [FLINK-5854] [core] Add base Flink Exception class...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3368#discussion_r102430926 --- Diff: flink-core/src/main/java/org/apache/flink/util/DynamicCodeLoadingException.java --- @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache

[GitHub] flink pull request #3373: [FLINK-5692] [config] Add an Option to Deactivate ...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3373#discussion_r102429969 --- Diff: flink-core/src/test/java/org/apache/flink/api/common/ExecutionConfigTest.java --- @@ -64,4 +68,15 @@ public void

[GitHub] flink issue #3380: [FLINK-5865][state] Throw original exception in the state...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3380 I think it is a good idea to avoid exception wrapping where ever possible, so +1 to that. I was wondering if we can improve exception handling even further for the state abstraction

[GitHub] flink pull request #3384: [FLINK-4422] Convert all time interval measurement...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3384#discussion_r102428106 --- Diff: flink-clients/src/test/java/org/apache/flink/client/program/ClientConnectionTest.java --- @@ -115,13 +115,13 @@ public void run

[GitHub] flink issue #3190: [FLINK-5546][build] java.io.tmpdir setted as project buil...

2017-02-22 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3190 Hi! `mvn test` works from the command line. IntelliJ right-click on a test and run does often not work, it only works if a console build was done before and the `.../target/tmp

[GitHub] flink issue #3374: [FLINK-4754] [checkpoints] Make number of retained checkp...

2017-02-21 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3374 Hi @tony810430 thank you for the pull request! The code looks good. My feeling is, though, that the number of checkpoints to retain is something that we want rather in the

[GitHub] flink pull request #3328: [FLINK-5812] [core] Cleanups in the FileSystem cla...

2017-02-21 Thread StephanEwen
Github user StephanEwen closed the pull request at: https://github.com/apache/flink/pull/3328 --- 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 #3328: [FLINK-5812] [core] Cleanups in the FileSystem class

2017-02-21 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3328 Yes, it was accidentally merged together with another PR. Since the changes were mostly comments and annotations, it should not be a problem. Closing... --- If your project is set

[GitHub] flink issue #3190: [FLINK-5546][build] java.io.tmpdir setted as project buil...

2017-02-21 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3190 @shijinkui This still has the problem that tests don't run any more from within the IDE. That is a big problem for developers. As an alternative, we can always fix the tests that d

[GitHub] flink issue #3368: [FLINK-5854] [core] Add base Flink Exception classes

2017-02-20 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3368 It is arguable whether exceptions should ever have a constructor without a message, I simply did that here for convenience. I have no strong feelings about removing the zero argument

[GitHub] flink issue #3368: [FLINK-5854] [core] Add base Flink Exception classes

2017-02-20 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3368 @zentol There are many places in the runtime that declare `throws Exception`, for example virtually all of the state handling code. This always came from the desire to throw `IOException` plus

[GitHub] flink issue #2903: [FLINK-5074] [runtime] add a zookeeper based running job ...

2017-02-20 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/2903 I think this looks good, thanks! Merging this... --- 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

[GitHub] flink pull request #3368: [FLINK-5854] [core] Add base Flink Exception class...

2017-02-20 Thread StephanEwen
GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/3368 [FLINK-5854] [core] Add base Flink Exception classes This pull request adds two exception base classes: `FlinkException` and `FlinkRuntimeException`. They are useful in improving the way

[GitHub] flink issue #3190: [FLINK-5546][build] java.io.tmpdir setted as project buil...

2017-02-20 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3190 @shijinkui The FileCacheDeleteValidationTest should still be fixed now. When I tested it, I combined the changed from FLINK-5817 and this pull request. --- If your project is set up for it, you

[GitHub] flink issue #3274: [FLINK-5723][UI]Use Used instead of Initial to make taskm...

2017-02-20 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3274 Looks good, merging this... --- 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

[GitHub] flink issue #3288: [FLINK-5749]unset HADOOP_HOME and HADOOP_CONF_DIR to avoi...

2017-02-20 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3288 Looks good, thank you! Merging this... --- 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

[GitHub] flink issue #3360: [FLINK-5830][Distributed Coordination] Handle OutOfMemory...

2017-02-20 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3360 I would suggest that we adopt the following pattern for all the places like the one in this pull request where we catch Throwables: ```java try { ... } catch (Throwable t

[GitHub] flink issue #3190: [FLINK-5546][build] java.io.tmpdir setted as project buil...

2017-02-19 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3190 Sorry, I have to actually step back on this one. I merged it into a feature branch and played around a bit with this, and it turns out it is not possible any more to execute tests from

[GitHub] flink issue #3335: [FLINK-5818][Security]change checkpoint dir permission to...

2017-02-19 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3335 @WangTaoTheTonic Am I right in assuming that your scenario assumes that multiple different users submit Flink jobs and these jobs cannot be "prepared" by a script that sets up a

[GitHub] flink pull request #3295: [FLINK-5747] [distributed coordination] Eager sche...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3295#discussion_r101829659 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraph.java --- @@ -754,6 +759,139 @@ public void

[GitHub] flink pull request #3295: [FLINK-5747] [distributed coordination] Eager sche...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3295#discussion_r101829019 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/concurrent/FutureUtils.java --- @@ -88,4 +100,104 @@ public RetryException(Throwable

[GitHub] flink pull request #3295: [FLINK-5747] [distributed coordination] Eager sche...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3295#discussion_r101827724 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/concurrent/FutureUtils.java --- @@ -88,4 +100,104 @@ public RetryException(Throwable

[GitHub] flink issue #3334: FLINK-4810 Checkpoint Coordinator should fail ExecutionGr...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3334 Thank you for opening this pull request. I'll try to review it in the coming days... --- If your project is set up for it, you can reply to this email and have your reply appear on GitH

[GitHub] flink issue #3323: [hotfix] [core] Add missing stability annotations for cla...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3323 Good cleanup, thanks a lot! Merging this... --- 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

[GitHub] flink issue #3322: [FLINK-4813][flink-test-utils] make the hadoop-minikdc de...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3322 The change looks good, thank you! Merging this... --- 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 #3309: [FLINK-5277] add unit tests for ResultPartition#add() in ...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3309 Good addition, thanks! Merging this... --- 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

[GitHub] flink issue #3292: [FLINK-5739] [client] fix NullPointerException in CliFron...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3292 Change looks good, thank you! Merging this... --- 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

[GitHub] flink issue #3249: [FLINK-3163] [scripts] Configure Flink for NUMA systems

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3249 Looks good. +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 have this feature

[GitHub] flink issue #3243: [FLINK-5024] [core] Refactor the interface of State and S...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3243 Subsumed by another pull request... --- 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

[GitHub] flink pull request #3243: [FLINK-5024] [core] Refactor the interface of Stat...

2017-02-17 Thread StephanEwen
Github user StephanEwen closed the pull request at: https://github.com/apache/flink/pull/3243 --- 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 #3231: [FLINK-5682] Fix scala version in flink-streaming-scala P...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3231 @billliuatuber Since the dependency management section in the root `pom.xml` defines the Scala version for all sub-modules, I think this change is not needed. If you agree, could you close

[GitHub] flink issue #3223: [FLINK-5669] Change DataStreamUtils to use the loopback a...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3223 This change looks good, thank you! Merging this... --- 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

[GitHub] flink issue #3211: [FLINK-5640][build]configure the explicit Unit Test file ...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3211 Change looks good, thanks! Merging this... --- 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

[GitHub] flink issue #3204: [FLINK-5634] Flink should not always redirect stdout to a...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3204 Does anyone want to take a stab at addressing this the https://issues.apache.org/jira/browse/FLINK-4326 way? I think no one is active on that issue right now... --- If your project is set up

[GitHub] flink issue #3190: [FLINK-5546][build] java.io.tmpdir setted as project buil...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3190 All right, I am convinced now that this is a helpful change. Merging this... --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as

[GitHub] flink issue #3341: [FLINK-5817]Fix test concurrent execution failure by test...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3341 Good change, thank you. merging this... --- 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

[GitHub] flink issue #3138: #Flink-5522 Storm Local Cluster can't work with powermock

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3138 I think that is a good fix, thank you! Merging this... --- 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

[GitHub] flink issue #3089: [FLINK-5497] remove duplicated tests

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3089 Thank you for fixing this! --- 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

[GitHub] flink issue #3089: [FLINK-5497] remove duplicated tests

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3089 Okay, I finally found the time to double check this. The changes are good, merging this... --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] flink issue #3085: [FLINK-5178] allow BlobCache to use a distributed file sy...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3085 I would personally prefer to not make that change at this point. Interpreting HA parameters in non-HA mode might come across as confusing to users. Also, the new way of instantiating

[GitHub] flink issue #3084: [FLINK-5129] make the BlobServer use a distributed file s...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3084 Good change, thanks! Merging this... --- 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

[GitHub] flink issue #3349: Updated DC/OS setup instructions.

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3349 Awesome to see that Flink is that easy to install in DC/OS... Merging this... --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as

[GitHub] flink issue #3342: TO FLINK-5828

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3342 Merging this... --- 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

[GitHub] flink pull request #3295: [FLINK-5747] [distributed coordination] Eager sche...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3295#discussion_r101754578 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/concurrent/FutureUtils.java --- @@ -88,4 +100,104 @@ public RetryException(Throwable

[GitHub] flink pull request #3295: [FLINK-5747] [distributed coordination] Eager sche...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3295#discussion_r101753992 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraph.java --- @@ -292,7 +305,8 @@ public ExecutionGraph

[GitHub] flink pull request #3295: [FLINK-5747] [distributed coordination] Eager sche...

2017-02-17 Thread StephanEwen
Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3295#discussion_r101753888 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraph.java --- @@ -754,6 +759,139 @@ public void

<    7   8   9   10   11   12   13   14   15   16   >