Posted by
zentol on
Jun 15, 2014; 6:35pm
URL: http://deprecated-apache-flink-mailing-list-archive.368.s1.nabble.com/GitHub-incubator-flink-pull-request-FLINK-930-Netty-Initialization-is-tp254.html
GitHub user uce opened a pull request:
https://github.com/apache/incubator-flink/pull/19 [FLINK-930] Netty Initialization is sometimes very slow
This is [FLINK-930](
https://issues.apache.org/jira/browse/FLINK-930).
The issue with the Netty warning was reported in netty/netty#2412 and has been fixed in `4.0.19.Final`. I couldn't reproduce the reported problem (with and without the changes in this PR).
This PR contains the following changes:
1. Update Netty version from `4.0.19.Final` to `4.0.20.Final` and
2. Introduce `ExecutionMode` for TaskManagers, where in `LOCAL` mode the `NetworkConnectionManager` is not started (e.g. no ServerSocket binding etc.)
The 2. change speeds up the startup and shutdown time of the TaskManagers noticeably and solves/circumvents the reported problem with each test taking ~ 3 seconds for startup/shutdown.
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/uce/incubator-flink FLINK-930
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-flink/pull/19.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #19
----
commit a0d3530aa137290bf2d690339bf028f272c12129
Author: uce <
[hidden email]>
Date: 2014-06-13T08:41:32Z
[FLINK-930] Netty Initialization is sometimes very slow
----
---
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 is enabled but not working, please
contact infrastructure at
[hidden email] or file a JIRA ticket
with INFRA.
---