gcloud beta dataproc workflow-templates add-job

NAME
gcloud beta dataproc workflow-templates add-job - add Dataproc jobs to workflow template
SYNOPSIS
gcloud beta dataproc workflow-templates add-jobCOMMAND[GCLOUD_WIDE_FLAG]
EXAMPLES
To add a Hadoop MapReduce job, run:
gcloudbetadataprocworkflow-templatesadd-jobhadoop--workflow-templatemy_template--jarmy_jar.jar--arg1arg2

To add a Spark Scala or Java job, run:

gcloudbetadataprocworkflow-templatesadd-jobspark--workflow-templatemy_template--jarmy_jar.jar--arg1arg2

To add a PySpark job, run:

gcloudbetadataprocworkflow-templatesadd-jobpyspark--workflow-templatemy_templatemy_script.py--arg1arg2

To add a Spark SQL job, run:

gcloudbetadataprocworkflow-templatesadd-jobspark-sql--workflow-templatemy_template--filemy_queries.q

To add a Pig job, run:

gcloudbetadataprocworkflow-templatesadd-jobpig--workflow-templatemy_template--filemy_script.pig

To add a Hive job, run:

gcloudbetadataprocworkflow-templatesadd-jobhive--workflow-templatemy_template--filemy_queries.q
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
hadoop
(BETA) Add a hadoop job to the workflow template.
hive
(BETA) Add a Hive job to the workflow template.
pig
(BETA) Add a Pig job to the workflow template.
presto
(BETA) Add a Presto job to the workflow template.
pyspark
(BETA) Add a PySpark job to the workflow template.
spark
(BETA) Add a Spark job to the workflow template.
spark-r
(BETA) Add a SparkR job to the workflow template.
spark-sql
(BETA) Add a SparkSql job to the workflow template.
trino
(BETA) Add a Trino job to the workflow template.
NOTES
This command is currently in beta and might change without notice. Thesevariants are also available:
gclouddataprocworkflow-templatesadd-job
gcloudalphadataprocworkflow-templatesadd-job

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.