pyspark.SparkContext.setSystemProperty

classmethod SparkContext.setSystemProperty(key, value)[source]

Set a Java system property, such as spark.executor.memory. This must must be invoked before instantiating SparkContext.