- INFORMATION
-
gcloud beta dataproc workflow-templates add-jobis not available in universe domainuniverse. - 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:
gcloud beta dataproc workflow-templates add-job hadoop --workflow-template my_template --jar my_jar.jar -- arg1 arg2To add a Spark Scala or Java job, run:
gcloud beta dataproc workflow-templates add-job spark --workflow-template my_template --jar my_jar.jar -- arg1 arg2To add a PySpark job, run:
gcloud beta dataproc workflow-templates add-job pyspark --workflow-template my_template my_script.py -- arg1 arg2To add a Spark SQL job, run:
gcloud beta dataproc workflow-templates add-job spark-sql --workflow-template my_template --file my_queries.qTo add a Pig job, run:
gcloud beta dataproc workflow-templates add-job pig --workflow-template my_template --file my_script.pigTo add a Hive job, run:
gcloud beta dataproc workflow-templates add-job hive --workflow-template my_template --file my_queries.q - GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMANDhadoop-
(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. These
variants are also available:
gcloud dataproc workflow-templates add-jobgcloud alpha dataproc workflow-templates add-job
gcloud beta dataproc workflow-templates add-job
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[],[]]