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

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

GitHub user barcahead opened a pull request:

    https://github.com/apache/flink/pull/3391

    [FLINK-5758] [yarn] support port range for web monitor

    1. `jobmanager.web.port` now supports port range and has a string type 
default value - "8081"
    2. a helper method `createServerFromPorts` is defined to select port and 
create corresponding server, also refactor method `BootstrapTools. 
startActorSystem` using this helper method
    3.  In `YarnApplicationMasterRunner.runApplicationMaster`, first create web 
monitor to have a fixed web port, store it in config and then create 
jobmanager. So jobmanager knows the web port, this port info is useful when new 
jobmanager is elected. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/barcahead/flink FLINK-5758

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3391.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3391
    
----
commit af5dcfa9cdde0d6d31a272be967a5e5547f8564a
Author: fengyelei <[email protected]>
Date:   2017-02-22T14:23:06Z

    [FLINK-5758] [yarn] support port range for web monitor

----


> Port-range for the web interface via YARN
> -----------------------------------------
>
>                 Key: FLINK-5758
>                 URL: https://issues.apache.org/jira/browse/FLINK-5758
>             Project: Flink
>          Issue Type: Improvement
>          Components: YARN
>    Affects Versions: 1.2.0, 1.1.4, 1.3.0
>            Reporter: Kanstantsin Kamkou
>            Assignee: Yelei Feng
>              Labels: network
>
> In case of YARN, the {{ConfigConstants.JOB_MANAGER_WEB_PORT_KEY}}   [is 
> changed to 
> 0|https://github.com/apache/flink/blob/release-1.2.0/flink-yarn/src/main/java/org/apache/flink/yarn/YarnApplicationMasterRunner.java#L526].
>  Please allow port ranges in this case. DevOps need that.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to