flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shuai.xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8289) The RestServerEndpoint should return the address with real ip when getRestAdddress
Date Wed, 20 Dec 2017 05:50:00 GMT

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

shuai.xu commented on FLINK-8289:
---------------------------------

Hi [~eronwright], yes, what we need is the advertised address. But for Yarn Proxy / Mesos
Admin Router, the advertised address is not the proxy address, but the ip:port, and this address
is register to the proxy address, so the router can redirect the proxy address to the real
address of the rest server.

> The RestServerEndpoint should return the address with real ip when getRestAdddress
> ----------------------------------------------------------------------------------
>
>                 Key: FLINK-8289
>                 URL: https://issues.apache.org/jira/browse/FLINK-8289
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: shuai.xu
>              Labels: flip-6
>
> Now when RestServerEndpoint.getRestAddress, it will return an address same with the value
of config rest.address, the default it 127.0.0.1:9067, but this address can not be accessed
from another machine. And the ip for Dispatcher and JobMaster are usually dynamically, so
user will configure it to 0.0.0.0, and the getRestAddress will return 0.0.0.0:9067, this address
will be registered to YARN or Mesos, but this address can not be accessed from another machine
also. So it need to return the real ip:port for user to access the web monitor anywhere.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message