CDS 3.3 Powered by Apache Spark Requirements

The following sections describe software requirements for CDS 3.3 Powered by Apache Spark.

CDP Versions

Supported versions of CDP are described below.

CDS Powered by Apache Spark Version Supported CDP Versions
3.3.2.3.3.7191000.0-78 CDP Private Cloud Base with Cloudera Runtime 7.1.9

A Spark 2 service (included in CDP) can co-exist on the same cluster as Spark 3 (installed as a separate parcel). The two services are configured to not conflict, and both run on the same YARN service. Spark 3 installs and uses its own external shuffle service.

Although Spark 2 and Spark 3 can coexist in the same CDP Private Cloud Base cluster, you cannot use multiple Spark 3 versions simultaneously. All clusters managed by the same Cloudera Manager Server must use exactly the same version of CDS Powered by Apache Spark.

Compatibility of Oozie Spark 3 actions with Cloudera Runtime versions

Oozie Spark 3 actions load libraries from both the CDP cluster and the CDS parcel. Cloudera Runtime 7.1.9 SP1 CHF11 updated the Apache Parquet parquet-column library. If only one of the two includes this update, for example when your cluster runs 7.1.9 SP1 CHF11 or later but the CDS parcel was built on 7.1.9 SP1 CHF10 or earlier, an Oozie Spark 3 action that writes to a Hive table in Parquet format can fail intermittently with the following error:

java.lang.NoSuchMethodError: 'org.apache.parquet.column.ParquetProperties$Builder org.apache.parquet.column.ParquetProperties$Builder.withStatisticsTruncateLength(int)'

Whether the error occurs depends on the order in which the classes are loaded. Spark 3 jobs that you submit directly with spark3-submit are not affected.

To avoid the error, use a CDS parcel that is compatible with the Cloudera Runtime version of your cluster:

Table 1. Compatible CDS parcels for Oozie Spark 3 actions
Cloudera Runtime version of the cluster Compatible CDS parcels
7.1.9 SP1 CHF10 and earlier CDS 3.3 CHF16 for 7.1.9 and earlier, or the initial CDS 3.5 release for 7.1.9
7.1.9 SP1 CHF11 and later CDS 3.3 CHF17 for 7.1.9 and later, or CDS 3.5 CHF1 for 7.1.9 and later
7.1.9 SP2, including any cumulative hotfix CDS 3.3 or CDS 3.5 parcels built for 7.1.9 SP2

The release notes of each CDS cumulative hotfix list the Cloudera Runtime version that the hotfix was built on. For other compatibility requirements of Oozie Spark 3 actions on Cloudera Runtime 7.1.9 SP2, see Compatibility between Cloudera Runtime and CDS in the Oozie documentation.

Software requirements

Each cluster host must have the following software installed:

Java
JDK 8, JDK 11 or JDK 17. Cloudera recommends using JDK 8, as most testing has been done with JDK 8. Remove other JDK versions from all cluster and gateway hosts to ensure proper operation.
Python
Python 3.7 - 3.10
Refer to Installing Python 3 for information on installing a supported Python version on operating systems that may have a lower version installed by default.

Each cluster host with a GPU must have the following software installed:

Java
JDK 8, JDK 11 or JDK 17. Cloudera recommends using JDK 8, as most testing has been done with JDK 8. Remove other JDK versions from all cluster and gateway hosts to ensure proper operation.
Python
Python 3.7 - 3.10
Refer to Installing Python 3 for information on installing a supported Python version on operating systems that may have a lower version installed by default.
GPU drivers and CUDA toolkit

GPU driver v450.80.02 or higher

CUDA version 11.0 or higher

Download and install the CUDA Toolkit for your operating system. The toolkit installer also provides the option to install the GPU driver.

NVIDIA Library
NVIDIA RAPIDS version 23.06.0. For more information, see NVIDIA Release Notes
UCX (Optional)

Clusters with Infiniband or RoCE networking can leverage Unified Communication X (UCX) to enable the RAPIDS Shuffle Manager. For information on UCX native libraries support, see (Optional) Installing UCX native libraries.

Hardware requirements

CDS 3.3 Powered by Apache Spark has no specific hardware requirements on top of what is required for Cloudera Runtime deployments.

CDS 3.3 with GPU Support requires cluster hosts with NVIDIA Pascal™or better GPUs, with a compute capability rating of 6.0 or higher.

For more information, see Getting Started at the RAPIDS website.

Cloudera and NVIDIA recommend using NVIDIA-certified systems. For more information, see NVIDIA-Certified Systems in the NVIDIA GPU Cloud documentation.