-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix precedence of library paths, classpath, java opts and memory
This was previously broken because of the way we pass command line arguments. As of this commit, the ordering becomes: SPARK_SUBMIT_DRIVER_MEMORY > spark.driver.memory > SPARK_DRIVER_MEMORY SPARK_SUBMIT_CLASSPATH > spark.driver.extraClassPath SPARK_SUBMIT_LIBRARY_PATH > spark.driver.extraLibraryPath SPARK_SUBMIT_JAVA_OPTS > spark.driver.extraJavaOpts We achieve this by passing existing environment variables to SparkClassLauncher directly.
- Loading branch information
1 parent
158f813
commit a91ea19
Showing
3 changed files
with
117 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters