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

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to