Skip to content

Commit

Permalink
Merge pull request #315 from GoogleCloudPlatform/dataproc
Browse files Browse the repository at this point in the history
Add more region tags
  • Loading branch information
waprin committed Apr 29, 2016
2 parents c2bcd20 + 9813471 commit 6958da4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dataproc/create_cluster_and_submit_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,10 @@ def main(project_id, zone, cluster_name, bucket_name, pyspark_file=None):

(cluster_id, output_bucket) = (
get_cluster_id_by_name(cluster_list, cluster_name))
# [START call_submit_pyspark_job]
job_id = submit_pyspark_job(
dataproc, project_id, cluster_name, bucket_name, spark_filename)
# [END call_submit_pyspark_job]
wait_for_job(dataproc, project_id, job_id)

output = download_output(project_id, cluster_id, output_bucket, job_id)
Expand Down

0 comments on commit 6958da4

Please sign in to comment.