You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2022/11/02 04:26:55 UTC

[incubator-kyuubi] branch master updated: Revert "[KYUUBI #3385] Set spark.kubernetes.executor.podNamePrefix if missing"

This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 223e54e9b Revert "[KYUUBI #3385] Set spark.kubernetes.executor.podNamePrefix if missing"
223e54e9b is described below

commit 223e54e9b32a422a6e486108cc4e463de4a5c17c
Author: Cheng Pan <ch...@apache.org>
AuthorDate: Wed Nov 2 04:26:43 2022 +0000

    Revert "[KYUUBI #3385] Set spark.kubernetes.executor.podNamePrefix if missing"
    
    This reverts commit c454bfdcbeb336d47d670ccf5ff84e45bf79a20b.
---
 .../src/main/scala/org/apache/kyuubi/engine/spark/SparkSQLEngine.scala  | 2 --
 1 file changed, 2 deletions(-)

diff --git a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/SparkSQLEngine.scala b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/SparkSQLEngine.scala
index 108dd2dc6..ff96ef4f9 100644
--- a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/SparkSQLEngine.scala
+++ b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/SparkSQLEngine.scala
@@ -168,8 +168,6 @@ object SparkSQLEngine extends Logging {
 
     if (Utils.isOnK8s) {
       kyuubiConf.setIfMissing(FRONTEND_CONNECTION_URL_USE_HOSTNAME, false)
-      val podNamePrefix = s"kyuubi-${user}-${Instant.now().toEpochMilli}"
-      _sparkConf.setIfMissing("spark.kubernetes.executor.podNamePrefix", podNamePrefix)
     }
 
     // Set web ui port 0 to avoid port conflicts during non-k8s cluster mode