Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1fec8e1

Browse files
authored
Create Machine Learning with Spark on Google Cloud Dataproc
1 parent e4b7759 commit 1fec8e1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
gcloud compute ssh "startup-vm" --project $DEVSHELL_PROJECT_ID
2+
3+
git clone https://github.com/GoogleCloudPlatform/data-science-on-gcp/
4+
cd ~/data-science-on-gcp/06_dataproc
5+
export PROJECT_ID=$(gcloud info --format='value(config.project)')
6+
export BUCKET_NAME=$PROJECT_ID-dsongcp
7+
./create_cluster.sh $BUCKET_NAME us-west1
8+
9+
exit
10+
11+
curl -LJO https://github.com/CodingWithHardik/Level-2-Data-Deep-Dive/raw/master/files/CodingWithHardik-GSP271.txt
12+
mv CodingWithHardik-GSP271.txt CodingWithHardik-GSP271.ipynb
13+
gsutil cp CodingWithHardik-GSP271.ipynb gs://dataproc-staging*/notebooks/jupyter

0 commit comments

Comments
 (0)