SparkSubmit Operator
The SparkSubmit operator connects to a Spark instance and invokes a local spark-submit to schedule a job.
Operator arguments
Name | Type | Value Restrictions | Required | Default | Description |
---|---|---|---|---|---|
| String | It should be a path to a valid java or python spark application file | Yes | Spark application to submit (jar or python file) | |
| List of Strings, Numbers or Booleans | Yes | Additional application arguments | ||
| String | It should be a valid supported Master URL:
| Yes | The master URL for the Spark cluster | |
|
| No |
| Whether to launch the driver locally ( | |
| String | No | The entry point of the java application. Required for java applications. | ||
| String | No | Name of the task. When submitted the id of the study, experiment and trial will be appended. | ||
| List of Strings | Each item of the list should be a path that matches an existing jar file | No | A list of jars to be added in the classpath. | |
| List of Strings | Each item of the list should be a path that matches an existing python file | No | A list of python scripts to be added to the PYTHONPATH | |
| List of Strings | Each item of the list should be a path that matches an existing file | No | A list of files to be added to the context of the spark-submit | |
| Object (key-value pairs) | No | Mapping containing additional Spark configurations. See Spark documentation. | ||
| Object (key-value pairs) | No | Env variables when running the spark-submit command | ||
| String | It should be a path that matches an existing executable | No | The default for the Spark installation | The path of the spark-submit executable command |
| String | It should be a path that matches an existing directory | No | The default for the Spark installation | The path of the SPARK_HOME |
| String | No | The user to be used to execute Spark applications | ||
| Boolean | No | true | If additional debugging output should be displayed | |
| String | It should match the name of an existing Component of the System under test | Yes | The name of the component whose properties can be used as arguments of the operator |
Last updated