SparkRBatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A configuration for running an Apache
SparkR <https://spark.apache.org/docs/latest/sparkr.html>
__ batch
workload.
Attributes
Name | Description |
main_r_file_uri |
str
Required. The HCFS URI of the main R file to use as the driver. Must be a ``.R`` or ``.r`` file. |
args |
Sequence[str]
Optional. The arguments to pass to the Spark driver. Do not include arguments that can be set as batch properties, such as ``--conf``, since a collision can occur that causes an incorrect batch submission. |
file_uris |
Sequence[str]
Optional. HCFS URIs of files to be placed in the working directory of each executor. |
archive_uris |
Sequence[str]
Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: ``.jar``, ``.tar``, ``.tar.gz``, ``.tgz``, and ``.zip``. |