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-9045][REST] Add logging message for web UI address #5814

Closed
wants to merge 1 commit into from

Conversation

zentol
Copy link
Contributor

@zentol zentol commented Apr 4, 2018

What is the purpose of the change

Adds a logging message explicitly saying on which address and port the web UI is listening on.
This message is logged in the legacy code-base, but with flip6 we were only logging the REST server address. While technically the same it may not be obvious to users that there is a difference.

Verifying this change

Not tested.

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me. +1 for merging.

Additionally, we could try to start the WebMonitorEndpoint with port 8081 if the user calls createLocalEnvironmentWithWebUI on the StreamExecutionEnvironment. The legacy FlinkMiniCluster also started the WebRuntimeMonitor with port 8081.

@zentol
Copy link
Contributor Author

zentol commented Apr 16, 2018

I have removed a section from the LocalExecutor that sets the port to 0.

This should cause the UI to run at 8081 without affecting test stability.

@zentol
Copy link
Contributor Author

zentol commented Apr 16, 2018

Correction: I had to modify the LocalStreamEnvironment instead.

@aljoscha
Copy link
Contributor

Looks good to merge! 👍

zentol added a commit to zentol/flink that referenced this pull request Apr 16, 2018
…endly logging message for web UI address - add back known logging mesages about webUI address - do not set random port in local stream environment

This closes apache#5814.
zentol added a commit to zentol/flink that referenced this pull request Apr 16, 2018
…endly logging message for web UI address - add back known logging mesages about webUI address - do not set random port in local stream environment

This closes apache#5814.
zentol added a commit to zentol/flink that referenced this pull request Apr 16, 2018
…endly logging message for web UI address

-add back known logging mesages about webUI address
-do not set random port in local stream environment

This closes apache#5814.
zentol added a commit to zentol/flink that referenced this pull request Apr 16, 2018
…endly logging message for web UI address

-add back known logging mesages about webUI address
-do not set random port in local stream environment

This closes apache#5814.
…endly logging message for web UI address

-add back known logging mesages about webUI address
-do not set random port in local stream environment

This closes apache#5814.
asfgit pushed a commit that referenced this pull request Apr 16, 2018
…endly logging message for web UI address

-add back known logging mesages about webUI address
-do not set random port in local stream environment

This closes #5814.
@asfgit asfgit closed this in 27be32e Apr 16, 2018
@zentol zentol deleted the 9045 branch April 16, 2018 19:26
sampathBhat pushed a commit to sampathBhat/flink that referenced this pull request Jul 26, 2018
…endly logging message for web UI address

-add back known logging mesages about webUI address
-do not set random port in local stream environment

This closes apache#5814.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants