Class SparkRBatch (5.9.2)

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

NameDescription
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 MutableSequence[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 MutableSequence[str]
Optional. HCFS URIs of files to be placed in the working directory of each executor.
archive_uris MutableSequence[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.