pyspark.SparkConf.setExecutorEnv

SparkConf.setExecutorEnv(key=None, value=None, pairs=None)[source]

Set an environment variable to be passed to executors.