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-7528) Create Dispatcher REST endpoint
Date Tue, 19 Sep 2017 08:17:00 GMT

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

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

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

    https://github.com/apache/flink/pull/4598#discussion_r139624279
  
    --- Diff: flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/utils/WebFrontendBootstrap.java
---
    @@ -110,10 +114,21 @@ protected void initChannel(SocketChannel ch) {
     		this.serverChannel = ch.sync().channel();
     
     		InetSocketAddress bindAddress = (InetSocketAddress) serverChannel.localAddress();
    -		String address = bindAddress.getAddress().getHostAddress();
    +
    +		InetAddress inetAddress = bindAddress.getAddress();
    +		final String address;
    +
    +		if (inetAddress.isAnyLocalAddress()) {
    --- End diff --
    
    What is this case distinction for?


> Create Dispatcher REST endpoint
> -------------------------------
>
>                 Key: FLINK-7528
>                 URL: https://issues.apache.org/jira/browse/FLINK-7528
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Distributed Coordination, REST
>    Affects Versions: 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Minor
>              Labels: flip-6
>
> Create and integrate the {{DispatcherRestEndpoint}} with the {{Dispatcher}}.



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

Mime
View raw message