move the hadoopJobMetadata back into SparkEnv