SparkBatchResponse

data class SparkBatchResponse(val archiveUris: List<String>, val args: List<String>, val fileUris: List<String>, val jarFileUris: List<String>, val mainClass: String, val mainJarFileUri: String)

A configuration for running an Apache Spark (https://spark.apache.org/) batch workload.

Constructors

Link copied to clipboard
constructor(archiveUris: List<String>, args: List<String>, fileUris: List<String>, jarFileUris: List<String>, mainClass: String, mainJarFileUri: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

Optional. The arguments to pass to the 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.

Link copied to clipboard

Optional. HCFS URIs of files to be placed in the working directory of each executor.

Link copied to clipboard

Optional. HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.

Link copied to clipboard

Optional. The name of the driver main class. The jar file that contains the class must be in the classpath or specified in jar_file_uris.

Link copied to clipboard

Optional. The HCFS URI of the jar file that contains the main class.