Package org.apache.spark.launcher
Class JavaModuleOptions
Object
org.apache.spark.launcher.JavaModuleOptions
This helper class is used to place the all `--add-opens` options
required by Spark when using Java 17. `DEFAULT_MODULE_OPTIONS` has added
`-XX:+IgnoreUnrecognizedVMOptions` to be compatible with Java 8 and Java 11.
- Since:
- 3.3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns the default Java options related to `--add-opens' and `-XX:+IgnoreUnrecognizedVMOptions` used by Spark.
-
Constructor Details
-
JavaModuleOptions
public JavaModuleOptions()
-
-
Method Details
-
defaultModuleOptions
Returns the default Java options related to `--add-opens' and `-XX:+IgnoreUnrecognizedVMOptions` used by Spark.
-