Slightly refactor SparkConf creation in SharkContext