Class JavaModuleOptions

Object
org.apache.spark.launcher.JavaModuleOptions

public class JavaModuleOptions extends Object
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 Details

    • JavaModuleOptions

      public JavaModuleOptions()
  • Method Details

    • defaultModuleOptions

      public static String defaultModuleOptions()
      Returns the default Java options related to `--add-opens' and `-XX:+IgnoreUnrecognizedVMOptions` used by Spark.