changed executorEnv to sparkExecutorEnvMap,  will do the same in R