You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by fa...@apache.org on 2025/03/26 02:17:05 UTC
(flink) branch master updated: [hotfix] Remove redundant config operation for ADDRESS and PORT (#26342)
This is an automated email from the ASF dual-hosted git repository.
fanrui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new d2b1dba3b0f [hotfix] Remove redundant config operation for ADDRESS and PORT (#26342)
d2b1dba3b0f is described below
commit d2b1dba3b0f0dc35f84aee23db31427063f0e557
Author: Jiaan Geng <be...@163.com>
AuthorDate: Wed Mar 26 10:16:59 2025 +0800
[hotfix] Remove redundant config operation for ADDRESS and PORT (#26342)
---
.../java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java b/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java
index d652ac0560e..c7baf305766 100755
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java
@@ -286,10 +286,6 @@ public abstract class ClusterEntrypoint implements AutoCloseableAsync, FatalErro
synchronized (lock) {
initializeServices(configuration, pluginManager);
- // write host information into configuration
- configuration.set(JobManagerOptions.ADDRESS, commonRpcService.getAddress());
- configuration.set(JobManagerOptions.PORT, commonRpcService.getPort());
-
final DispatcherResourceManagerComponentFactory
dispatcherResourceManagerComponentFactory =
createDispatcherResourceManagerComponentFactory(configuration);