Last active
October 7, 2016 04:29
-
-
Save waichee/df0f91c07905b5858f41e55fcb86801e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some Google CLI commands to setup dataproc and Big Query etc | |
cluster_name="cluster-1" | |
# create dataproc cluster with Jupyterhub https://cloud.google.com/dataproc/docs/tutorials/jupyter-notebook | |
gcloud compute ssh --zone="us-central1-c" \ | |
--ssh-flag="-D" --ssh-flag="10000" --ssh-flag="-N" "${cluster_name}-m" \ | |
--initialization-actions \ | |
gs://dataproc-initialization-actions/jupyter/jupyter.sh | |
# Proxy and access UI of cluster https://cloud.google.com/dataproc/docs/concepts/cluster-web-interfaces | |
# Query from BQ as External table https://cloud.google.com/bigquery/federated-data-sources#auto-detect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment