Class: Google::Cloud::Dataproc::V1::SparkBatch
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::SparkBatch
- 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
-
#archive_uris ⇒ ::Array<::String>
Optional.
-
#args ⇒ ::Array<::String>
Optional.
-
#file_uris ⇒ ::Array<::String>
Optional.
-
#jar_file_uris ⇒ ::Array<::String>
Optional.
-
#main_class ⇒ ::String
Optional.
-
#main_jar_file_uri ⇒ ::String
Optional.
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
.
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.
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.
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.
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
.
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.
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 |