Optional. Whether to continue executing queries if a query fails. The default value isfalse. Setting totruecan be useful when executing independent parallel queries.
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.
↳ jar_file_uris
array
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.
getQueryFileUri
The HCFS URI of the script that contains Hive queries.
Returns
Type
Description
string
hasQueryFileUri
setQueryFileUri
The HCFS URI of the script that contains Hive queries.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc V1 Client - Class HiveJob (3.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.14.0 (latest)](/php/docs/reference/cloud-dataproc/latest/V1.HiveJob)\n- [3.13.4](/php/docs/reference/cloud-dataproc/3.13.4/V1.HiveJob)\n- [3.12.0](/php/docs/reference/cloud-dataproc/3.12.0/V1.HiveJob)\n- [3.11.0](/php/docs/reference/cloud-dataproc/3.11.0/V1.HiveJob)\n- [3.10.1](/php/docs/reference/cloud-dataproc/3.10.1/V1.HiveJob)\n- [3.9.0](/php/docs/reference/cloud-dataproc/3.9.0/V1.HiveJob)\n- [3.8.1](/php/docs/reference/cloud-dataproc/3.8.1/V1.HiveJob)\n- [3.7.1](/php/docs/reference/cloud-dataproc/3.7.1/V1.HiveJob)\n- [3.6.1](/php/docs/reference/cloud-dataproc/3.6.1/V1.HiveJob)\n- [3.5.1](/php/docs/reference/cloud-dataproc/3.5.1/V1.HiveJob)\n- [3.4.0](/php/docs/reference/cloud-dataproc/3.4.0/V1.HiveJob)\n- [3.3.0](/php/docs/reference/cloud-dataproc/3.3.0/V1.HiveJob)\n- [3.2.2](/php/docs/reference/cloud-dataproc/3.2.2/V1.HiveJob)\n- [2.6.1](/php/docs/reference/cloud-dataproc/2.6.1/V1.HiveJob)\n- [2.5.0](/php/docs/reference/cloud-dataproc/2.5.0/V1.HiveJob)\n- [2.3.0](/php/docs/reference/cloud-dataproc/2.3.0/V1.HiveJob)\n- [2.2.3](/php/docs/reference/cloud-dataproc/2.2.3/V1.HiveJob)\n- [2.1.0](/php/docs/reference/cloud-dataproc/2.1.0/V1.HiveJob)\n- [2.0.0](/php/docs/reference/cloud-dataproc/2.0.0/V1.HiveJob) \nReference documentation and code samples for the Google Cloud Dataproc V1 Client class HiveJob.\n\nA Dataproc job for running [Apache Hive](https://hive.apache.org/)\nqueries on YARN.\n\nGenerated from protobuf message `google.cloud.dataproc.v1.HiveJob`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataproc \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getQueryFileUri\n\nThe HCFS URI of the script that contains Hive queries.\n\n### hasQueryFileUri\n\n### setQueryFileUri\n\nThe HCFS URI of the script that contains Hive queries.\n\n### getQueryList\n\nA list of queries.\n\n### hasQueryList\n\n### setQueryList\n\nA list of queries.\n\n### getContinueOnFailure\n\nOptional. Whether to continue executing queries if a query fails.\n\nThe default value is `false`. Setting to `true` can be useful when\nexecuting independent parallel queries.\n\n### setContinueOnFailure\n\nOptional. Whether to continue executing queries if a query fails.\n\nThe default value is `false`. Setting to `true` can be useful when\nexecuting independent parallel queries.\n\n### getScriptVariables\n\nOptional. Mapping of query variable names to values (equivalent to the\nHive command: `SET name=\"value\";`).\n\n### setScriptVariables\n\nOptional. Mapping of query variable names to values (equivalent to the\nHive command: `SET name=\"value\";`).\n\n### getProperties\n\nOptional. A mapping of property names and values, used to configure Hive.\n\nProperties that conflict with values set by the Dataproc API may be\noverwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`,\n/etc/hive/conf/hive-site.xml, and classes in user code.\n\n### setProperties\n\nOptional. A mapping of property names and values, used to configure Hive.\n\nProperties that conflict with values set by the Dataproc API may be\noverwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`,\n/etc/hive/conf/hive-site.xml, and classes in user code.\n\n### getJarFileUris\n\nOptional. HCFS URIs of jar files to add to the CLASSPATH of the\nHive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes\nand UDFs.\n\n### setJarFileUris\n\nOptional. HCFS URIs of jar files to add to the CLASSPATH of the\nHive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes\nand UDFs.\n\n### getQueries"]]