set the main application resource . this should be the location of a jar file for scala/java applications , or a python script for pyspark applications . concode_field_sep String EXECUTOR_EXTRA_LIBRARY_PATH concode_elem_sep String DRIVER_EXTRA_LIBRARY_PATH concode_elem_sep String EXECUTOR_CORES concode_elem_sep String EXECUTOR_EXTRA_CLASSPATH concode_elem_sep String EXECUTOR_EXTRA_JAVA_OPTIONS concode_elem_sep SparkSubmitCommandBuilder builder concode_elem_sep String DRIVER_EXTRA_CLASSPATH concode_elem_sep String DRIVER_EXTRA_JAVA_OPTIONS concode_elem_sep String SPARK_MASTER concode_elem_sep String DRIVER_MEMORY concode_elem_sep String EXECUTOR_MEMORY concode_field_sep SparkLauncher setMainClass concode_elem_sep SparkLauncher setAppName concode_elem_sep SparkLauncher setJavaHome concode_elem_sep SparkLauncher addPyFile concode_elem_sep Process launch concode_elem_sep SparkLauncher setPropertiesFile concode_elem_sep SparkLauncher setVerbose concode_elem_sep SparkLauncher setConf concode_elem_sep SparkLauncher addJar concode_elem_sep SparkLauncher setSparkHome concode_elem_sep SparkLauncher setMaster concode_elem_sep SparkLauncher setDeployMode concode_elem_sep SparkLauncher addFile concode_elem_sep SparkLauncher addAppArgs
SparkLauncher function ( String arg0 ) { checkNotNull ( arg0 , "srini_string" ) ; builder . appResource = arg0 ; return this ; }