This is an automated email from the ASF dual-hosted git repository.
jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 47a22fbe3 [AMORO-3586]Fix the problem that ams-server can not connect
to the external optimizerContainer by ha (#3610)
47a22fbe3 is described below
commit 47a22fbe3af785246f916926bf1649c9a5e76e7d
Author: lichaohao <[email protected]>
AuthorDate: Thu Jun 12 18:10:17 2025 +0800
[AMORO-3586]Fix the problem that ams-server can not connect to the external
optimizerContainer by ha (#3610)
* [AMORO-3586]Fix the problem that ams-server can not connect to the
external optimizerContainer
* [AMORO-3586]Fix the problem that ams-server can not connect to the
external optimizerContainer by ha
* [AMORO-3586]Fix the problem that ams-server can not connect to the
external optimizerContainer by zookeeper ha
---------
Co-authored-by: lichaohao <[email protected]>
---
.../main/java/org/apache/amoro/server/HighAvailabilityContainer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/amoro-ams/src/main/java/org/apache/amoro/server/HighAvailabilityContainer.java
b/amoro-ams/src/main/java/org/apache/amoro/server/HighAvailabilityContainer.java
index a758718a9..8b6d323cd 100644
---
a/amoro-ams/src/main/java/org/apache/amoro/server/HighAvailabilityContainer.java
+++
b/amoro-ams/src/main/java/org/apache/amoro/server/HighAvailabilityContainer.java
@@ -78,7 +78,7 @@ public class HighAvailabilityContainer implements
LeaderLatchListener {
this.optimizingServiceServerInfo =
buildServerInfo(
serviceConfig.getString(AmoroManagementConf.SERVER_EXPOSE_HOST),
-
serviceConfig.getInteger(AmoroManagementConf.TABLE_SERVICE_THRIFT_BIND_PORT),
+
serviceConfig.getInteger(AmoroManagementConf.OPTIMIZING_SERVICE_THRIFT_BIND_PORT),
serviceConfig.getInteger(AmoroManagementConf.HTTP_SERVER_PORT));
} else {
leaderLatch = null;