Cloud Dataproc Anaconda Component

You can install additional components when you create a Dataproc cluster using the Optional Components feature. This page describes the Anaconda component.

The Anaconda component is a Python distribution and Package Manager with over 1000 popular data science packages. The component is installed on all cluster nodes in /opt/conda/anaconda, and becomes the default Python interpreter.

Install the component

Install the component when you create a Dataproc cluster. Components can be added to clusters created with Dataproc version 1.3 and later.

See Supported Cloud Dataproc versions for the component version included in each Dataproc image release.

gcloud command

To create a Dataproc cluster that includes the Anaconda component, use the gcloud dataproc clusters create cluster-name command with the --optional-components flag (using image version 1.3 or later).

gcloud dataproc clusters create cluster-name \
    --optional-components=ANACONDA \
    --image-version=1.3 \
  ... other flags

REST API

The Anaconda component can be specified through the Dataproc API using SoftwareConfig.Component as part of a clusters.create request.

Console

In the Cloud Console, open the Dataproc Create a cluster page. Click "Advanced options" at the bottom of the page to view the Optional Components section.

Click "Select component" to open the Optional components selection panel. Select one or more components to install on your cluster.

¿Te sirvió esta página? Envíanos tu opinión:

Enviar comentarios sobre…

Cloud Dataproc Documentation
¿Necesitas ayuda? Visita nuestra página de asistencia.