You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2016/03/21 17:36:25 UTC

[jira] [Commented] (FLINK-2821) Change Akka configuration to allow accessing actors from different URLs

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

Maximilian Michels commented on FLINK-2821:
-------------------------------------------

It is now possible to separate the bind address from the public address: http://doc.akka.io/docs/akka/2.4.0/additional/faq.html#Why_are_replies_not_received_from_a_remote_actor_

I have a fix but it requires to bump our Akka version from {{2.3.7}} to {{2.4.x}}. Now the big downer, Akka 2.4.x is NOT compatible with Scala 2.10 which is our default Scala version. Unless we upgrade to Scala 2.11, we won't be able to use this feature.

In the meantime, what we could do is to explicitly offer this feature only for the 2.11 release and document that accordingly.

> Change Akka configuration to allow accessing actors from different URLs
> -----------------------------------------------------------------------
>
>                 Key: FLINK-2821
>                 URL: https://issues.apache.org/jira/browse/FLINK-2821
>             Project: Flink
>          Issue Type: Bug
>          Components: Distributed Runtime
>            Reporter: Robert Metzger
>            Assignee: Maximilian Michels
>
> Akka expects the actor's URL to be exactly matching.
> As pointed out here, cases where users were complaining about this: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Error-trying-to-access-JM-through-proxy-td3018.html
>   - Proxy routing (as described here, send to the proxy URL, receiver recognizes only original URL)
>   - Using hostname / IP interchangeably does not work (we solved this by always putting IP addresses into URLs, never hostnames)
>   - Binding to multiple interfaces (any local 0.0.0.0) does not work. Still no solution to that (but seems not too much of a restriction)
> I am aware that this is not possible due to Akka, so it is actually not a Flink bug. But I think we should track the resolution of the issue here anyways because its affecting our user's satisfaction.



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