GitHub user zentol opened a pull request: https://github.com/apache/flink/pull/2145
[FLINK-4087] [metrics] Improved JMX port handling This PR modifies the JMX port handling. Instead of setting a specific configured port on JVM start-up we use an ephemeral port for the JVM's JMXServer. Inside the JVM we then spin-up another JMXServer which users can connect to. This JMXServer picks a port from a configured port range; iterating from start to end until it finds an open one. You can merge this pull request into a Git repository by running: $ git pull https://github.com/zentol/flink metrics_jmx_ports Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2145.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 #2145 ---- commit c91ee7cb8cd7f91e33208f31e55e29085302ff59 Author: zentol <ches...@apache.org> Date: 2016-06-17T13:47:53Z [FLINK-4087] [metrics] Improved JMX port handling ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---