Class PySparkNotebookBatch (5.28.0)

PySparkNotebookBatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A configuration for running a PySpark Notebook batch workload.

Attributes

Name Description
notebook_file_uri str
Required. The HCFS URI of the notebook file to execute.
params MutableMapping[str, str]
Optional. The parameters to pass to the notebook.
python_file_uris MutableSequence[str]
Optional. HCFS URIs of Python files to pass to the PySpark framework.
jar_file_uris MutableSequence[str]
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
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.

Classes

ParamsEntry

ParamsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.