-
Using latest Kyuubi release 1.9.1 + Spark-3.5.1 + Kubernetes 1.25 I tried to setup environment variables in the both Spark Driver and executor pods by setting spark.kubernetes.driverEnv and spark.kubernetes.executorEnv in the spark-default.conf. After the spark driver and executors are running, noticed only the environment variables set in the drive pod but not in the executor pods. In the driver, I do see them in the spark.properties file in the /opt/spark/conf and the same file does not exists in the /opt/spark/conf on the executors. Is it a known issues with Kyuubi + Spark on kubernetes? Otherwise, please let me know how to set environments in the executors. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is no |
Beta Was this translation helpful? Give feedback.
There is no
spark.kubernetes.executorEnv.[EnvironmentVariableName]
configuration, onlyspark.executorEnv.[EnvironmentVariableName]
https://spark.apache.org/docs/latest/configuration.html