SparkLivy Operator
The SparkLivy operator uses Livy to run Spark applications on a Spark instance.
Operator arguments
Name | type | Value restrictions | Is 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 | No. Required for java applications. | The entry point of the java application. | ||
| String | No | Name of the task. When submitted the id of the study, experiment and trial will be appended. | ||
| String | No | The name of the YARN queue to which submit a Spark application | ||
| 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 | |
| String | No | The user to be used to launch Spark applications | ||
| Number |
| No | 10 | The number of seconds to wait before checking if a launched Spark application has finished |
| 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 |
Parameters applied from Experiments
The operator fetches the following parameters from the current Experiment to apply them to the System under test.
Name | Description | Restrictions |
---|---|---|
| Memory for the driver | |
| Memory per executor | |
| Total cores used by the application | Spark standalone and Mesos only |
| Cores per executor | Spark standalone and YARN only |
| The number of executors | YARN only |
Examples
Execute with Livy
Last updated