class Google::Apis::DataprocV1beta2::JobScheduling
Job
scheduling options.
Attributes
max_failures_per_hour[RW]
Optional. Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed. A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10. Corresponds to the JSON property `maxFailuresPerHour` @return [Fixnum]
max_failures_total[RW]
Optional. Maximum number of times in total a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed. Maximum value is 240. Corresponds to the JSON property `maxFailuresTotal` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 1786 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 1791 def update!(**args) @max_failures_per_hour = args[:max_failures_per_hour] if args.key?(:max_failures_per_hour) @max_failures_total = args[:max_failures_total] if args.key?(:max_failures_total) end