Class: Google::Cloud::Dataproc::V1::PySparkBatch

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



274
275
276
277
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 274

class PySparkBatch
  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.



274
275
276
277
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 274

class PySparkBatch
  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.



274
275
276
277
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 274

class PySparkBatch
  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.



274
275
276
277
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 274

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

#main_python_file_uri::String

Returns Required. The HCFS URI of the main Python file to use as the Spark driver. Must be a .py file.

Returns:

  • (::String)

    Required. The HCFS URI of the main Python file to use as the Spark driver. Must be a .py file.



274
275
276
277
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 274

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

#python_file_uris::Array<::String>

Returns Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.

Returns:

  • (::Array<::String>)

    Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.



274
275
276
277
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 274

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