[jira] [Commented] (FLINK-930) Netty Initialization is sometimes very slow

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (FLINK-930) Netty Initialization is sometimes very slow

Shang Yuanchun (Jira)

    [ https://issues.apache.org/jira/browse/FLINK-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031994#comment-14031994 ]

ASF GitHub Bot commented on FLINK-930:
--------------------------------------

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.patch

To 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

----


> Netty Initialization is sometimes very slow
> -------------------------------------------
>
>                 Key: FLINK-930
>                 URL: https://issues.apache.org/jira/browse/FLINK-930
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Stephan Ewen
>            Assignee: Ufuk Celebi
>              Labels: performance
>
> I often see the initialization of Netty taking 3 seconds and then failing with the message
> "WARN  io.netty.util.internal.ThreadLocalRandom                      - Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy?"
> This adds to every single run a 3 seconds delay, which is often more than the test time and causes our builds to run out of time.



--
This message was sent by Atlassian JIRA
(v6.2#6252)