class Google::Apis::DataprocV1::HiveJob

A Dataproc job for running Apache Hive (hive.apache.org/) queries on YARN.

Attributes

continue_on_failure[RW]

Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. Corresponds to the JSON property `continueOnFailure` @return [Boolean]

continue_on_failure?[RW]

Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. Corresponds to the JSON property `continueOnFailure` @return [Boolean]

jar_file_uris[RW]

Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs. Corresponds to the JSON property `jarFileUris` @return [Array<String>]

properties[RW]

Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/ hive/conf/hive-site.xml, and classes in user code. Corresponds to the JSON property `properties` @return [Hash<String,String>]

query_file_uri[RW]

The HCFS URI of the script that contains Hive queries. Corresponds to the JSON property `queryFileUri` @return [String]

query_list[RW]

A list of queries to run on a cluster. Corresponds to the JSON property `queryList` @return [Google::Apis::DataprocV1::QueryList]

script_variables[RW]

Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name=“value”;). Corresponds to the JSON property `scriptVariables` @return [Hash<String,String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataproc_v1/classes.rb, line 1327
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_v1/classes.rb, line 1332
def update!(**args)
  @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure)
  @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris)
  @properties = args[:properties] if args.key?(:properties)
  @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri)
  @query_list = args[:query_list] if args.key?(:query_list)
  @script_variables = args[:script_variables] if args.key?(:script_variables)
end