Github user EronWright commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5190#discussion_r158545462
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java
 ---
    @@ -155,6 +156,7 @@ protected void runCluster(Configuration configuration) 
throws Exception {
                        // write host information into configuration
                        configuration.setString(JobManagerOptions.ADDRESS, 
commonRpcService.getAddress());
                        configuration.setInteger(JobManagerOptions.PORT, 
commonRpcService.getPort());
    +                   configuration.setString(RestOptions.REST_ADDRESS, 
commonRpcService.getAddress());
    --- End diff --
    
    This appears to be configuring the REST server's bind address, using the 
server address obtained from `AkkaRpcService`.   I don't understand the 
rationale, could you explain?


---

Reply via email to