[ https://issues.apache.org/jira/browse/SPARK-16265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15354207#comment-15354207 ]
Saisai Shao commented on SPARK-16265: ------------------------------------- If you want to run Spark on different JVM other than YARN, you could set {{spark.yarn.appMasterEnv.JAVA_HOME=<path-to-java>}} and {{spark.executorEnv.JAVA_HOME=<path-to-java>}}, the prerequisite is that JDK is already installed on the cluster. This could partially address your problem. > Add option to SparkSubmit to ship driver JRE to YARN > ---------------------------------------------------- > > Key: SPARK-16265 > URL: https://issues.apache.org/jira/browse/SPARK-16265 > Project: Spark > Issue Type: Improvement > Affects Versions: 1.6.2 > Reporter: Andrew Duffy > Fix For: 2.1.0 > > > Add an option to {{SparkSubmit}} to allow the driver to package up it's > version of the JRE to be shipped to a YARN cluster. This allows deploying > Spark applications to a YARN cluster in which its required Java version need > not match one of the versions already installed on the YARN cluster, useful > in situations in which the Spark Application developer does not have > administrative access over the YARN cluster (ex. school or corporate > environment) but still wants to use certain language features in their code. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org