class Google::Apis::DataprocV1beta2::SparkRJob
A Dataproc job for running Apache SparkR (spark.apache.org/docs/latest/ sparkr.html) applications on YARN.
Attributes
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. Corresponds to the JSON property `archiveUris` @return [Array<String>]
Optional. The arguments to pass to the driver. Do not include arguments, such as –conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission. Corresponds to the JSON property `args` @return [Array<String>]
Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks. Corresponds to the JSON property `fileUris` @return [Array<String>]
The runtime logging config of the job. Corresponds to the JSON property `loggingConfig` @return [Google::Apis::DataprocV1beta2::LoggingConfig]
Required. The HCFS URI of the main R file to use as the driver. Must be a .R file. Corresponds to the JSON property `mainRFileUri` @return [String]
Optional. A mapping of property names to values, used to configure SparkR. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code. Corresponds to the JSON property `properties` @return [Hash<String,String>]
Public Class Methods
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 3136 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 3141 def update!(**args) @archive_uris = args[:archive_uris] if args.key?(:archive_uris) @args = args[:args] if args.key?(:args) @file_uris = args[:file_uris] if args.key?(:file_uris) @logging_config = args[:logging_config] if args.key?(:logging_config) @main_r_file_uri = args[:main_r_file_uri] if args.key?(:main_r_file_uri) @properties = args[:properties] if args.key?(:properties) end