pyspark.SparkContext.setSystemProperty

classmethod SparkContext.setSystemProperty(key: str, value: str) → None[source]

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