{"id":20113419,"url":"https://github.com/cloudacademy/dataproc-intro","last_synced_at":"2025-05-06T12:30:30.404Z","repository":{"id":77791471,"uuid":"104376552","full_name":"cloudacademy/dataproc-intro","owner":"cloudacademy","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-03T16:13:01.000Z","size":8,"stargazers_count":6,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T12:20:52.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudacademy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-21T17:11:25.000Z","updated_at":"2023-04-21T06:47:35.000Z","dependencies_parsed_at":"2023-03-12T02:04:58.067Z","dependency_job_id":null,"html_url":"https://github.com/cloudacademy/dataproc-intro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fdataproc-intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fdataproc-intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fdataproc-intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fdataproc-intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudacademy","download_url":"https://codeload.github.com/cloudacademy/dataproc-intro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252683365,"owners_count":21788024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T18:24:21.949Z","updated_at":"2025-05-06T12:30:30.399Z","avatar_url":"https://github.com/cloudacademy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction to Google Cloud Dataproc\nThis file contains text you can copy and paste for the examples in Cloud Academy's _Introduction to Google Cloud Dataproc_ course.  \n\n### Introduction\nGoogle Cloud Platform Free Trial: https://cloud.google.com/free  \n\n### Running a Simple Job\nJar file: file:///usr/lib/spark/examples/jars/spark-examples.jar  \nMain class: org.apache.spark.examples.JavaWordCount  \nArgument: gs://ca-dataproc/prince.txt  \n\n### Scaling a Cluster\nJar file: file:///usr/lib/spark/examples/jars/spark-examples.jar  \nMain class: org.apache.spark.examples.SparkPi  \nArgument: 100000  \n```\ngcloud dataproc clusters create cluster2 --properties dataproc:dataproc.monitoring.stackdriver.enable=true\n```\n\n### Connecting to BigQuery\nBigQuery Connector: https://cloud.google.com/dataproc/docs/connectors/bigquery#using_the_connector  \nGithub repo: https://github.com/cloudacademy/dataproc-intro.git  \n```\ncd dataproc-intro\nexport GCLOUD_PROJECT=\u003cProject ID\u003e\npython natality.py\n```\n```\nMain python file: gs://ca-dataproc/natality-ml.py\nJar files: gs://hadoop-lib/bigquery/bigquery-connector-hadoop2-latest.jar\n```\n### Customization\n```\ngcloud compute ssh --zone=\u003czone\u003e \\\n--ssh-flag=\"-D 1080\" --ssh-flag=\"-N\" --ssh-flag=\"-n\" \u003cmaster node\u003e\n```\nProxy server: localhost:8088  \n\nCluster properties: https://cloud.google.com/dataproc/docs/concepts/cluster-properties  \nInitialization actions: https://github.com/GoogleCloudPlatform/dataproc-initialization-actions  \n\n### Conclusion\nCloud Dataproc documentation: https://cloud.google.com/dataproc/docs  \nCloud Academy community forums: http://cloudacademy.com/community  \nSupport: support@cloudacademy.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fdataproc-intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudacademy%2Fdataproc-intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fdataproc-intro/lists"}