Java org.apache.spark.launcher SparkLauncher fields, constructors, methods, implement or subclass

Example usage for Java org.apache.spark.launcher SparkLauncher fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.spark.launcher SparkLauncher.

The text is from its open source code.

Field

StringSPARK_MASTER
The Spark master.
StringDRIVER_MEMORY
Configuration key for the driver memory.
StringDRIVER_EXTRA_JAVA_OPTIONS
Configuration key for the driver VM options.
StringEXECUTOR_MEMORY
Configuration key for the executor memory.
StringEXECUTOR_EXTRA_JAVA_OPTIONS
Configuration key for the executor VM options.
StringEXECUTOR_CORES
Configuration key for the number of executor CPU cores.
StringCHILD_PROCESS_LOGGER_NAME
Logger name to use when launching a child process.

Constructor

SparkLauncher()
SparkLauncher(Map env)
Creates a launcher that will set the given environment variables in the child.

Method

SparkLauncheraddAppArgs(String... args)
SparkLauncheraddFile(String file)
SparkLauncheraddJar(String jar)
SparkLauncheraddPyFile(String file)
SparkLauncheraddSparkArg(String name, String value)
SparkLauncheraddSparkArg(String arg)
Processlaunch()
Launches a sub-process that will start the configured Spark application.
SparkLaunchersetAppName(String appName)
SparkLaunchersetAppResource(String resource)
SparkLaunchersetConf(String key, String value)
SparkLaunchersetDeployMode(String mode)
SparkLaunchersetJavaHome(String javaHome)
Set a custom JAVA_HOME for launching the Spark application.
SparkLaunchersetMainClass(String mainClass)
SparkLaunchersetMaster(String master)
SparkLaunchersetPropertiesFile(String path)
SparkLaunchersetSparkHome(String sparkHome)
Set a custom Spark installation location for the application.
SparkLaunchersetVerbose(boolean verbose)
SparkAppHandlestartApplication(SparkAppHandle.Listener... listeners)
Starts a Spark application.