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-9179] [conf] Fix deduplicate WebOptions.PORT and RestOptions.PORT #5856

Closed
wants to merge 1 commit into from

Conversation

rice668
Copy link

@rice668 rice668 commented Apr 16, 2018

What is the purpose of the change

There are deduplicate WebOptions.PORT and RestOptions.REST_PORT. Should be solved.

Brief change log

Deprecate WebOptions.PORT, and add a deprecated key to RestOptions.REST_PORT.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

@@ -38,7 +38,10 @@

/**
* The port for the runtime monitor web-frontend server.
*
* @deprecated Use {@link RestOptions#PORT} instead
*/
Copy link
Author

Choose a reason for hiding this comment

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

FLINK-9180 rename it to RestOptions#PORT.

@rice668
Copy link
Author

rice668 commented Apr 19, 2018

Hi @zentol This patch is ready for having a review.

@zentol
Copy link
Contributor

zentol commented Apr 24, 2018

we should also update flink-conf-yaml which by default contains web.port.

@zentol
Copy link
Contributor

zentol commented Apr 24, 2018

there are also other references:

classes:

  • StreamExecutionEnvironment#createLocalEnvironmentWithWebUI
  • (scala) StreamExecutionEnvironment#createLocalEnvironmentWithWebUI
  • ExecutionEnvironment#createLocalEnvironmentWithWebUI

docs:

  • rest_api.md
  • mesos.md

scripts:

  • common.sh

@rice668
Copy link
Author

rice668 commented Apr 24, 2018

Thanks for @zentol having an awesome review! Will have a update soon.

@zentol
Copy link
Contributor

zentol commented Apr 25, 2018

merging.

zentol pushed a commit to zentol/flink that referenced this pull request Apr 25, 2018
zentol pushed a commit to zentol/flink that referenced this pull request Apr 25, 2018
zentol pushed a commit to zentol/flink that referenced this pull request Apr 30, 2018
zentol pushed a commit to zentol/flink that referenced this pull request Apr 30, 2018
zentol pushed a commit to zentol/flink that referenced this pull request May 9, 2018
zentol pushed a commit to zentol/flink that referenced this pull request May 9, 2018
zentol pushed a commit to zentol/flink that referenced this pull request May 9, 2018
zentol pushed a commit to zentol/flink that referenced this pull request May 9, 2018
zentol pushed a commit to zentol/flink that referenced this pull request May 10, 2018
@asfgit asfgit closed this in 3474dbb May 10, 2018
sampathBhat pushed a commit to sampathBhat/flink that referenced this pull request Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants