pyspark.SparkConf.setExecutorEnv

SparkConf.setExecutorEnv(key: Optional[str] = None, value: Optional[str] = None, pairs: Optional[List[Tuple[str, str]]] = None) → pyspark.conf.SparkConf[source]

Set an environment variable to be passed to executors.