JobPysparkConfig

data class JobPysparkConfig(val archiveUris: List<String>? = null, val args: List<String>? = null, val fileUris: List<String>? = null, val jarFileUris: List<String>? = null, val loggingConfig: JobPysparkConfigLoggingConfig? = null, val mainPythonFileUri: String, val properties: Map<String, String>? = null, val pythonFileUris: List<String>? = null)

Constructors

Link copied to clipboard
constructor(archiveUris: List<String>? = null, args: List<String>? = null, fileUris: List<String>? = null, jarFileUris: List<String>? = null, loggingConfig: JobPysparkConfigLoggingConfig? = null, mainPythonFileUri: String, properties: Map<String, String>? = null, pythonFileUris: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val archiveUris: List<String>? = null

HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.

Link copied to clipboard
val args: List<String>? = null

The arguments to pass to the driver.

Link copied to clipboard
val fileUris: List<String>? = null

HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.

Link copied to clipboard
val jarFileUris: List<String>? = null

HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.

Link copied to clipboard

The runtime logging config of the job

Link copied to clipboard

The HCFS URI of the main Python file to use as the driver. Must be a .py file.

Link copied to clipboard
val properties: Map<String, String>? = null

A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.

Link copied to clipboard
val pythonFileUris: List<String>? = null

HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.