zentol commented on code in PR #19523:
URL: https://github.com/apache/flink/pull/19523#discussion_r854032049
##########
flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniClusterConfiguration.java:
##########
@@ -214,6 +220,15 @@ public MiniClusterConfiguration build() {
RestOptions.ADDRESS,
modifiedConfiguration.getString(RestOptions.ADDRESS,
"localhost"));
+ if (useRandomPorts) {
+ if (!configuration.contains(JobManagerOptions.PORT)) {
Review Comment:
Because we may extend the set of ports in the future but want to allow
single ports to be configured.
I think it would be weirder if an explicit port configuration by the user is
simply ignored.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]