SparkContext.
setSystemProperty
Set a Java system property, such as spark.executor.memory. This must be invoked before instantiating SparkContext.
SparkContext
New in version 0.9.0.
The key of a new Java system property.
The value of a new Java system property.