From 0678ba0458b55ca906a14db00fbebe6bcc3cbeab Mon Sep 17 00:00:00 2001 From: Darcy Date: Wed, 15 Jan 2025 09:56:19 +0800 Subject: [PATCH] [Hotfix] Spark k8s optimizer release error (#3402) fix: spark optimizer release error --- .../org/apache/amoro/server/manager/SparkOptimizerContainer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/amoro-ams/src/main/java/org/apache/amoro/server/manager/SparkOptimizerContainer.java b/amoro-ams/src/main/java/org/apache/amoro/server/manager/SparkOptimizerContainer.java index 1a01aff468..64aee1c6c7 100644 --- a/amoro-ams/src/main/java/org/apache/amoro/server/manager/SparkOptimizerContainer.java +++ b/amoro-ams/src/main/java/org/apache/amoro/server/manager/SparkOptimizerContainer.java @@ -117,6 +117,7 @@ protected Map doScaleOut(Resource resource) { if (deployedOnKubernetes()) { SparkOptimizerContainer.SparkConf sparkConf = SparkOptimizerContainer.SparkConf.buildFor(loadSparkConfig(), getContainerProperties()) + .withGroupProperties(resource.getProperties()) .build(); String namespace = StringUtils.defaultIfEmpty(