Jeroen Steggink created FLINK-10901:
---------------------------------------

             Summary: Jobmanager REST ip binds to ip address instead of hostname
                 Key: FLINK-10901
                 URL: https://issues.apache.org/jira/browse/FLINK-10901
             Project: Flink
          Issue Type: Bug
            Reporter: Jeroen Steggink


In a HA Jobmanager setup I see that the REST endpoint listens at the ip address 
instead of the hostname. I have configured hostnames, not ip addresses.

This is what appears in the log:

{"@timestamp":"2018-11-14T22:02:03.743+00:00","message":"Rest endpoint 
listening at 
172.31.24.21:8081","logger_name":"org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint","level":"INFO"}
{"@timestamp":"2018-11-14T22:02:03.743+00:00","message":"Rest endpoint 
listening at 
172.31.24.21:8081","logger_name":"org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint","level":"INFO"}
{"@timestamp":"2018-11-14T22:02:03.743+00:00","message":"Starting 
ZooKeeperLeaderElectionService 
ZooKeeperLeaderElectionService\{leaderPath='/leader/rest_server_lock'}.","logger_name":"org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionService","level":"INFO"}
{"@timestamp":"2018-11-14T22:02:03.743+00:00","message":"Starting 
ZooKeeperLeaderElectionService 
ZooKeeperLeaderElectionService\{leaderPath='/leader/rest_server_lock'}.","logger_name":"org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionService","level":"INFO"}
{"@timestamp":"2018-11-14T22:02:03.776+00:00","message":"Web frontend listening 
at 
http://172.31.24.21:8081.","logger_name":"org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint","level":"INFO
 "}
{"@timestamp":"2018-11-14T22:02:03.776+00:00","message":"Web frontend listening 
at 
http://172.31.24.21:8081.","logger_name":"org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint","level":"INFO
 "}

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to