JobHadoopConfig

data class JobHadoopConfig(val archiveUris: List<String>? = null, val args: List<String>? = null, val fileUris: List<String>? = null, val jarFileUris: List<String>? = null, val loggingConfig: JobHadoopConfigLoggingConfig? = 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: JobHadoopConfigLoggingConfig? = 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. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.

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

HCFS URIs of files to be copied to the working directory of Hadoop 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 name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris. Conflicts with main_jar_file_uri

Link copied to clipboard
val mainJarFileUri: String? = null

The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.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 Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code..