SparkJarTask
Properties
Name
Type
Description
Notes
main_class_name
Option<String>
The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code must use SparkContext.getOrCreate
to obtain a Spark context; otherwise, runs of the job fail.
[optional]
parameters
Option<Vec>
Parameters passed to the main method. Use Task parameter variables to set parameters containing information about job runs.
[optional]
jar_uri
Option<String>
Deprecated since 04/2016\. Provide a jar
through the libraries
field instead. For an example, see Create.
[optional]
Last updated