Example usage for Java org.apache.spark.launcher SparkLauncher fields, constructors, methods, implement or subclass
The text is from its open source code.
String | SPARK_MASTER The Spark master. |
String | DRIVER_MEMORY Configuration key for the driver memory. |
String | DRIVER_EXTRA_JAVA_OPTIONS Configuration key for the driver VM options. |
String | EXECUTOR_MEMORY Configuration key for the executor memory. |
String | EXECUTOR_EXTRA_JAVA_OPTIONS Configuration key for the executor VM options. |
String | EXECUTOR_CORES Configuration key for the number of executor CPU cores. |
String | CHILD_PROCESS_LOGGER_NAME Logger name to use when launching a child process. |
SparkLauncher() | |
SparkLauncher(Map Creates a launcher that will set the given environment variables in the child. |
SparkLauncher | addAppArgs(String... args) |
SparkLauncher | addFile(String file) |
SparkLauncher | addJar(String jar) |
SparkLauncher | addPyFile(String file) |
SparkLauncher | addSparkArg(String name, String value) |
SparkLauncher | addSparkArg(String arg) |
Process | launch() Launches a sub-process that will start the configured Spark application. |
SparkLauncher | setAppName(String appName) |
SparkLauncher | setAppResource(String resource) |
SparkLauncher | setConf(String key, String value) |
SparkLauncher | setDeployMode(String mode) |
SparkLauncher | setJavaHome(String javaHome) Set a custom JAVA_HOME for launching the Spark application. |
SparkLauncher | setMainClass(String mainClass) |
SparkLauncher | setMaster(String master) |
SparkLauncher | setPropertiesFile(String path) |
SparkLauncher | setSparkHome(String sparkHome) Set a custom Spark installation location for the application. |
SparkLauncher | setVerbose(boolean verbose) |
SparkAppHandle | startApplication(SparkAppHandle.Listener... listeners) Starts a Spark application. |