Class: Google::Cloud::Dataproc::V1::SparkBatch

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/batches.rb

Overview

A configuration for running an Apache Spark batch workload.

Instance Attribute Summary collapse

Instance Attribute Details

#archive_uris::Array<::String>

Returns 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.

Returns:

  • (::Array<::String>)

    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.



306
307
308
309
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 306

class SparkBatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#args::Array<::String>

Returns 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.

Returns:

  • (::Array<::String>)

    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.



306
307
308
309
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 306

class SparkBatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#file_uris::Array<::String>

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

Returns:

  • (::Array<::String>)

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



306
307
308
309
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 306

class SparkBatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#jar_file_uris::Array<::String>

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

Returns:

  • (::Array<::String>)

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



306
307
308
309
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 306

class SparkBatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#main_class::String

Returns 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.

Returns:

  • (::String)

    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.



306
307
308
309
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 306

class SparkBatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#main_jar_file_uri::String

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

Returns:

  • (::String)

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



306
307
308
309
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 306

class SparkBatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end