You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "shuai.xu (JIRA)" <ji...@apache.org> on 2017/12/19 02:21:00 UTC

[jira] [Created] (FLINK-8289) The RestServerEndpoint should return the address with real ip when getRestAdddress

shuai.xu created FLINK-8289:
-------------------------------

             Summary: 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
            Reporter: shuai.xu


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)