Class SparkBatch (3.4.0)

public sealed class SparkBatch : IMessage<SparkBatch>, IEquatable<SparkBatch>, IDeepCloneable<SparkBatch>, IBufferMessage, IMessage

A configuration for running an Apache Spark batch workload.

Inheritance

Object > SparkBatch

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

SparkBatch()

public SparkBatch()

SparkBatch(SparkBatch)

public SparkBatch(SparkBatch other)
Parameter
NameDescription
otherSparkBatch

Properties

ArchiveUris

public RepeatedField<string> ArchiveUris { get; }

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.

Property Value
TypeDescription
RepeatedField<String>

Args

public RepeatedField<string> Args { get; }

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.

Property Value
TypeDescription
RepeatedField<String>

DriverCase

public SparkBatch.DriverOneofCase DriverCase { get; }
Property Value
TypeDescription
SparkBatch.DriverOneofCase

FileUris

public RepeatedField<string> FileUris { get; }

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

Property Value
TypeDescription
RepeatedField<String>

JarFileUris

public RepeatedField<string> JarFileUris { get; }

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

Property Value
TypeDescription
RepeatedField<String>

MainClass

public string MainClass { get; set; }

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.

Property Value
TypeDescription
String

MainJarFileUri

public string MainJarFileUri { get; set; }

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

Property Value
TypeDescription
String