Details
-
Question
-
Status: In Progress
-
Minor
-
Resolution: Unresolved
-
3.0.0
-
None
Description
In Spark 3.0 standalone mode, unable to customize driver JVM path, instead the JAVA_HOME of the spark-submit submission machine is used, but the JVM paths of my submission machine and the cluster machine are different
launcher/src/main/java/org/apache/spark/launcher/AbstractCommandBuilder.java List<String> buildJavaCommand(String extraClassPath) throws IOException { List<String> cmd = new ArrayList<>(); String firstJavaHome = firstNonEmpty(javaHome, childEnv.get("JAVA_HOME"), System.getenv("JAVA_HOME"), System.getProperty("java.home"));
Attachments
Issue Links
- links to