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 2017/01/18 16:23:26 UTC

[jira] [Commented] (FLINK-5492) BootstrapTools log wrong address of started ActorSystem

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

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

GitHub user tillrohrmann opened a pull request:

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

    [FLINK-5492] [log] Log unresolved address when starting an ActorSystem

    With the Flakka changes we no longer resolve the given hostname into an IP. Thus,
    we should henceforth log the unresolved hostname as the external address under which the `ActorSystem` is reachable.


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

    $ git pull https://github.com/tillrohrmann/flink loggingFixAddress

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

    https://github.com/apache/flink/pull/3161.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 #3161
    
----
commit 3ea1c04a775b163e1b91fd0ae094c9ba8e194588
Author: Till Rohrmann <tr...@apache.org>
Date:   2017-01-18T16:16:20Z

    [FLINK-5492] [log] Log unresolved address when starting an ActorSystem
    
    With the Flakka changes we no longer resolve the given hostname into an IP. Thus,
    we should henceforth log the unresolved hostname as the address to which the
    ActorSystem binds to.

----


> BootstrapTools log wrong address of started ActorSystem
> -------------------------------------------------------
>
>                 Key: FLINK-5492
>                 URL: https://issues.apache.org/jira/browse/FLINK-5492
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Minor
>
> When starting an {{ActorSystem}} via the {{Bootstrap}} tools, then the {{startActorSystem}} function logs the IP resolved from the provided hostname as the {{ActorSystem}} address. However, then the function uses the unresolved hostname to start the {{ActorSystem}}. Since Akka matches the ActorSystem's address and the destination address of the incoming message we should log the URL which is used to start the {{ActorSystem}} and not the resolved IP (messages with the IP will usually be rejected).



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