From cf0270c3fe43bbf22f6407bca405316b73898a78 Mon Sep 17 00:00:00 2001 From: liangbowen Date: Tue, 28 Nov 2023 21:58:50 +0800 Subject: [PATCH] allConfigs --- .../kyuubi/engine/spark/SparkBatchProcessBuilder.scala | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/spark/SparkBatchProcessBuilder.scala b/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/spark/SparkBatchProcessBuilder.scala index 0167f95516d..d6e1515e1c3 100644 --- a/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/spark/SparkBatchProcessBuilder.scala +++ b/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/spark/SparkBatchProcessBuilder.scala @@ -52,10 +52,11 @@ class SparkBatchProcessBuilder( // tag batch application KyuubiApplicationManager.tagApplication(batchId, "spark", clusterManager(), batchKyuubiConf) - val allConfigs = batchKyuubiConf.getAll ++ - sparkAppNameConf() ++ - engineLogPathConf() ++ - appendPodNameConf(batchConf) + val allConfigs = Seq( + batchKyuubiConf.getAll, + sparkAppNameConf(), + engineLogPathConf(), + appendPodNameConf(batchConf)).flatten buffer ++= confKeyValues(allConfigs) setupKerberos(buffer)