flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8843) Decouple bind REST address from advertised address
Date Tue, 13 Mar 2018 08:46:00 GMT

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

ASF GitHub Bot commented on FLINK-8843:
---------------------------------------

Github user yanghua commented on the issue:

    https://github.com/apache/flink/pull/5632
  
    hi @tillrohrmann I think you should review this PR and add it to 1.5 version as a hotfix.
Because I just download the release-1.5 branch. And install it as standalone-session mode.
But the general config in `flink-conf.yaml` can not let me access the web frontend with the
JM server's remote IP(I access from remote node's browser), and I run command `netstat -anp
| grep 8081` shows : 
    
    ```
    tcp        0      0 127.0.0.1:8081              0.0.0.0:*                   LISTEN   
  130475/java
    ```
    
    and the log print: 
    
    ```
    Rest endpoint listening at 127.0.0.:8081
    ```
    and the config item : `jobmanager.web.address` can not fix this problem, unless we add
the config : 
    
    ```
    rest.address: 0.0.0.0
    ```
    
    to override the default `localhost` value
    
    but this config item is not in `flink-conf.yaml`, and user may be not familiar with it.
    
    And I think if we do not change this config's default value, it will confuse users.



> Decouple bind REST address from advertised address
> --------------------------------------------------
>
>                 Key: FLINK-8843
>                 URL: https://issues.apache.org/jira/browse/FLINK-8843
>             Project: Flink
>          Issue Type: Improvement
>          Components: REST
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Till Rohrmann
>            Assignee: vinoyang
>            Priority: Critical
>              Labels: flip-6
>             Fix For: 1.5.0, 1.6.0
>
>
> The {{RestServerEndpoint}} is currently bound to the same address which is also advertised
to the client, namely {{RestOptions#REST_ADDRESS}}. It would be better to start the {{RestServerEndpoint}}
listening on all address by binding to {{0.0.0.0}}.



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

Mime
View raw message