flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximilian Michels (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLINK-2821) Change Akka configuration to allow accessing actors from different URLs
Date Wed, 19 Oct 2016 18:06:58 GMT

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

Maximilian Michels edited comment on FLINK-2821 at 10/19/16 6:06 PM:
---------------------------------------------------------------------

Thanks a lot for the prompt feedback! You're right, it wasn't fully working yet. The problem
was that there was some code still assuming that {{jobmanager.rpc.address}} and {{jobmanager.rpc.port}}
would be available to listen or open a port on. I've removed such checks because we clearly
can't make any assumptions about that from within a container.

Could you try one more time? I've actually also tested it using a VM on my machine: https://people.apache.org/~mxm/flink-1.1.3-custom-akka3.zip

edit: updated the URL


was (Author: mxm):
Thanks a lot for the prompt feedback! You're right, it wasn't fully working yet. The problem
was that there was some code still assuming that {{jobmanager.rpc.address}} and {{jobmanager.rpc.port}}
would be available to listen or open a port on. I've removed such checks because we clearly
can't make any assumptions about that from within a container.

Could you try one more time? I've actually also tested it using a VM on my machine: https://people.apache.org/~mxm/flink-1.1.3-custom-akka2.zip

> 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 Coordination
>            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)

Mime
View raw message