Cluster management
Under
- View a list of clusters.
- Create a Trino cluster.
- Create an Apache Spark™ cluster.
- View cluster details.
- Update cluster settings.
- Stop and restart a cluster.
- Go to REST catalogs and connections.
For information on how to set up environments, see Managing environments. For information on how to create an Apache Airflow™ cluster, see Managing pipelines.
Getting started
Set up an environment and collection where you plan to deploy your cluster. Make sure you have the required permissions to create objects in the collection.
If your Trino cluster will use tables in a REST catalog, create the REST catalog in advance.
Viewing a list of clusters
In the left-hand panel, open the
To find a cluster, enter its name or ID in the Name or ID field. Use the Type, Environment, and Status filters to narrow down the list. To open a cluster’s page, click its name.
Creating a Trino cluster
-
In the
Clusters section, open the Clusters tab, click Create, and select Trino. -
Under General settings, specify the following settings:
- Name: Cluster name.
- Description (optional): Brief explanation of the cluster’s purpose.
- Environment: Environment to create the cluster in. The cluster and the REST catalogs it uses must reside in the same cloud and environment. If you do not have the appropriate environment, click Create to set up a new one.
- REST catalogs: REST catalogs your cluster will use.
-
Under Cluster resource configuration, configure the cluster computing resources:
- Worker size: Number of vCPUs and amount of RAM allocated to each worker.
- Worker count: Minimum and maximum number of workers. The cluster will automatically adjust the number of workers within the specified limits based on the workload.
-
Under Other settings, configure the following settings:
- Write logs: Enable this option to write cluster logs.
-
Click Create cluster.
-
In the Select where to create the cluster window, select a collection and click Create.
-
Wait for the cluster creation to complete. The status will change from Creating to Active on the cluster page.
Creating an Apache Spark™ cluster
-
In the
Clusters section, open the Clusters tab, click Create, and select Apache Spark™. -
Under General settings, specify the following settings:
- Name: Cluster name.
- Description (optional): Brief explanation of the cluster’s purpose.
- Environment: Environment to create the cluster in. The cluster and the REST catalogs it uses must reside in the same cloud and environment. If you do not have the appropriate environment, click Create to set up a new one.
-
Under Cluster resource configuration, configure the cluster computing resources:
- Executor size: Number of vCPUs and amount of RAM allocated to each executor.
- Executor count: Minimum and maximum number of executors.
- Driver size: Number of vCPUs and amount of RAM allocated to each driver.
- Driver count: Minimum and maximum number of drivers.
-
Under Cluster parameters, specify additional Python packages in the Pip packages field as needed. List package names separated by spaces.
-
Under Other settings, enable Write logs if you want to have cluster logs written.
-
Click Create cluster.
-
In the Select where to create the cluster window, select a collection and click Create.
-
Wait until the cluster status changes to Active.
Viewing cluster details
To view cluster details, navigate to the
The Clusters tab displays the following information:
- For Trino: Number of coordinators and active workers, and the maximum resource size.
- For Apache Spark™: Number of drivers and active executors, and the maximum resource size.
- In the About cluster section: Cluster ID, environment, and engine version.
To open the engine’s web UI, go to the About cluster section and click Go in the Web UI row.
Updating cluster settings
-
In the
Clusters section, open the Clusters tab and select the cluster. -
Go to the Settings tab.
-
Change the cluster’s computing resource size and scaling limits.
-
Under Other settings, update the logging settings.
-
Click Save changes.
Stopping and restarting a cluster
Warning
Stopping the cluster interrupts running queries and prevents new queries from being accepted. This may affect users and tasks that use the cluster.
To stop a cluster:
- In the
Clusters section, open the Clusters tab and select the cluster. - In the top-right corner, click Stop.
- In the confirmation window, click Stop cluster.
- Wait for the Stopping status to change to Stopped.
To restart a stopped cluster, open its page and click Start in the top-right corner. Wait until the cluster status changes to Active before running queries and tasks.
REST catalogs and connections
The Trino cluster page displays the following tabs:
- REST catalogs: List of catalogs used by the cluster. To start working with a catalog, click its name.
- Connections: List of cluster connections. To open a connection, click its name.
To search the lists, use the Name field. To create an object, click Create on the relevant tab.