public sealed class HiveJob : IMessage<HiveJob>, IEquatable<HiveJob>, IDeepCloneable<HiveJob>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class HiveJob.
A Dataproc job for running Apache Hive queries on YARN.
Namespace
GoogleCloudGoogle.Cloud.DataprocV1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
HiveJob()
public HiveJob()
HiveJob(HiveJob)
public HiveJob(HiveJob other)
Parameter | |
---|---|
Name | Description |
other | HiveJob |
Properties
ContinueOnFailure
public bool ContinueOnFailure { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
JarFileUris
public RepeatedField<string> JarFileUris { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Properties
public MapField<string, string> Properties { get; }
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.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
QueriesCase
public HiveJob.QueriesOneofCase QueriesCase { get; }
Property Value | |
---|---|
Type | Description |
HiveJobQueriesOneofCase |
QueryFileUri
public string QueryFileUri { get; set; }
The HCFS URI of the script that contains Hive queries.
Property Value | |
---|---|
Type | Description |
string |
QueryList
public QueryList QueryList { get; set; }
A list of queries.
Property Value | |
---|---|
Type | Description |
QueryList |
ScriptVariables
public MapField<string, string> ScriptVariables { get; }
Optional. Mapping of query variable names to values (equivalent to the
Hive command: SET name="value";
).
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |