SparkContext.
getOrCreate
Get or instantiate a SparkContext and register it as a singleton object.
conf – SparkConf (optional)