Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-4087] [metrics] Improved JMX port handling #2127

Closed
wants to merge 3 commits into from

Conversation

zentol
Copy link
Contributor

@zentol zentol commented Jun 17, 2016

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.

@zentol
Copy link
Contributor Author

zentol commented Jun 20, 2016

closing this for now as there are a few PowerMock issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants