felixcheung / dataproc-initialization-actions

Run in all nodes of your cluster before the cluster starts - let's you customize your cluster

Home Page:https://cloud.google.com/dataproc/init-actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dataproc Initialization Actions

When creating a Google Cloud Dataproc cluster, you can specify initialization actions in executables and/or scripts that Cloud Dataproc will run on all nodes in your Cloud Dataproc cluster immediately after the cluster is set up.

How are initialization actions used?

Initialization actions are stored in a Google Cloud Storage bucket and can be passed as a paramater to the gcloud command or the clusters.create API when creating a Dataproc cluster. For example, to specify an initialization action when creating a cluster with the gcloud command, you can run:

gcloud beta dataproc clusters create CLUSTER-NAME
[--initialization-actions [GCS_URI,...]]
[--initialization-action-timeout TIMEOUT]

Why these samples are provided

These samples are provided to show how various packages and components can be installed on Cloud Dataproc clusters. You should understand how these samples work before running them on your clusters. The initialization actions provided in this repository are provided without support and you use them at your own risk.

Actions provided

This repository presently offers the following actions for use with Cloud Dataproc clusters.

For more information

For more information, review the Dataproc documentation. You can also pose questions to the Stack Overflow comminity with the tag google-cloud-dataproc. See our other Google Cloud Platform github repos for sample applications and scaffolding for other frameworks and use cases.

Contributing changes

Licensing

About

Run in all nodes of your cluster before the cluster starts - let's you customize your cluster

https://cloud.google.com/dataproc/init-actions

License:Apache License 2.0


Languages

Language:Shell 100.0%