You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ObobjXin (Jira)" <ji...@apache.org> on 2022/07/15 06:10:00 UTC
[jira] [Created] (SPARK-39791) In Spark 3.0 standalone cluster mode, unable to customize driver JVM path
ObobjXin created SPARK-39791:
--------------------------------
Summary: In Spark 3.0 standalone cluster mode, unable to customize driver JVM path
Key: SPARK-39791
URL: https://issues.apache.org/jira/browse/SPARK-39791
Project: Spark
Issue Type: Question
Components: Spark Submit
Affects Versions: 3.0.0
Reporter: ObobjXin
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
{code: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")); {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org