Description
When running a container, the JAVA_HOME environment variable is currently inherited from the parent process (the JobRunner in the case of LocalJobFactory, the NodeManager in the case of YarnJobFactory). It would be nice to allow a job to specify a JAVA_HOME path as part of its configuration, so that a job can choose to run in a particular JVM version (e.g. allowing the YARN cluster and the jobs' JVM versions to be updated independently from each other).