Files
google-apis-rs/google_dataproc1_cli/projects_regions-jobs-submit/index.html
2022-03-08 15:36:16 +08:00

1128 lines
48 KiB
HTML

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Regions Jobs Submit - Dataproc v3.0.0+20220224</title>
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
<link rel="stylesheet" href="../css/highlight.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<script type="text/javascript" src="../js/highlight.pack.js"></script>
<script src="../js/theme.js"></script>
<style>
body {font-size: 90%;}
pre, code {font-size: 100%;}
h3, h4, h5, h6 {color: #2980b9; font-weight: 300}
</style>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-nav-search">
<a href=".." class="icon icon-home"> Dataproc v3.0.0+20220224</a>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<span>Projects</span>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-autoscaling-policies-create">Locations Autoscaling Policies Create</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-autoscaling-policies-delete">Locations Autoscaling Policies Delete</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-autoscaling-policies-get">Locations Autoscaling Policies Get</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-autoscaling-policies-get-iam-policy">Locations Autoscaling Policies Get Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-autoscaling-policies-list">Locations Autoscaling Policies List</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-autoscaling-policies-set-iam-policy">Locations Autoscaling Policies Set Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-autoscaling-policies-test-iam-permissions">Locations Autoscaling Policies Test Iam Permissions</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-autoscaling-policies-update">Locations Autoscaling Policies Update</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-batches-create">Locations Batches Create</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-batches-delete">Locations Batches Delete</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-batches-get">Locations Batches Get</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-batches-list">Locations Batches List</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-create">Locations Workflow Templates Create</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-delete">Locations Workflow Templates Delete</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-get">Locations Workflow Templates Get</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-get-iam-policy">Locations Workflow Templates Get Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-instantiate">Locations Workflow Templates Instantiate</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-instantiate-inline">Locations Workflow Templates Instantiate Inline</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-list">Locations Workflow Templates List</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-set-iam-policy">Locations Workflow Templates Set Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-test-iam-permissions">Locations Workflow Templates Test Iam Permissions</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_locations-workflow-templates-update">Locations Workflow Templates Update</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-autoscaling-policies-create">Regions Autoscaling Policies Create</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-autoscaling-policies-delete">Regions Autoscaling Policies Delete</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-autoscaling-policies-get">Regions Autoscaling Policies Get</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-autoscaling-policies-get-iam-policy">Regions Autoscaling Policies Get Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-autoscaling-policies-list">Regions Autoscaling Policies List</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-autoscaling-policies-set-iam-policy">Regions Autoscaling Policies Set Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-autoscaling-policies-test-iam-permissions">Regions Autoscaling Policies Test Iam Permissions</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-autoscaling-policies-update">Regions Autoscaling Policies Update</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-create">Regions Clusters Create</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-delete">Regions Clusters Delete</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-diagnose">Regions Clusters Diagnose</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-get">Regions Clusters Get</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-get-iam-policy">Regions Clusters Get Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-inject-credentials">Regions Clusters Inject Credentials</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-list">Regions Clusters List</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-patch">Regions Clusters Patch</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-repair">Regions Clusters Repair</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-set-iam-policy">Regions Clusters Set Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-start">Regions Clusters Start</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-stop">Regions Clusters Stop</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-clusters-test-iam-permissions">Regions Clusters Test Iam Permissions</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-jobs-cancel">Regions Jobs Cancel</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-jobs-delete">Regions Jobs Delete</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-jobs-get">Regions Jobs Get</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-jobs-get-iam-policy">Regions Jobs Get Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-jobs-list">Regions Jobs List</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-jobs-patch">Regions Jobs Patch</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-jobs-set-iam-policy">Regions Jobs Set Iam Policy</a>
</li>
<li class="toctree-l1 current">
<a class="current" href=".">Regions Jobs Submit</a>
<ul>
<li class="toctree-l2"><a href="#scopes">Scopes</a></li>
<li class="toctree-l2"><a href="#required-scalar-arguments">Required Scalar Arguments</a></li>
<li class="toctree-l2"><a href="#required-request-value">Required Request Value</a></li>
<li><a class="toctree-l3" href="#about-cursors">About Cursors</a></li>
<li class="toctree-l2"><a href="#optional-output-flags">Optional Output Flags</a></li>
<li class="toctree-l2"><a href="#optional-general-properties">Optional General Properties</a></li>
</ul>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-jobs-submit-as-operation">Regions Jobs Submit As Operation</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-jobs-test-iam-permissions">Regions Jobs Test Iam Permissions</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-operations-cancel">Regions Operations Cancel</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-operations-delete">Regions Operations Delete</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-operations-get">Regions Operations Get</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-operations-get-iam-policy">Regions Operations Get Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-operations-list">Regions Operations List</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-operations-set-iam-policy">Regions Operations Set Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-operations-test-iam-permissions">Regions Operations Test Iam Permissions</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-create">Regions Workflow Templates Create</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-delete">Regions Workflow Templates Delete</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-get">Regions Workflow Templates Get</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-get-iam-policy">Regions Workflow Templates Get Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-instantiate">Regions Workflow Templates Instantiate</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-instantiate-inline">Regions Workflow Templates Instantiate Inline</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-list">Regions Workflow Templates List</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-set-iam-policy">Regions Workflow Templates Set Iam Policy</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-test-iam-permissions">Regions Workflow Templates Test Iam Permissions</a>
</li>
<li class="toctree-l1 ">
<a class="" href="../projects_regions-workflow-templates-update">Regions Workflow Templates Update</a>
</li>
</ul>
</div>
&nbsp;
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="icon icon-reorder"></i>
<a href=".."></a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="..">Docs</a> &raquo;</li>
<li>Regions Jobs Submit</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/dataproc1-cli" class="icon icon-github"> Edit on GitHub</a>
</li>
</ul>
<hr/>
</div>
<div role="main">
<div class="section">
<p>Submits a job to a cluster.</p>
<h1 id="scopes">Scopes</h1>
<p>You will need authorization for the <em>https://www.googleapis.com/auth/cloud-platform</em> scope to make a valid call.</p>
<p>If unset, the scope for this method defaults to <em>https://www.googleapis.com/auth/cloud-platform</em>.
You can set the scope for this method like this: <code>dataproc1 --scope &lt;scope&gt; projects regions-jobs-submit ...</code></p>
<h1 id="required-scalar-arguments">Required Scalar Arguments</h1>
<ul>
<li><strong>&lt;project-id&gt;</strong> <em>(string)</em><ul>
<li>Required. The ID of the Google Cloud Platform project that the job belongs to.</li>
</ul>
</li>
<li><strong>&lt;region&gt;</strong> <em>(string)</em><ul>
<li>Required. The Dataproc region in which to handle the request.</li>
</ul>
</li>
</ul>
<h1 id="required-request-value">Required Request Value</h1>
<p>The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure.
In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.</p>
<p>For example, a structure like this:</p>
<pre><code>SubmitJobRequest:
job:
done: boolean
driver-control-files-uri: string
driver-output-resource-uri: string
hadoop-job:
archive-uris: [string]
args: [string]
file-uris: [string]
jar-file-uris: [string]
logging-config:
driver-log-levels: { string: string }
main-class: string
main-jar-file-uri: string
properties: { string: string }
hive-job:
continue-on-failure: boolean
jar-file-uris: [string]
properties: { string: string }
query-file-uri: string
query-list:
queries: [string]
script-variables: { string: string }
job-uuid: string
labels: { string: string }
pig-job:
continue-on-failure: boolean
jar-file-uris: [string]
logging-config:
driver-log-levels: { string: string }
properties: { string: string }
query-file-uri: string
query-list:
queries: [string]
script-variables: { string: string }
placement:
cluster-labels: { string: string }
cluster-name: string
cluster-uuid: string
presto-job:
client-tags: [string]
continue-on-failure: boolean
logging-config:
driver-log-levels: { string: string }
output-format: string
properties: { string: string }
query-file-uri: string
query-list:
queries: [string]
pyspark-job:
archive-uris: [string]
args: [string]
file-uris: [string]
jar-file-uris: [string]
logging-config:
driver-log-levels: { string: string }
main-python-file-uri: string
properties: { string: string }
python-file-uris: [string]
reference:
job-id: string
project-id: string
scheduling:
max-failures-per-hour: integer
max-failures-total: integer
spark-job:
archive-uris: [string]
args: [string]
file-uris: [string]
jar-file-uris: [string]
logging-config:
driver-log-levels: { string: string }
main-class: string
main-jar-file-uri: string
properties: { string: string }
spark-r-job:
archive-uris: [string]
args: [string]
file-uris: [string]
logging-config:
driver-log-levels: { string: string }
main-r-file-uri: string
properties: { string: string }
spark-sql-job:
jar-file-uris: [string]
logging-config:
driver-log-levels: { string: string }
properties: { string: string }
query-file-uri: string
query-list:
queries: [string]
script-variables: { string: string }
status:
details: string
state: string
state-start-time: string
substate: string
request-id: string
</code></pre>
<p>can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.</p>
<ul>
<li><code>-r .job done=true</code><ul>
<li>Output only. Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled.</li>
</ul>
</li>
<li><code>driver-control-files-uri=aliquyam</code><ul>
<li>Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.</li>
</ul>
</li>
<li><code>driver-output-resource-uri=diam</code><ul>
<li>Output only. A URI pointing to the location of the stdout of the job&#39;s driver program.</li>
</ul>
</li>
<li><code>hadoop-job archive-uris=vero</code><ul>
<li>Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>args=erat</code><ul>
<li>Optional. The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>file-uris=dolore</code><ul>
<li>Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>jar-file-uris=sit</code><ul>
<li>Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>logging-config driver-log-levels=key=consetetur</code></p>
<ul>
<li>The per-package log levels for the driver. This may include &#34;root&#34; package name to configure rootLogger. Examples: &#39;com.google = FATAL&#39;, &#39;root = INFO&#39;, &#39;org.apache = DEBUG&#39;</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>.. main-class=amet</code></p>
<ul>
<li>The name of the driver&#39;s main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.</li>
</ul>
</li>
<li><code>main-jar-file-uri=magna</code><ul>
<li>The HCFS URI of the jar file containing the main class. Examples: &#39;gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar&#39; &#39;hdfs:/tmp/test-samples/custom-wordcount.jar&#39; &#39;file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar&#39;</li>
</ul>
</li>
<li>
<p><code>properties=key=sanctus</code></p>
<ul>
<li>Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>..hive-job continue-on-failure=false</code></p>
<ul>
<li>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.</li>
</ul>
</li>
<li><code>jar-file-uris=accusam</code><ul>
<li>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.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>properties=key=amet.</code><ul>
<li>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.</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li><code>query-file-uri=sanctus</code><ul>
<li>The HCFS URI of the script that contains Hive queries.</li>
</ul>
</li>
<li>
<p><code>query-list queries=invidunt</code></p>
<ul>
<li>Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: &#34;hiveJob&#34;: { &#34;queryList&#34;: { &#34;queries&#34;: [ &#34;query1&#34;, &#34;query2&#34;, &#34;query3;query4&#34;, ] } } </li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>.. script-variables=key=sit</code></p>
<ul>
<li>Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name=&#34;value&#34;;).</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>.. job-uuid=sed</code></p>
<ul>
<li>Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.</li>
</ul>
</li>
<li><code>labels=key=duo</code><ul>
<li>Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li><code>pig-job continue-on-failure=false</code><ul>
<li>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.</li>
</ul>
</li>
<li><code>jar-file-uris=dolor</code><ul>
<li>Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>logging-config driver-log-levels=key=et</code></p>
<ul>
<li>The per-package log levels for the driver. This may include &#34;root&#34; package name to configure rootLogger. Examples: &#39;com.google = FATAL&#39;, &#39;root = INFO&#39;, &#39;org.apache = DEBUG&#39;</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>.. properties=key=sed</code></p>
<ul>
<li>Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li><code>query-file-uri=justo</code><ul>
<li>The HCFS URI of the script that contains the Pig queries.</li>
</ul>
</li>
<li>
<p><code>query-list queries=sadipscing</code></p>
<ul>
<li>Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: &#34;hiveJob&#34;: { &#34;queryList&#34;: { &#34;queries&#34;: [ &#34;query1&#34;, &#34;query2&#34;, &#34;query3;query4&#34;, ] } } </li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>.. script-variables=key=accusam</code></p>
<ul>
<li>Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]).</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>..placement cluster-labels=key=takimata</code></p>
<ul>
<li>Optional. Cluster labels to identify a cluster where the job will be submitted.</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li><code>cluster-name=invidunt</code><ul>
<li>Required. The name of the cluster where the job will be submitted.</li>
</ul>
</li>
<li>
<p><code>cluster-uuid=invidunt</code></p>
<ul>
<li>Output only. A cluster UUID generated by the Dataproc service when the job is submitted.</li>
</ul>
</li>
<li>
<p><code>..presto-job client-tags=gubergren</code></p>
<ul>
<li>Optional. Presto client tags to attach to this query</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>continue-on-failure=false</code><ul>
<li>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.</li>
</ul>
</li>
<li>
<p><code>logging-config driver-log-levels=key=justo</code></p>
<ul>
<li>The per-package log levels for the driver. This may include &#34;root&#34; package name to configure rootLogger. Examples: &#39;com.google = FATAL&#39;, &#39;root = INFO&#39;, &#39;org.apache = DEBUG&#39;</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>.. output-format=amet</code></p>
<ul>
<li>Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats</li>
</ul>
</li>
<li><code>properties=key=sed</code><ul>
<li>Optional. A mapping of property names to values. Used to set Presto session properties (https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li><code>query-file-uri=ut</code><ul>
<li>The HCFS URI of the script that contains SQL queries.</li>
</ul>
</li>
<li>
<p><code>query-list queries=et</code></p>
<ul>
<li>Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: &#34;hiveJob&#34;: { &#34;queryList&#34;: { &#34;queries&#34;: [ &#34;query1&#34;, &#34;query2&#34;, &#34;query3;query4&#34;, ] } } </li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>...pyspark-job archive-uris=kasd</code></p>
<ul>
<li>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.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>args=gubergren</code><ul>
<li>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.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>file-uris=et</code><ul>
<li>Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>jar-file-uris=at</code><ul>
<li>Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>logging-config driver-log-levels=key=ut</code></p>
<ul>
<li>The per-package log levels for the driver. This may include &#34;root&#34; package name to configure rootLogger. Examples: &#39;com.google = FATAL&#39;, &#39;root = INFO&#39;, &#39;org.apache = DEBUG&#39;</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>.. main-python-file-uri=consetetur</code></p>
<ul>
<li>Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file.</li>
</ul>
</li>
<li><code>properties=key=at</code><ul>
<li>Optional. A mapping of property names to values, used to configure PySpark. 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.</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>python-file-uris=et</code></p>
<ul>
<li>Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>..reference job-id=dolor</code></p>
<ul>
<li>Optional. The job ID, which must be unique within the project.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server.</li>
</ul>
</li>
<li>
<p><code>project-id=clita</code></p>
<ul>
<li>Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.</li>
</ul>
</li>
<li>
<p><code>..scheduling max-failures-per-hour=12</code></p>
<ul>
<li>Optional. Maximum number of times per hour a driver may be restarted as a result of driver exiting 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.Note: Currently, this restartable job option is not supported in Dataproc workflow template (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template) jobs.</li>
</ul>
</li>
<li>
<p><code>max-failures-total=4</code></p>
<ul>
<li>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.Note: Currently, this restartable job option is not supported in Dataproc workflow template (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template) jobs.</li>
</ul>
</li>
<li>
<p><code>..spark-job archive-uris=dolor</code></p>
<ul>
<li>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.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>args=dolore</code><ul>
<li>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.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>file-uris=clita</code><ul>
<li>Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>jar-file-uris=et</code><ul>
<li>Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>logging-config driver-log-levels=key=diam</code></p>
<ul>
<li>The per-package log levels for the driver. This may include &#34;root&#34; package name to configure rootLogger. Examples: &#39;com.google = FATAL&#39;, &#39;root = INFO&#39;, &#39;org.apache = DEBUG&#39;</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>.. main-class=sanctus</code></p>
<ul>
<li>The name of the driver&#39;s main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.</li>
</ul>
</li>
<li><code>main-jar-file-uri=ipsum</code><ul>
<li>The HCFS URI of the jar file that contains the main class.</li>
</ul>
</li>
<li>
<p><code>properties=key=lorem</code></p>
<ul>
<li>Optional. A mapping of property names to values, used to configure Spark. 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.</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>..spark-r-job archive-uris=sed</code></p>
<ul>
<li>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.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>args=tempor</code><ul>
<li>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.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li><code>file-uris=et</code><ul>
<li>Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>logging-config driver-log-levels=key=et</code></p>
<ul>
<li>The per-package log levels for the driver. This may include &#34;root&#34; package name to configure rootLogger. Examples: &#39;com.google = FATAL&#39;, &#39;root = INFO&#39;, &#39;org.apache = DEBUG&#39;</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>.. main-r-file-uri=sadipscing</code></p>
<ul>
<li>Required. The HCFS URI of the main R file to use as the driver. Must be a .R file.</li>
</ul>
</li>
<li>
<p><code>properties=key=vero</code></p>
<ul>
<li>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.</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>..spark-sql-job jar-file-uris=sed</code></p>
<ul>
<li>Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.</li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>logging-config driver-log-levels=key=et</code></p>
<ul>
<li>The per-package log levels for the driver. This may include &#34;root&#34; package name to configure rootLogger. Examples: &#39;com.google = FATAL&#39;, &#39;root = INFO&#39;, &#39;org.apache = DEBUG&#39;</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>.. properties=key=sea</code></p>
<ul>
<li>Optional. A mapping of property names to values, used to configure Spark SQL&#39;s SparkConf. Properties that conflict with values set by the Dataproc API may be overwritten.</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li><code>query-file-uri=ut</code><ul>
<li>The HCFS URI of the script that contains SQL queries.</li>
</ul>
</li>
<li>
<p><code>query-list queries=et</code></p>
<ul>
<li>Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: &#34;hiveJob&#34;: { &#34;queryList&#34;: { &#34;queries&#34;: [ &#34;query1&#34;, &#34;query2&#34;, &#34;query3;query4&#34;, ] } } </li>
<li>Each invocation of this argument appends the given value to the array.</li>
</ul>
</li>
<li>
<p><code>.. script-variables=key=sanctus</code></p>
<ul>
<li>Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=&#34;value&#34;;).</li>
<li>the value will be associated with the given <code>key</code></li>
</ul>
</li>
<li>
<p><code>..status details=magna</code></p>
<ul>
<li>Optional. Output only. Job state details, such as an error description if the state is ERROR.</li>
</ul>
</li>
<li><code>state=magna</code><ul>
<li>Output only. A state message specifying the overall job state.</li>
</ul>
</li>
<li><code>state-start-time=ea</code><ul>
<li>Output only. The time when this state was entered.</li>
</ul>
</li>
<li>
<p><code>substate=no</code></p>
<ul>
<li>Output only. Additional state information, which includes status reported by the agent.</li>
</ul>
</li>
<li>
<p><code>... request-id=aliquyam</code></p>
<ul>
<li>Optional. A unique id used to identify the request. If the server receives two SubmitJobRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the first Job created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.</li>
</ul>
</li>
</ul>
<h3 id="about-cursors">About Cursors</h3>
<p>The cursor position is key to comfortably set complex nested structures. The following rules apply:</p>
<ul>
<li>The cursor position is always set relative to the current one, unless the field name starts with the <code>.</code> character. Fields can be nested such as in <code>-r f.s.o</code> .</li>
<li>The cursor position is set relative to the top-level structure if it starts with <code>.</code>, e.g. <code>-r .s.s</code></li>
<li>You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify <code>-r struct.sub_struct=bar</code>.</li>
<li>You can move the cursor one level up by using <code>..</code>. Each additional <code>.</code> moves it up one additional level. E.g. <code>...</code> would go three levels up.</li>
</ul>
<h1 id="optional-output-flags">Optional Output Flags</h1>
<p>The method's return value a JSON encoded structure, which will be written to standard output by default.</p>
<ul>
<li><strong>-o out</strong><ul>
<li><em>out</em> specifies the <em>destination</em> to which to write the server's result to.
It will be a JSON-encoded structure.
The <em>destination</em> may be <code>-</code> to indicate standard output, or a filepath that is to contain the received bytes.
If unset, it defaults to standard output.</li>
</ul>
</li>
</ul>
<h1 id="optional-general-properties">Optional General Properties</h1>
<p>The following properties can configure any call, and are not specific to this method.</p>
<ul>
<li>
<p><strong>-p $-xgafv=string</strong></p>
<ul>
<li>V1 error format.</li>
</ul>
</li>
<li>
<p><strong>-p access-token=string</strong></p>
<ul>
<li>OAuth access token.</li>
</ul>
</li>
<li>
<p><strong>-p alt=string</strong></p>
<ul>
<li>Data format for response.</li>
</ul>
</li>
<li>
<p><strong>-p callback=string</strong></p>
<ul>
<li>JSONP</li>
</ul>
</li>
<li>
<p><strong>-p fields=string</strong></p>
<ul>
<li>Selector specifying which fields to include in a partial response.</li>
</ul>
</li>
<li>
<p><strong>-p key=string</strong></p>
<ul>
<li>API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.</li>
</ul>
</li>
<li>
<p><strong>-p oauth-token=string</strong></p>
<ul>
<li>OAuth 2.0 token for the current user.</li>
</ul>
</li>
<li>
<p><strong>-p pretty-print=boolean</strong></p>
<ul>
<li>Returns response with indentations and line breaks.</li>
</ul>
</li>
<li>
<p><strong>-p quota-user=string</strong></p>
<ul>
<li>Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.</li>
</ul>
</li>
<li>
<p><strong>-p upload-type=string</strong></p>
<ul>
<li>Legacy upload protocol for media (e.g. &#34;media&#34;, &#34;multipart&#34;).</li>
</ul>
</li>
<li>
<p><strong>-p upload-protocol=string</strong></p>
<ul>
<li>Upload protocol for media (e.g. &#34;raw&#34;, &#34;multipart&#34;).</li>
</ul>
</li>
</ul>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="../projects_regions-jobs-submit-as-operation" class="btn btn-neutral float-right" title="Regions Jobs Submit As Operation"/>Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../projects_regions-jobs-set-iam-policy" class="btn btn-neutral" title="Regions Jobs Set Iam Policy"><span class="icon icon-circle-arrow-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
<!-- Copyright etc -->
</p>
</div>
Built with <a href="http://www.mkdocs.org">MkDocs</a>, using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<div class="rst-versions" role="note" style="cursor: pointer">
<span class="rst-current-version" data-toggle="rst-current-version">
<a class="icon icon-github" style="float: left; color: #fcfcfc"> GitHub</a>
<span><a href="../projects_regions-jobs-set-iam-policy" style="color: #fcfcfc;">&laquo; Previous</a></span>
<span style="margin-left: 15px"><a href="../projects_regions-jobs-submit-as-operation" style="color: #fcfcfc">Next &raquo;</a></span>
</span>
</div>
</body>
</html>