You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/29 16:42:04 UTC

[jira] [Commented] (FLINK-2781) Consolidate NetUtils

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

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

GitHub user StephanEwen opened a pull request:

    https://github.com/apache/flink/pull/1190

    [FLINK-2781] [core] Cleanup NetUtils.

    We currently have two classes called `NetUtils` with different networking related helpers. In some cases you need both classes, which results in quite some clumsiness.
    
    This pull request changes it in the following way:
      - The `org.apache.flink.util.NetUtils` class (in `flink-core`) contains all methods usable without runtime dependencies.
      - The runtime NetUtils class (`org.apache.flink.runtime.net.NetUtils`, to find connecting addresses) is now called `ConnectionUtils`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/StephanEwen/incubator-flink netutil

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1190.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 #1190
    
----
commit cc0ee16363c38990e04091725b53cf7b0565a0d2
Author: Stephan Ewen <se...@apache.org>
Date:   2015-09-29T14:36:04Z

    [FLINK-2781] [core] Cleanup NetUtils.
    
      - The NetUtils class (in flink-core) contains all methods usable without runtime dependency
      - The runtime NetUtils class (to find connectiong addresses) is now called ConnectionUtil.

----


> Consolidate NetUtils
> --------------------
>
>                 Key: FLINK-2781
>                 URL: https://issues.apache.org/jira/browse/FLINK-2781
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core, Distributed Runtime
>    Affects Versions: 0.10
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>             Fix For: 0.10
>
>
> We currently have two classes called {{NetUtils}} with different networking related helpers. In some cases you need both classes, which results in quite some clumsiness.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)