SparkSSHSubmit Operator
The SSHSparkSubmit operator connects to a Spark instance invoking a spark-submit on a machine reachable via SSH.
Operator arguments
Name | Type | Values restrictions | Required | Default | Description |
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 | t 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 command | |
| 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 | ||
| Boolean | No | true | If additional debugging output should be output | |
| 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 | ||
| String | It should be a valid SSH host address | No, if the Component whose name is defined in | SSH host address | |
| String | No, if the Component whose name is defined in | SSH login username | ||
| Number | 1≤ | No | 22 | SSH port |
| String | Cannot be set if | No, if the Component whose name is defined in | SSH login password | |
| String | Cannot be set if | No, if the Component whose name is defined in | SSH login key, provided directly its value or the path of the file to import from. The operator supports RSA and DSA Keys. | |
| 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 |
Get operator arguments from component
component
This operator automatically maps some properties of its component
to some arguments. In case the mapped arguments are already provided to the operator, the is no override.
Component property to operator argument mapping
|
|
|
|
|
|
|
|
|
|
Last updated