Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6958da4

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎dataproc/create_cluster_and_submit_job.py

Copy file name to clipboardExpand all lines: dataproc/create_cluster_and_submit_job.py
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.