[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84035347 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -424,13 +481,17 @@ public String toString

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84027778 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobClient.java --- @@ -725,7 +755,21 @@ else if (response != RETURN_OKAY

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84033606 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -57,24 +61,37 @@ // constructor in order to

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84041460 --- Diff: flink-yarn/src/main/java/org/apache/flink/yarn/cli/FlinkYarnSessionCli.java --- @@ -108,6 +111,11 @@ private final Options ALL_OPTIONS

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84035425 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -492,19 +553,22 @@ public void readFrom(ByteBuf buffer

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84039884 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/blob/BlobServerGetTest.java --- @@ -18,6 +18,7 @@ package

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84029858 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/execution/librarycache/BlobLibraryCacheManager.java --- @@ -199,6 +199,11 @@ public int

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84035178 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -369,21 +423,24 @@ void readFrom(ByteBuf buffer) throws

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84033402 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -57,24 +61,37 @@ // constructor in order to

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84034881 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -369,21 +423,24 @@ void readFrom(ByteBuf buffer) throws

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84029158 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobUtils.java --- @@ -393,6 +399,24 @@ static void copyFromRecoveryPath(String recoveryPath

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84035615 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -527,13 +591,17 @@ void readFrom(ByteBuf buffer) throws

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84034660 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -226,8 +277,9 @@ ByteBuf write(ByteBufAllocator

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84036664 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/PartitionRequestProtocol.java --- @@ -30,16 +30,29 @@ private

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84026759 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobCache.java --- @@ -272,4 +284,8 @@ private void closeSilently(Closeable closeable

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84028789 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobServerProtocol.java --- @@ -53,6 +53,9 @@ /** Internal code to identify a

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84032194 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -57,24 +61,37 @@ // constructor in order to

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84035467 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -492,19 +553,22 @@ public void readFrom(ByteBuf buffer

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84041338 --- Diff: flink-yarn/src/main/java/org/apache/flink/yarn/cli/FlinkYarnSessionCli.java --- @@ -108,6 +111,11 @@ private final Options ALL_OPTIONS

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84039282 --- Diff: flink-runtime/src/main/scala/org/apache/flink/runtime/jobmanager/JobManager.scala --- @@ -1008,6 +1008,9 @@ class JobManager( case

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84020724 --- Diff: docs/setup/cli.md --- @@ -217,6 +217,8 @@ Action "run" compiles and runs

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-19 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r84030548 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyConfig.java --- @@ -91,6 +94,14 @@ public NettyConfig

[GitHub] flink issue #2618: Refactoring the Continuous File Monitoring Function.

2016-10-19 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2618 Could you please elaborate on the changes you made to the `ContinuousFileReaderOperator`? --- 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 #2660: [FLINK-4833] properly log exceptions in CountMinHe...

2016-10-19 Thread mxm
GitHub user mxm opened a pull request: https://github.com/apache/flink/pull/2660 [FLINK-4833] properly log exceptions in CountMinHeavyHitter This logs the underlying exception properly which could help us to find the exact cause of the reported problems. You can merge this pull

[GitHub] flink issue #2659: [FLINK-4857] Remove throws clause from ZooKeeperUtils fun...

2016-10-19 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2659 +1 LGTM --- 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 #2662: [FLINK-4824] [client] CliFrontend shows misleading error ...

2016-10-20 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2662 Thanks for the PR @greghogan! Having a custom exception for missing arguments to a user program is a good approach. However, it requires the author of the program to use the custom exception. At least

[GitHub] flink pull request #2667: README.md - Description of the bluemix specif…

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2667#discussion_r84241679 --- Diff: flink-contrib/docker-flink/docker-entrypoint.sh --- @@ -20,11 +20,19 @@ if [ "$1" = "jobmanager" ]; then echo &

[GitHub] flink pull request #2667: README.md - Description of the bluemix specif…

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2667#discussion_r84242416 --- Diff: flink-contrib/docker-flink/docker-compose.yml --- @@ -20,16 +20,20 @@ version: "2" services: jobmanager: im

[GitHub] flink pull request #2667: README.md - Description of the bluemix specif…

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2667#discussion_r84242735 --- Diff: flink-contrib/docker-flink/docker-compose.sh --- @@ -0,0 +1,4 @@ +#!/bin/sh --- End diff -- Could we name this file `bluemix-docker

[GitHub] flink issue #2657: [FLINK-4853] [rm] Harden job manager registration at the ...

2016-10-20 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2657 This doesn't compile currently. Do you prefer if I review the PRs individually or review the commits in this PR? --- If your project is set up for it, you can reply to this email and have your

[GitHub] flink issue #2618: Refactoring the Continuous File Monitoring Function.

2016-10-20 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2618 Thanks for updating the description. Let take a look at the changes. --- 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 pull request #2667: README.md - Description of the bluemix specif…

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2667#discussion_r84242539 --- Diff: flink-contrib/docker-flink/docker-compose.yml --- @@ -20,16 +20,20 @@ version: "2" services: jobmanager: im

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84285533 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/RichFileInputSplit.java --- @@ -0,0 +1,153

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84288480 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/RichFileInputSplit.java --- @@ -0,0 +1,153

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84280372 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/ContinuousFileReaderOperator.java --- @@ -199,44 +196,39 @@ public

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84285924 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/RichFileInputSplit.java --- @@ -0,0 +1,153

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84288567 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/RichFileInputSplit.java --- @@ -0,0 +1,153

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84288776 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/RichFileInputSplit.java --- @@ -0,0 +1,153

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84284953 --- Diff: flink-tests/src/test/java/org/apache/flink/test/checkpointing/RichFileInputSplitTest.java --- @@ -0,0 +1,106 @@ +/* + * Licensed to the Apache

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84281147 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/RichFileInputSplit.java --- @@ -0,0 +1,153

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84279968 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/ContinuousFileReaderOperator.java --- @@ -189,7 +186,7 @@ public

[GitHub] flink pull request #2667: README.md - Description of the bluemix specif…

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2667#discussion_r84290827 --- Diff: flink-contrib/docker-flink/docker-compose.yml --- @@ -20,16 +20,20 @@ version: "2" services: jobmanager: im

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84288975 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/ContinuousFileReaderOperator.java --- @@ -347,34 +328,17 @@ public

[GitHub] flink pull request #2618: Refactoring the Continuous File Monitoring Functio...

2016-10-20 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2618#discussion_r84276796 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/ContinuousFileReaderOperator.java --- @@ -43,16 +41,18

[GitHub] flink pull request #2662: [FLINK-4824] [client] CliFrontend shows misleading...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2662#discussion_r84448442 --- Diff: flink-clients/src/main/java/org/apache/flink/client/program/ProgramParametrizationException.java --- @@ -0,0 +1,46 @@ +/* + * Licensed to the

[GitHub] flink pull request #2662: [FLINK-4824] [client] CliFrontend shows misleading...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2662#discussion_r84448541 --- Diff: flink-clients/src/main/java/org/apache/flink/client/CliFrontend.java --- @@ -975,6 +981,32 @@ private int handleArgException(Exception e

[GitHub] flink pull request #2671: [FLINK-4862] fix Timer register in ContinuousEvent...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2671#discussion_r84464167 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/windowing/triggers/ContinuousEventTimeTrigger.java --- @@ -88,9 +96,13 @@ public

[GitHub] flink pull request #2671: [FLINK-4862] fix Timer register in ContinuousEvent...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2671#discussion_r84464275 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/windowing/triggers/ContinuousEventTimeTrigger.java --- @@ -45,6 +45,12

[GitHub] flink pull request #2671: [FLINK-4862] fix Timer register in ContinuousEvent...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2671#discussion_r84465211 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/windowing/triggers/ContinuousEventTimeTrigger.java --- @@ -88,9 +96,13 @@ public

[GitHub] flink pull request #2667: README.md - Description of the bluemix specif…

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2667#discussion_r84467266 --- Diff: flink-contrib/docker-flink/bluemix-docker-compose.sh --- @@ -0,0 +1,4 @@ +#!/bin/sh --- End diff -- Adding a license file here

[GitHub] flink pull request #2671: [FLINK-4862] fix Timer register in ContinuousEvent...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2671#discussion_r84465826 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/windowing/triggers/ContinuousEventTimeTrigger.java --- @@ -88,9 +96,13 @@ public

[GitHub] flink issue #2667: README.md - Description of the bluemix specif…

2016-10-21 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2667 Thank you for your contribution! --- 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 #2671: [FLINK-4862] fix Timer register in ContinuousEvent...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2671#discussion_r84463868 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/windowing/triggers/ContinuousEventTimeTrigger.java --- @@ -99,8 +111,12 @@ public

[GitHub] flink pull request #2657: [FLINK-4853] [rm] Harden job manager registration ...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2657#discussion_r84502118 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java --- @@ -471,6 +498,149 @@ public void shutDownCluster(final

[GitHub] flink pull request #2657: [FLINK-4853] [rm] Harden job manager registration ...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2657#discussion_r84501555 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java --- @@ -471,6 +498,149 @@ public void shutDownCluster(final

[GitHub] flink pull request #2657: [FLINK-4853] [rm] Harden job manager registration ...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2657#discussion_r84500666 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java --- @@ -202,101 +205,125 @@ public void shutDown() throws

[GitHub] flink pull request #2657: [FLINK-4853] [rm] Harden job manager registration ...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2657#discussion_r84500271 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java --- @@ -202,101 +205,125 @@ public void shutDown() throws

[GitHub] flink issue #2651: [FLINK-4847] Let RpcEndpoint.start/shutDown throw excepti...

2016-10-21 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2651 LGTM --- 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 pull request #2657: [FLINK-4853] [rm] Harden job manager registration ...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2657#discussion_r84500048 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java --- @@ -202,101 +205,125 @@ public void shutDown() throws

[GitHub] flink pull request #2657: [FLINK-4853] [rm] Harden job manager registration ...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2657#discussion_r84501742 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java --- @@ -471,6 +498,149 @@ public void shutDownCluster(final

[GitHub] flink pull request #2657: [FLINK-4853] [rm] Harden job manager registration ...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2657#discussion_r84501182 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java --- @@ -202,101 +205,125 @@ public void shutDown() throws

[GitHub] flink pull request #2655: [FLINK-4851] [rm] Introduce FatalErrorHandler and ...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2655#discussion_r84507291 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/util/TestingFatalErrorHandler.java --- @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache

[GitHub] flink pull request #2655: [FLINK-4851] [rm] Introduce FatalErrorHandler and ...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2655#discussion_r84506385 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/ResourceManagerJobMasterTest.java --- @@ -145,6 +171,10 @@ public void

[GitHub] flink pull request #2669: [FLINK-4871] [mini cluster] Add memory calculation...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2669#discussion_r84509754 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniClusterConfiguration.java --- @@ -96,11 +101,20 @@ public void

[GitHub] flink pull request #2669: [FLINK-4871] [mini cluster] Add memory calculation...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2669#discussion_r84508885 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniClusterConfiguration.java --- @@ -162,4 +180,63 @@ public String toString

[GitHub] flink pull request #2669: [FLINK-4871] [mini cluster] Add memory calculation...

2016-10-21 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2669#discussion_r84509867 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniClusterConfiguration.java --- @@ -96,11 +101,20 @@ public void

[GitHub] flink issue #2671: [FLINK-4862] fix Timer register in ContinuousEventTimeTri...

2016-10-24 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2671 Thanks for having a look @aljoscha. Thanks again for the PR @manuzhang. Merging. --- 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 #2671: [FLINK-4862] fix Timer register in ContinuousEvent...

2016-10-24 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2671#discussion_r84689568 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/windowing/triggers/ContinuousEventTimeTrigger.java --- @@ -99,8 +111,12 @@ public

[GitHub] flink pull request #2657: [FLINK-4853] [rm] Harden job manager registration ...

2016-10-24 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2657#discussion_r84689078 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java --- @@ -202,101 +205,125 @@ public void shutDown() throws

[GitHub] flink pull request #2692: [FLINK-4913][yarn] include user jar in system clas...

2016-10-25 Thread mxm
GitHub user mxm opened a pull request: https://github.com/apache/flink/pull/2692 [FLINK-4913][yarn] include user jar in system class loader When deploying a Yarn cluster for a single job, this change pre-configures the cluster to include the user jar(s) on all nodes. This

[GitHub] flink issue #2425: FLINK-3930 Added shared secret based authorization for Fl...

2016-10-26 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2425 @vijikarthi I haven't forgotten about your PR. Thanks for the feedback. I'll get back to you today. --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] flink issue #2692: [FLINK-4913][yarn] include user jar in system class loade...

2016-10-26 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2692 Thanks for checking out the changes. Yes, it is handled correctly. Indeed, I started off just thinking about the user-provided jar but then discovered that the `PackagedProgram` extracts nested

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-10-26 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r85175840 --- Diff: flink-yarn/src/main/java/org/apache/flink/yarn/cli/FlinkYarnSessionCli.java --- @@ -108,6 +111,11 @@ private final Options ALL_OPTIONS

[GitHub] flink issue #2425: FLINK-3930 Added shared secret based authorization for Fl...

2016-10-27 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2425 CC @uce to check out the network layer changes. This is a very sensitive and performance critical part of Flink. We should be very sure nothing breaks it with the changes. @vijikarthi Please

[GitHub] flink issue #2618: [FLINK-4800] Refactor the ContinuousFileMonitoringFunctio...

2016-10-27 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2618 Looks good @kl0u. Could you push the rebased version? --- 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 #2692: [FLINK-4913][yarn] include user jar in system class loade...

2016-10-27 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2692 Pushed a minor change to check which jars are required in case the cluster is used to execute multiple jobs with different dependencies. Merigng after a local Travis run. --- If your project is set up

[GitHub] flink issue #2618: [FLINK-4800] Refactor the ContinuousFileMonitoringFunctio...

2016-10-27 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2618 Merged. Thank you! --- 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

[GitHub] flink issue #2718: [hotfix] Fixes the TimestampedInputSplit.EOS comparison.

2016-10-28 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2718 I think we should get rid of the magic `EOF` split. We should simply set a flag in the reader to stop reading. Until then, this looks like a good fix. --- If your project is set up for it, you can

[GitHub] flink pull request #2718: [hotfix] Fixes the TimestampedInputSplit.EOS compa...

2016-10-28 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2718#discussion_r85523016 --- Diff: flink-tests/src/test/java/org/apache/flink/test/checkpointing/TimestampedFileInputSplitTest.java --- @@ -90,4 +112,60 @@ public void

[GitHub] flink pull request #2732: [FLINK-4272] Create a JobClient for job control an...

2016-10-31 Thread mxm
GitHub user mxm opened a pull request: https://github.com/apache/flink/pull/2732 [FLINK-4272] Create a JobClient for job control and monitoring Also includes: [FLINK-4274] Expose new JobClient in the DataSet/DataStream API - rename JobClient class to JobClientActorUtils

[GitHub] flink issue #2732: [FLINK-4272] Create a JobClient for job control and monit...

2016-11-01 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2732 Rebased to the latest changes on the master. --- 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 #2732: [FLINK-4272] Create a JobClient for job control and monit...

2016-11-01 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2732 CC @rmetzger @aljoscha Could you take a look at the changes? --- 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 #2734: Keytab & TLS support for Flink on Mesos Setup

2016-11-02 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2734 Thanks for your PR @vijikarthi! I'll try to check it out as soon as possible. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] flink pull request #2741: [FLINK-4998][yarn] fail if too many task slots are...

2016-11-02 Thread mxm
GitHub user mxm opened a pull request: https://github.com/apache/flink/pull/2741 [FLINK-4998][yarn] fail if too many task slots are configured This fails the deployment of the Yarn application if the number of task slots are configured to be larger than the maximum virtual cores

[GitHub] flink issue #2741: [FLINK-4998][yarn] fail if too many task slots are config...

2016-11-02 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2741 Added a test case to verify the error reporting. --- 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 #2745: [yarn] fix debug string displayed for failed appli...

2016-11-03 Thread mxm
GitHub user mxm opened a pull request: https://github.com/apache/flink/pull/2745 [yarn] fix debug string displayed for failed applications Merging for `master` and `release-1.1`. You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-11-03 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r86323404 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobServerConnection.java --- @@ -101,6 +102,14 @@ public void run

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-11-03 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r86321008 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -64,26 +64,25 @@ static final String

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-11-03 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r86322286 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -120,6 +136,15 @@ static LengthFieldBasedFrameDecoder

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-11-03 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r86321320 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -64,26 +64,25 @@ static final String

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-11-03 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r86324769 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java --- @@ -54,24 +58,36 @@ // constructor in order to

[GitHub] flink pull request #2425: FLINK-3930 Added shared secret based authorization...

2016-11-03 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2425#discussion_r86340045 --- Diff: flink-yarn/src/main/java/org/apache/flink/yarn/cli/FlinkYarnSessionCli.java --- @@ -788,75 +719,125 @@ private void logAndSysout(String message

[GitHub] flink pull request #2749: [FLINK-3813][yarn] wait for CLI to complete before...

2016-11-03 Thread mxm
GitHub user mxm opened a pull request: https://github.com/apache/flink/pull/2749 [FLINK-3813][yarn] wait for CLI to complete before checking output You can merge this pull request into a Git repository by running: $ git pull https://github.com/mxm/flink FLINK-3813

[GitHub] flink issue #2425: FLINK-3930 Added shared secret based authorization for Fl...

2016-11-04 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2425 Thank you for the changes. I wonder, could we remove the cookie header completely for Netty or the BlobServer in case the authorization is turned off? The Netty protocol has a `MAGIC_NUMBER` which is

[GitHub] flink pull request #2708: [FLINK-4946] [scripts] Load jar files from subdire...

2016-11-04 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2708#discussion_r86545553 --- Diff: flink-dist/src/main/flink-bin/yarn-bin/yarn-session.sh --- @@ -35,14 +33,15 @@ JVM_ARGS="$JVM_ARGS -Xmx512m" # Flink

[GitHub] flink issue #2703: [FLINK-4900] flink-master: Allow to deploy TM with contai...

2016-11-04 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2703 Thanks for the PR! Jenkins CI is currently broken but Travis CI passed. Looks good to me but would be great if you could take a look @EronWright. --- If your project is set up for it, you can reply to

[GitHub] flink issue #2708: [FLINK-4946] [scripts] Load jar files from subdirectories...

2016-11-08 Thread mxm
Github user mxm commented on the issue: https://github.com/apache/flink/pull/2708 @greghogan It would be helpful to look at the Yarn container files which include the container environment variables. This would help us to figure out why the recursive `**` is not working. Another

[GitHub] flink pull request #3086: Improve docker setup

2017-01-10 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/3086#discussion_r95410892 --- Diff: flink-contrib/docker-flink/Dockerfile --- @@ -22,9 +22,9 @@ FROM java:8-jre-alpine RUN apk add --no-cache bash snappy # Configure Flink

[GitHub] flink pull request #3086: Improve docker setup

2017-01-10 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/3086#discussion_r95411497 --- Diff: flink-contrib/docker-flink/docker-entrypoint.sh --- @@ -36,9 +39,9 @@ elif [ "$1" == "taskmanager" ]; then echo &q

[GitHub] flink pull request #3086: Improve docker setup

2017-01-10 Thread mxm
Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/3086#discussion_r95411011 --- Diff: flink-contrib/docker-flink/docker-entrypoint.sh --- @@ -28,6 +28,9 @@ if [ "$1" == "jobmanager" ]; then echo &qu

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