You can install additional components when you create a Cloud Dataproc cluster using the Optional Components feature. This page describes the Presto component.
component is an open source distributed SQL query engine. The Presto server and
Web UI are available on port
8060 (or port
7778 if Kerberos is enabled) on
the cluster's first master node. The Presto CLI (Command Line Interface) can be
invoked with the
presto command from a terminal window on the cluster's first
Install the component
Install the component when you create a Cloud Dataproc cluster. Components can be added to clusters created with Cloud Dataproc version 1.3 and later.
See Supported Cloud Dataproc versions for the component version included in each Cloud Dataproc image release.
To create a Cloud Dataproc cluster that includes the Presto component,
gcloud beta dataproc clusters create cluster-name
command with the
--optional-components flag (using image version
1.3 or later).
gcloud beta dataproc clusters create cluster-name \ --optional-components=PRESTO \ --image-version=1.3 \ ... other flags
REST APIThe Presto component can be specified through the Cloud Dataproc API using SoftwareConfig.Component as part of a clusters.create request.
- Enable the component.
- In the GCP Console, open the Cloud 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 "Presto" and other optional components to install on your cluster.