Creating Virtual Clusters

In Cloudera Data Engineering, a Virtual Cluster is an individual auto-scaling cluster with defined CPU and memory ranges. These Virtual Clusters are linked to a specific Cloudera Data Engineering Service. You can create any number of Virtual Clusters, which allows you to execute jobs and other artifacts.

  1. In the Cloudera Data Engineering UI, in the left navigation menu, click Administration.
  2. On the Virtual Clusters tab, click Create Virtual Cluster to create a new virtual cluster.
  3. Enter a Name.
    Names must include the following:
    • Begin with a letter
    • Be between 3 and 30 characters (inclusive)
    • Contain only alphanumeric characters and hyphens
  4. Select the Cloudera Data Engineering Service to create the Virtual Cluster in.
    The environment you selected before launching the wizard is selected by default, but you can use the wizard to create a virtual cluster in a different Cloudera Data Engineering service.
  5. Select the Spark Version to use in the virtual cluster. While you can have virtual clusters with different Spark 3/Spark 4 versions, a single virtual cluster can only use one Spark version.

    For more information, see Compatibility for Cloudera Data Engineering and Cloudera Runtime components.

  6. In Resource Capacity, specify the maximum number of CPU cores, GPU, and Memory in gigabytes to configure elastic quota. The cluster can use resources up to the maximum set capacity to run the submitted Spark applications.

    To accelerate Spark workloads with GPUs, Nvidia Spark RAPIDs is supported with Apache Spark version 4. The maximum number of GPUs that you can select matches the number of GPU workers you configured on the Cloudera Data Engineering Deployment form on the Anywhere Cloud Marketplace. For more information, see Accelerating Spark Workloads with GPUs in Cloudera Data Engineering.

  7. Set the Default Session Timeout in the Sessions Settings section.
  8. Set the Spark Configurations that apply to all jobs on this Virtual Cluster.
  9. Click Create. This process takes 5 to 10 minutes approximately. Monitor the progress by checking the logs and refreshing them every five minutes. You can view logs for the Virtual Cluster by clicking on the vertical ellipsis (three dots) menu, and then clicking the Logs tab.
The Cloudera Data Engineering Virtual Cluster is created.