Skip to content

Commit 6958da4

Browse files
committed
Merge pull request #315 from GoogleCloudPlatform/dataproc
Add more region tags
2 parents c2bcd20 + 9813471 commit 6958da4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dataproc/create_cluster_and_submit_job.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,10 @@ def main(project_id, zone, cluster_name, bucket_name, pyspark_file=None):
201201

202202
(cluster_id, output_bucket) = (
203203
get_cluster_id_by_name(cluster_list, cluster_name))
204+
# [START call_submit_pyspark_job]
204205
job_id = submit_pyspark_job(
205206
dataproc, project_id, cluster_name, bucket_name, spark_filename)
207+
# [END call_submit_pyspark_job]
206208
wait_for_job(dataproc, project_id, job_id)
207209

208210
output = download_output(project_id, cluster_id, output_bucket, job_id)

0 commit comments

Comments
 (0)