JobSparkConfig

data class JobSparkConfig(val archiveUris: List<String>? = null, val args: List<String>? = null, val fileUris: List<String>? = null, val jarFileUris: List<String>? = null, val loggingConfig: JobSparkConfigLoggingConfig? = null, val mainClass: String? = null, val mainJarFileUri: String? = null, val properties: Map<String, 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: JobSparkConfigLoggingConfig? = null, mainClass: String? = null, mainJarFileUri: String? = null, properties: Map<String, 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 Spark 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 Spark driver and tasks.

Link copied to clipboard
Link copied to clipboard
val mainClass: String? = null

The class containing the main method of the driver. Must be in a provided jar or jar that is already on the classpath. Conflicts with main_jar_file_uri

Link copied to clipboard
val mainJarFileUri: String? = null

The HCFS URI of jar file containing the driver jar. Conflicts with main_class

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

A mapping of property names to values, used to configure Spark. 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.