I am using spark-defaults classification [http://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-spark-configure.html] and providing the following property:- spark.yarn.appMasterEnv.FOO = "foo"
to set environment variables in the yarn master.
I wanted to know if these variables will be present in the executor instances as well? If not, is there a way to do the same?