Moved to SparkEnv.scala