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

peacewong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/master by this push:
     new e49f26d53 Set the default value for SPARK_K8S_CONFIG_FILE (#4822)
e49f26d53 is described below

commit e49f26d53a4e88238278d4d2f37ca2a2ed8562a4
Author: ChengJie1053 <[email protected]>
AuthorDate: Thu Jul 27 11:07:09 2023 +0800

    Set the default value for SPARK_K8S_CONFIG_FILE (#4822)
---
 .../apache/linkis/engineplugin/spark/config/SparkConfiguration.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/linkis-engineconn-plugins/spark/src/main/scala/org/apache/linkis/engineplugin/spark/config/SparkConfiguration.scala
 
b/linkis-engineconn-plugins/spark/src/main/scala/org/apache/linkis/engineplugin/spark/config/SparkConfiguration.scala
index d26685845..b81b21e76 100644
--- 
a/linkis-engineconn-plugins/spark/src/main/scala/org/apache/linkis/engineplugin/spark/config/SparkConfiguration.scala
+++ 
b/linkis-engineconn-plugins/spark/src/main/scala/org/apache/linkis/engineplugin/spark/config/SparkConfiguration.scala
@@ -50,7 +50,7 @@ object SparkConfiguration extends Logging {
   val SPARK_APP_RESOURCE = CommonVars[String]("spark.app.resource", "")
   val SPARK_APP_CONF = CommonVars[String]("spark.extconf", "")
 
-  val SPARK_K8S_CONFIG_FILE = 
CommonVars[String]("linkis.spark.k8s.config.file", "")
+  val SPARK_K8S_CONFIG_FILE = 
CommonVars[String]("linkis.spark.k8s.config.file", "~/.kube/config")
   val SPARK_K8S_SERVICE_ACCOUNT = 
CommonVars[String]("linkis.spark.k8s.serviceAccount", "")
   val SPARK_K8S_MASTER_URL = CommonVars[String]("linkis.spark.k8s.master.url", 
"")
   val SPARK_K8S_USERNAME = CommonVars[String]("linkis.spark.k8s.username", "")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to