Package org.apache.spark.launcher

Library for launching Spark applications.


Class Summary
SparkLauncher Launcher for Spark applications.

Package org.apache.spark.launcher Description

Library for launching Spark applications.

This library allows applications to launch Spark programmatically. There's only one entry point to the library - the SparkLauncher class.

To launch a Spark application, just instantiate a SparkLauncher and configure the application to run. For example:

 import org.apache.spark.launcher.SparkLauncher;

   public class MyLauncher {
     public static void main(String[] args) throws Exception {
       Process spark = new SparkLauncher()
         .setConf(SparkLauncher.DRIVER_MEMORY, "2g")