I need to set a custom environment variable in EMR to be available when running a spark application.
I have tried adding this:
.
Use classification yarn-env to pass environment variables to the worker nodes.
Use classification spark-env to pass environment variables to the driver, with deploy mode client. When using deploy mode cluster, use yarn-env.